[GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

Hello,

I use Tomcat 6 and Geonetwok 2.4.2. I had problem with creating coverages service in GN Geoserver (which I also asked at the respective mailing list). I googled this and assumed that it requires a patch, or an upgrade to newer version.

Referring to previous thread, [GeoNetwork-devel] Is it possible to upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2 by Mark Parnell and Sarah Schuessler. Has anyone really tried and succeed at this? I’ve tried merging geoserver dir at tomcat/webapps wit the new .war file from Geoserver, but it doesn’t work. It doesn’t even load the page.

Any hints would be greatly appreciated. Thanks!

Hi,

just few questions:
Did you see Geoserver 2 starting? Are you able to access it via tomcat/localhost?
Did you change your path to new geoserver at some .xml files?
Did you get any errors at logs?

best regards
Sarah


Von: theresia freska frezzz_54@anonymised.com
An: geonetwork-devel@lists.sourceforge.net
Gesendet: Dienstag, den 26. Januar 2010, 11:07:21 Uhr
Betreff: [GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

Hello,

I use Tomcat 6 and Geonetwok 2.4.2. I had problem with creating coverages service in GN Geoserver (which I also asked at the respective mailing list). I googled this and assumed that it requires a patch, or an upgrade to newer version.

Referring to previous thread, [GeoNetwork-devel] Is it possible to upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2 by Mark Parnell and Sarah Schuessler. Has anyone really tried and succeed at this? I’ve tried merging geoserver dir at tomcat/webapps wit the new .war file from Geoserver, but it doesn’t work. It doesn’t even load the page.

Any hints would be greatly appreciated. Thanks!


Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com

Hello,

No, I can’t access Geoserver via either tomcat or localhost.

I didn’t change any path to new geoserver because I simply copy paste the files located in the same folder from new geoserver. And I just found out that web.xml at both apps have different content, at least in GEOSERVER_DATA_DIR section. But it didn’t change anything though. I got HTTP 404: The requested resource () is not available.

Here is the error log (which leads me to think that I can’t just copy paste)

2010-01-26 12:33:28,359 WARN [geotools.factory] - Can’t load a service for category “MathTransformProvider”. Cause is “MissingResourceException: Can’t find resource for bundle org.geotools.resources.i18n.Vocabulary, key 250”.
2010-01-26 12:33:28,375 WARN [support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name ‘geoServerLoader’: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name ‘wcsLoader’: Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
2010-01-26 12:33:28,390 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘applicationState’ defined in URL [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/classes/applicationContext.xml]: Cannot resolve reference to bean ‘data’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘data’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘geoServer2’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘geoServer2’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
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.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
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.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘data’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘geoServer2’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘geoServer2’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
… 44 more

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘geoServer2’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
… 59 more

Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.misc.Service$LazyIterator.next(Unknown Source)
at org.geotools.factory.FactoryRegistry.register(FactoryRegistry.java:829)
at org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:773)
at org.geotools.factory.FactoryRegistry.scanForPluginsIfNeeded(FactoryRegistry.java:808)
at org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:195)
at org.geotools.referencing.operation.DefaultMathTransformFactory.getProvider(DefaultMathTransformFactory.java:281)
at org.geotools.referencing.operation.DefaultMathTransformFactory.getDefaultParameters(DefaultMathTransformFactory.java:315)
at org.geotools.referencing.wkt.Parser.parseProjection(Parser.java:584)
at org.geotools.referencing.wkt.Parser.parseProjCS(Parser.java:888)
at org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Parser.java:222)
at org.geotools.referencing.wkt.Parser.parseCoordinateReferenceSystem(Parser.java:201)
at org.geotools.referencing.factory.ReferencingObjectFactory.createFromWKT(ReferencingObjectFactory.java:1088)
at org.geotools.referencing.CRS.parseWKT(CRS.java:435)
at org.geoserver.catalog.util.LegacyCatalogImporter.readCoverage(LegacyCatalogImporter.java:659)
at org.geoserver.catalog.util.LegacyCatalogImporter.imprt(LegacyCatalogImporter.java:248)
at org.geoserver.config.GeoServerLoader.initialize(GeoServerLoader.java:119)
at org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:81)
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)
… 68 more

Caused by: java.util.MissingResourceException: Can’t find resource for bundle org.geotools.resources.i18n.Vocabulary, key 250
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getString(Unknown Source)
at org.geotools.util.ResourceInternationalString.toString(ResourceInternationalString.java:100)
at org.geotools.referencing.NamedIdentifier.(NamedIdentifier.java:193)
at org.geotools.referencing.operation.projection.EquidistantConic$Provider.(EquidistantConic.java:266)
… 90 more


From: Sarah Schuessler sarah_flip@anonymised.com
To: theresia freska frezzz_54@anonymised.com; geonetwork-devel@anonymised.comorge.net
Sent: Tue, January 26, 2010 11:29:09 AM
Subject: AW: [GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

Hi,

just few questions:
Did you see Geoserver 2 starting? Are you able to access it via tomcat/localhost?
Did you change your path to new geoserver at some .xml files?
Did you get any errors at logs?

best regards
Sarah


Von: theresia freska frezzz_54@anonymised.com
An: geonetwork-devel@lists.sourceforge.net
Gesendet: Dienstag, den 26. Januar 2010, 11:07:21 Uhr
Betreff: [GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

Hello,

I use Tomcat 6 and Geonetwok 2.4.2. I had problem with creating coverages service in GN Geoserver (which I also asked at the respective mailing list). I googled this and assumed that it requires a patch, or an upgrade to newer version.

Referring to previous thread, [GeoNetwork-devel] Is it possible to upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2 by Mark Parnell and Sarah Schuessler. Has anyone really tried and succeed at this? I’ve tried merging geoserver dir at tomcat/webapps wit the new .war file from Geoserver, but it doesn’t work. It doesn’t even load the page.

Any hints would be greatly appreciated. Thanks!


Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com

I would say that you have to change your GEOSERVER_DATA_DIR- do not mix it because your data may break. Did you read the documentation site for data structure at geoserver?
Did you set context for your Geoserver 2 at server.xml?

best regards
Sarah


Hello,

No, I can’t access Geoserver via either tomcat or localhost.

I didn’t change any path to new geoserver because I simply copy paste the files located in the same folder from new geoserver. And I just found out that web.xml at both apps have different content, at least in GEOSERVER_DATA_DIR section. But it didn’t change anything though. I got HTTP 404: The requested resource () is not available.

Here is the error log (which leads me to think that I can’t just copy paste)

2010-01-26 12:33:28,359 WARN [geotools.factory] - Can’t load a service for category “MathTransformProvider”. Cause is “MissingResourceException: Can’t find resource for bundle org.geotools.resources.i18n.Vocabulary, key 250”.
2010-01-26 12:33:28,375 WARN [support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name ‘geoServerLoader’: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name ‘wcsLoader’: Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
2010-01-26 12:33:28,390 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘applicationState’ defined in URL [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/classes/applicationContext.xml]: Cannot resolve reference to bean ‘data’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘data’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘geoServer2’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘geoServer2’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor


From: Sarah Schuessler sarah_flip@anonymised.com
To: theresia freska frezzz_54@anonymised.com; geonetwork-devel@anonymised.comrceforge.net
Sent: Tue, January 26, 2010 11:29:09 AM
Subject: AW: [GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

Hi,

just few questions:
Did you see Geoserver 2 starting? Are you able to access it via tomcat/localhost?
Did you change your path to new geoserver at some .xml files?
Did you get any errors at logs?

best regards
Sarah


Von: theresia freska frezzz_54@anonymised.com
An: geonetwork-devel@lists.sourceforge.net
Gesendet: Dienstag, den 26. Januar 2010, 11:07:21 Uhr
Betreff: [GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

Hello,

I use Tomcat 6 and Geonetwok 2.4.2. I had problem with creating coverages service in GN Geoserver (which I also asked at the respective mailing list). I googled this and assumed that it requires a patch, or an upgrade to newer version.

Referring to previous thread, [GeoNetwork-devel] Is it possible to upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2 by Mark Parnell and Sarah Schuessler. Has anyone really tried and succeed at this? I’ve tried merging geoserver dir at tomcat/webapps wit the new .war file from Geoserver, but it doesn’t work. It doesn’t even load the page.

Any hints would be greatly appreciated. Thanks!


Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com


Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com

Yes, I’ve already uncommented that section.

I didn’t set the context for either GN or geoserver previously and they worked fine. So, it should not be a problem. But for the sake of debugging, I now set it up like this:

I read the documentation and I don’t think it has something to do with the data structure. Not much differences. However, after comparing some conf files, I think it’s better not to replace them with the same files from new geoserver. In the end, I just replace the data folder and all classes at classes/org/geoserver. Still, I got HTTP 404. I don’t change any of the conf files (struts-config.xml and all), so tomcat should find “the requested resource”.

Have you (or has anyone) successfully done this?

-freska-


From: Sarah Schuessler sarah_flip@anonymised.com
To: theresia freska <frezzz_54@anonymised.com…>; geonetwork-devel@lists.sourceforge.net
Sent: Tue, January 26, 2010 1:01:59 PM
Subject: AW: AW: [GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

I would say that you have to change your GEOSERVER_DATA_DIR- do not mix it because your data may break. Did you read the documentation site for data structure at geoserver?
Did you set context for your Geoserver 2 at server.xml?

best regards
Sarah


Hello,

No, I can’t access Geoserver via either tomcat or localhost.

I didn’t change any path to new geoserver because I simply copy paste the files located in the same folder from new geoserver. And I just found out that web.xml at both apps have different content, at least in GEOSERVER_DATA_DIR section. But it didn’t change anything though. I got HTTP 404: The requested resource () is not available.

Here is the error log (which leads me to think that I can’t just copy paste)

2010-01-26 12:33:28,359 WARN [geotools.factory] - Can’t load a service for category “MathTransformProvider”. Cause is “MissingResourceException: Can’t find resource for bundle org.geotools.resources.i18n.Vocabulary, key 250”.
2010-01-26 12:33:28,375 WARN [support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name ‘geoServerLoader’: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name ‘wcsLoader’: Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
2010-01-26 12:33:28,390 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘applicationState’ defined in URL [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/classes/applicationContext.xml]: Cannot resolve reference to bean ‘data’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘data’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Cannot resolve reference to bean ‘geoServer2’ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘geoServer2’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/main-1.7.3.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor


From: Sarah Schuessler sarah_flip@anonymised.com
To: theresia freska frezzz_54@anonymised.com; geonetwork-devel@anonymised.comrceforge.net
Sent: Tue, January 26, 2010 11:29:09 AM
Subject: AW: [GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

Hi,

just few questions:
Did you see Geoserver 2 starting? Are you able to access it via tomcat/localhost?
Did you change your path to new geoserver at some .xml files?
Did you get any errors at logs?

best regards
Sarah


Von: theresia freska frezzz_54@anonymised.com
An: geonetwork-devel@lists.sourceforge.net
Gesendet: Dienstag, den 26. Januar 2010, 11:07:21 Uhr
Betreff: [GeoNetwork-devel] Any update - upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2

Hello,

I use Tomcat 6 and Geonetwok 2.4.2. I had problem with creating coverages service in GN Geoserver (which I also asked at the respective mailing list). I googled this and assumed that it requires a patch, or an upgrade to newer version.

Referring to previous thread, [GeoNetwork-devel] Is it possible to upgrade GeoServer from 1.7.3 to 2.0 in GeoNetwork 2.4.2 by Mark Parnell and Sarah Schuessler. Has anyone really tried and succeed at this? I’ve tried merging geoserver dir at tomcat/webapps wit the new .war file from Geoserver, but it doesn’t work. It doesn’t even load the page.

Any hints would be greatly appreciated. Thanks!


Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com/


Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com