Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12338

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: