-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: None
-
Component/s: Infrastructure & Services - Application Lifecycle
-
None
The following stacktrace is thrown when shutting down Tomcat:
java.lang.UnsupportedOperationException: This method is not supported in an UnloadableJiraServiceContainer
at com.atlassian.jira.service.UnloadableJiraServiceContainer.destroy(UnloadableJiraServiceContainer.java:94)
at com.atlassian.jira.upgrade.ConsistencyCheckImpl.destroy(ConsistencyCheckImpl.java:77)
at com.atlassian.jira.upgrade.ConsistencyLauncher.contextDestroyed(ConsistencyLauncher.java:46)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3804)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4352)
We should not throw the exception from the UnloadableJiraServiceContainer and we should catch RuntimeException in ConsistencyCheckImpl.destroy() and continue.