Issue Type: Bug Bug
Affects Versions: 2.2-RC2
Assignee: Gabriel Roldán
Components: Configuration
Created: 04/Aug/12 1:01 PM
Description:

At shutdown GeoServerLoader calls registered GeoServerLifeCycleHandlers onDispose() method, but the life cycle handlers may have never been initialized, which produces the following warning (and is potentially dangerous).
Reason is that at least a reload happened before shutdown, the life cycle handlers were never accessed and hence not initialized by spring. Hence the attempt to instantiate them at shutdown fails as the error message bellow explains.

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!)
Project: GeoServer
Priority: Major Major
Reporter: Gabriel Roldán
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
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
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to