Dear All,

I have configured the extension of ogr2ogr by the providing the path
and data path. ( XML file attached.) I have placed the ogr2ogr in
\GeoServer 2.1.3\data_dir.

I have attached the log file describing the error.
Appreciate your guidance in solving the problem.


-- 
Regards,
Srikanth K.
2012-05-21 18:02:51,861 ERROR [wfs.response] - Error reading the ogr2ogr.xml 
configuration file
com.thoughtworks.xstream.converters.ConversionException: Cannot construct 
org.geoserver.wfs.response.OgrFormat as it does not have a no-args constructor 
: Cannot construct org.geoserver.wfs.response.OgrFormat as it does not have a 
no-args constructor
---- Debugging information ----
message             : Cannot construct org.geoserver.wfs.response.OgrFormat as 
it does not have a no-args constructor
cause-exception     : 
com.thoughtworks.xstream.converters.reflection.ObjectAccessException
cause-message       : Cannot construct org.geoserver.wfs.response.OgrFormat as 
it does not have a no-args constructor
class               : org.geoserver.wfs.response.OgrConfiguration
required-type       : org.geoserver.wfs.response.OgrFormat
path                : /OgrConfiguration/formats/Format
line number         : 5
-------------------------------
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
        at 
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at 
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
        at 
com.thoughtworks.xstream.converters.collections.ArrayConverter.unmarshal(ArrayConverter.java:55)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at 
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at 
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)
        at 
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)
        at 
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        at 
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
        at 
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:861)
        at 
org.geoserver.wfs.response.Ogr2OgrConfigurator.loadConfiguration(Ogr2OgrConfigurator.java:57)
        at 
org.geoserver.wfs.response.Ogr2OgrConfigurator.access$000(Ogr2OgrConfigurator.java:29)
        at 
org.geoserver.wfs.response.Ogr2OgrConfigurator$ConfigurationPoller.run(Ogr2OgrConfigurator.java:109)
        at 
org.geoserver.wfs.response.Ogr2OgrConfigurator$ConfigurationPoller.<init>(Ogr2OgrConfigurator.java:102)
        at 
org.geoserver.wfs.response.Ogr2OgrConfigurator.<init>(Ogr2OgrConfigurator.java:44)
        at 
org.geoserver.wfs.response.Ogr2OgrConfigurator.<init>(Ogr2OgrConfigurator.java:48)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308)
        at 
org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:948)
        at 
org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:702)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:378)
        at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
        at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
        at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
        at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
        at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
        at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
        at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
        at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mortbay.start.Main.invokeMain(Main.java:183)
        at org.mortbay.start.Main.start(Main.java:497)
        at org.mortbay.start.Main.main(Main.java:115)
Caused by: 
com.thoughtworks.xstream.converters.reflection.ObjectAccessException: Cannot 
construct org.geoserver.wfs.response.OgrFormat as it does not have a no-args 
constructor
        at 
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:71)
        at 
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:308)
        at 
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:161)
        at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
        ... 74 more
2012-05-21 18:02:51,989 INFO [storage.DefaultStorageFinder] - 
**************************************************************************************************************************************************
2012-05-21 18:02:51,991 INFO [storage.DefaultStorageFinder] - *** Found Java 
environment variable GEOSERVER_DATA_DIR set to C:\Program Files (x86)\GeoServer 
2.1.3\data_dir, using it as the default prefix. ***
2012-05-21 18:02:51,992 INFO [storage.DefaultStorageFinder] - 
**************************************************************************************************************************************************
2012-05-21 18:02:55,558 INFO [jdbc.JDBCMBWrapper] - MetaStore database is 
version 120
2012-05-21 18:02:55,600 INFO [config.XMLConfiguration] - Will look for 
geowebcache.xml in 'C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc'
2012-05-21 18:02:55,609 INFO [config.XMLConfiguration] - Found configuration 
file in C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2012-05-21 18:02:55,721 INFO [config.XMLConfiguration] - Configuration file 
validated fine.
2012-05-21 18:02:55,745 INFO [config.XMLConfiguration] - Initializing GridSets 
from C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2012-05-21 18:02:55,745 INFO [config.XMLConfiguration] - Initializing layers 
from C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc
2012-05-21 18:02:55,746 INFO [layer.TileLayerDispatcher] - Configuration 
C:\Program Files (x86)\GeoServer 2.1.3\data_dir\gwc contained no layers.
2012-05-21 18:02:55,808 INFO [storage.EntityStoreBuilder] - Neither disk quota 
page store' cache memory percent nor cache size was provided. Defaulting to 25% 
Heap Size
2012-05-21 18:02:56,827 INFO [storage.BDBQuotaStore] - Berkeley DB JE Disk 
Quota page store configured at C:\Program Files (x86)\GeoServer 
2.1.3\data_dir\gwc\diskquota_page_store
2012-05-21 18:02:56,831 INFO [storage.BDBQuotaStore] - Quota Store initialized. 
Global quota: 0.0 B
2012-05-21 18:02:56,836 INFO [diskquota.ConfigLoader] - DiskQuota configuration 
not found: C:\Program Files (x86)\GeoServer 
2.1.3\data_dir\gwc\geowebcache-diskquota.xml
2012-05-21 18:02:56,842 INFO [diskquota.DiskQuotaMonitor] - Setting up disk 
quota periodic enforcement task
2012-05-21 18:02:56,844 INFO [diskquota.DiskQuotaMonitor] - 0 layers configured 
with their own quotas. 
2012-05-21 18:02:56,846 INFO [diskquota.DiskQuotaMonitor] - 28 layers attached 
to global quota 500.0 MB
2012-05-21 18:02:56,863 INFO [diskquota.DiskQuotaMonitor] - Disk quota periodic 
enforcement task set up every 10 SECONDS
2012-05-21 18:02:56,994 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked 
setServletPrefix(gwc)
2012-05-21 18:02:56,998 INFO [georss.GeoRSSPoller] - Initializing GeoRSS poller 
in a background job...
2012-05-21 18:02:57,003 INFO [georss.GeoRSSPoller] - No enabled GeoRSS feeds 
found, poller will not run.
2012-05-21 18:02:57,114 INFO [rest.RESTDispatcher] - Created RESTDispatcher 
with 9 paths
2012-05-21 18:02:57,150 INFO [wms.WMSService] - Will NOT recombine tiles for 
non-tiling clients.
2012-05-21 18:02:57,151 INFO [wms.WMSService] - Will proxy requests to backend 
that are not getmap or getcapabilities.
2012-05-21 18:02:57,192 INFO [org.geoserver] - GeoServer configuration lock is 
enabled
<OgrConfiguration>
  <ogr2ogrLocation>C:\cygwin\usr\local\bin\ogr2ogr</ogr2ogrLocation>
  <gdalData>C:\Users\home\Downloads\gdal_data173</gdalData>
  <formats>
  <Format>
      <ogrFormat>"MapInfo File"</ogrFormat>
      <formatName>OGR-MIF</formatName>
      <fileExtension>.mif</fileExtension>
      <option>-dsco</option>
      <option>FORMAT=MIF</option>
    </Format>
  </formats>
</OgrConfiguration>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to