[Geoserver-devel] [jira] (GEOS-6313) Lifecycle handlers not properly called during shutdown

Andrea Aime created BugGEOS-6313
Lifecycle handlers not properly called during shutdown

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

24/Jan/14 5:30 AM

Description:

Spring logs:

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!)

This results in some/all of the lifecycle handlers not to be called. We should get the list of the handlers beforehand, not look it up dynamically from the sping context as it is shutting down

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Andrea Aime

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](http://www.atlassian.com/software/jira)