If a service is attempted to be loaded that JIRA cannot find it loads the UnloadableJiraServiceContainer instead which interferes with shutdown

XMLWordPrintable

      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.

              Assignee:
              Lily Xia [Atlassian]
              Reporter:
              Jed Wesley-Smith (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: