Hi Andreaa,
it's a new installation of geoserver, so I wonder why tryies to load a file
used by GS 1.7; really strange.


On Wed, Jan 16, 2013 at 3:50 PM, Andrea Aime
<andrea.a...@geo-solutions.it>wrote:

> On Wed, Jan 16, 2013 at 3:01 PM, Gianni Barrotta <giannibarro...@gmail.com
> > wrote:
>
>> Hi,
>> today I've tryied to deploy the 2.2.3 version of geoserver war in a
>> tomcat (v.6.0.38) and WIN 2003; geoserver does not start and the log shows
>> an error loading a catalog.xml file.
>> Attached the catalina log file; any idea?
>>
>
> Really weird, the error message refers to a catalog.xml file, but we don't
> have one in the data dir (as in, it's not part
> of the normal set of files in the root of the data dir).
>
> ----------------------------------
> - GEOSERVER_DATA_DIR: C:\opt\apache-tomcat-6.0.36\webapps\geoserver\data
> ----------------------------------
> 16 gen 13:18:10 WARN [support.DisposableBeanAdapter] - Invocation of
> destroy method failed on bean with name 'geoServerLoader':
> java.lang.NullPointerException
> 16 gen 13:18:10 ERROR [context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'wmsLifecycleHandler' defined in URL
> [jar:file:/C:/opt/apache-tomcat-6.0.36/webapps/geoserver/WEB-INF/lib/wms-2.1.3.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'wms' while setting constructor argument;
> nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'wms' defined in URL
> [jar:file:/C:/opt/apache-tomcat-6.0.36/webapps/geoserver/WEB-INF/lib/wms-2.1.3.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'geoServer' while setting constructor
> argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'geoServer' defined in URL
> [jar:file:/C:/opt/apache-tomcat-6.0.36/webapps/geoserver/WEB-INF/lib/main-2.1.3.jar!/applicationContext.xml]:
> Cannot resolve reference to bean 'catalog' while setting bean property
> 'catalog'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'accessRulesDao' defined in URL
> [jar:file:/C:/opt/apache-tomcat-6.0.36/webapps/geoserver/WEB-INF/lib/main-2.1.3.jar!/applicationSecurityContext.xml]:
> Cannot resolve reference to bean 'rawCatalog' while setting constructor
> argument; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'rawCatalog' defined in URL
> [jar:file:/C:/opt/apache-tomcat-6.0.36/webapps/geoserver/WEB-INF/lib/main-2.1.3.jar!/applicationContext.xml]:
> Initialization of bean failed; nested exception is
> java.lang.RuntimeException: java.io.FileNotFoundException: Could not find
> catalog.xml under:C:\opt\apache-tomcat-6.0.36\webapps\geoserver\data
>
>
> and later:
>
> Caused by: java.lang.RuntimeException: java.io.FileNotFoundException:
> Could not find catalog.xml
> under:C:\opt\apache-tomcat-6.0.36\webapps\geoserver\data
>  at
> org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:122)
> at
> org.geoserver.config.GeoServerLoaderProxy.postProcessBeforeInitialization(GeoServerLoaderProxy.java:54)
>  at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)
>  at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1330)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>  ... 101 more
> Caused by: java.io.FileNotFoundException: Could not find catalog.xml
> under:C:\opt\apache-tomcat-6.0.36\webapps\geoserver\data
>  at
> org.geoserver.catalog.util.LegacyCatalogImporter.imprt(LegacyCatalogImporter.java:129)
> at
> org.geoserver.config.GeoServerLoader.readLegacyCatalog(GeoServerLoader.java:553)
>  at
> org.geoserver.config.GeoServerLoader.readCatalog(GeoServerLoader.java:225)
> at
> org.geoserver.config.DefaultGeoServerLoader.loadCatalog(DefaultGeoServerLoader.java:42)
>  at
> org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:116)
> ... 105 more
>
> Hum... it seems GeoServer thinks the data dir included in the war is a old
> style one (1.7.x series), and it's trying
> to upgrade it, but failing to do so.
>
> Maybe this rings a bell to someone else?
>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to