[Geoserver-devel] [jira] (GEOS-6468) GWC's GeoServerLifecycleHandler fails to be created and causes datastores not to be disposed

Gabriel Roldan created an issue

GeoServer / BugGEOS-6468

GWC’s GeoServerLifecycleHandler fails to be created and causes datastores not to be disposed

Issue Type:

BugBug

Affects Versions:

2.4.6

Assignee:

Gabriel Roldan

Components:

GWC

Created:

01/May/14 1:26 AM

Priority:

CriticalCritical

Reporter:

Gabriel Roldan

GWCLifeCycleHandler (a GeoServerLifecycleHandler) is not created during the lifecycle of the application if the geoserver configuration was not reloaded (which is when geoserver calls its life cycle listeners), but its instantiation is attempted at application’s shutdown instead.

The instantiation fails because the listener expects and instance of the GWC mediator class to be passed to its constructor, but Spring complains that it can’t provide such instance during shutdown.

The net effect is that geoserver can’t continue with the normal shutdown process, and no DataStores cached by ResourceLoader gets disposed.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo