Can't find the thread where I mentioned this. Perhaps it was not on email that I did. Problem is GeoserverInitStartupListener triggers a context lookup of LifeCycleHandlers at context shutdown, but not at startup, hence spring tries to create the beans when shutting down and the BeanCreationNotAllowedException is thrown. That said I haven't had time to try a fix, sigh.
On Wed, Sep 26, 2012 at 9:53 AM, Andrea Aime <[email protected]> wrote: > On shutdown of a GeoServer 2.2.0 I see an odd warning: > > g26 set 14:51:45 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!) > it status java.lang.NoSuchMethodError: > org.apache.commons.logging.LogFactory.release(Ljava/lang/ClassLoader;)V > at > org.geoserver.GeoserverInitStartupListener.contextDestroyed(GeoserverInitStartupListener.java:302) > at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:574) > at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:485) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:64) > at > org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:64) > at > org.mortbay.jetty.handler.HandlerCollection.doStop(HandlerCollection.java:169) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:64) > at org.mortbay.jetty.handler.HandlerWrapper.doStop(HandlerWrapper.java:142) > at org.mortbay.jetty.Server.doStop(Server.java:281) > at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:64) > at org.mortbay.jetty.Server$ShutdownHookThread.run(Server.java:559) > > Hmm... do we have a classpath problem? Maybe some dependency expecting a > newer version of commons logging? > > 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 > > ------------------------------------------------------- > > > ------------------------------------------------------------------------------ > 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-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
