Hi all

I installed OpenGeo Suite 3.0 community edition on Ubuntu 12.04 64-bit 
server, with GeoServer 2.2 snapshot. It was working fine until the IP 
address was changed. There are also frequent power cuts at this server 
location so there's also a chance something was corrupted during a 
write. Upon restart, geoserver gives a 404 and these are the offending 
parts of the logs.

2012-11-13 18:44:12,912 ERROR [geotools.jdbc] - There's code using JDBC 
based datastore and not disposing them. This may lead to temporary loss 
of database connections. Please make sure all data access code calls 
DataStore.dispose() before freeing all references to it
2012-11-13 18:44:12,969 INFO [jdbc.JDBCMBWrapper] - MetaStore database 
is version 120
2012-11-13 18:44:13,019 INFO [storage.StorageBroker] - Destroying 
StorageBroker
2012-11-13 18:44:14,178 WARN [support.DisposableBeanAdapter] - 
Invocation of destroy method failed on bean with name 'geoServerLoader': 
org.springframework.beans.factory.BeanCreationNotAllowedException: Error 
creating bean with name 'GWCLifeCycleHandler': 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!)
2012-11-13 18:44:14,179 ERROR [context.ContextLoader] - Context 
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'gwcFacade' defined in URL 
[jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/gwc-2.2-SNAPSHOT.jar!/applicationContext.xml]:
 
Cannot resolve reference to bean 'gwcTLDispatcher' while setting 
constructor argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'geoServer' defined in URL 
[jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/main-2.2-SNAPSHOT.jar!/applicationContext.xml]:
 
Initialization of bean failed; nested exception is 
java.lang.RuntimeException: 
com.thoughtworks.xstream.converters.ConversionException: No 
InvocationHandler specified for dynamic proxy
---- Debugging information ----
class               : org.geoserver.config.impl.SettingsInfoImpl
required-type       : 
com.thoughtworks.xstream.mapper.DynamicProxyMapper$DynamicProxy
line number         : 15
-------------------------------
     at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
     at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
     at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
     at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
     at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
     at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
     at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
     at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
     at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
     at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
     at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
     at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
     at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
     at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
     at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
     at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
     at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
     at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
     at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
     at 
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
     at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
     at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
     at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
     at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
     at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
     at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
     at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
     at 
org.apache.catalina.core.StandardService.start(StandardService.java:525)
     at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'geoServer' defined in URL 
[jar:file:/var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/main-2.2-SNAPSHOT.jar!/applicationContext.xml]:
 
Initialization of bean failed; nested exception is 
java.lang.RuntimeException: 
com.thoughtworks.xstream.converters.ConversionException: No 
InvocationHandler specified for dynamic proxy
---- Debugging information ----
class               : org.geoserver.config.impl.SettingsInfoImpl
required-type       : 
com.thoughtworks.xstream.mapper.DynamicProxyMapper$DynamicProxy
line number         : 15
-------------------------------
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
     at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
     at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
     at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
     at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
     at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)
     at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
     at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
     ... 42 more
Caused by: java.lang.RuntimeException: 
com.thoughtworks.xstream.converters.ConversionException: No 
InvocationHandler specified for dynamic proxy
---- Debugging information ----
class               : org.geoserver.config.impl.SettingsInfoImpl
required-type       : 
com.thoughtworks.xstream.mapper.DynamicProxyMapper$DynamicProxy
line number         : 15
-------------------------------
     at 
org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:137)
     at 
org.geoserver.config.GeoServerLoaderProxy.postProcessBeforeInitialization(GeoServerLoaderProxy.java:54)
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448)
     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
     ... 50 more
Caused by: com.thoughtworks.xstream.converters.ConversionException: No 
InvocationHandler specified for dynamic proxy
---- Debugging information ----
class               : org.geoserver.config.impl.SettingsInfoImpl
required-type       : 
com.thoughtworks.xstream.mapper.DynamicProxyMapper$DynamicProxy
line number         : 15
-------------------------------
     at 
com.thoughtworks.xstream.converters.extended.DynamicProxyConverter.unmarshal(DynamicProxyConverter.java:92)
     at 
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
     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.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.config.util.XStreamPersister.load(XStreamPersister.java:507)
     at 
org.geoserver.config.GeoServerLoader.depersist(GeoServerLoader.java:720)
     at 
org.geoserver.config.GeoServerLoader.readConfiguration(GeoServerLoader.java:615)
     at 
org.geoserver.config.DefaultGeoServerLoader.loadGeoServer(DefaultGeoServerLoader.java:68)
     at 
org.geoserver.config.GeoServerLoader.postProcessBeforeInitialization(GeoServerLoader.java:131)
     ... 54 more


there are a few store and style errors too but I'm not sure they're 
relevant.

Any clues? I'm tearing my hair out here. I've found some references to a 
similar dynamic proxy error being a bug. I'd appreciate any hints for a 
fix or should I just drop in a more recent war?

thanks

Gavin


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to