When JIRA Jenkins Integration Plugin is running, JIRA will not shutdown.
This is a problem also seen with the JIRA Sonar Plugin.
The logs show:multiple errors:
After these entries, the logs start to show repeated:
...until such time as the JIRA process is manually killed.
Knowing that JIRA Sonar Plugin also has the same problem, the diagnosis is easy
With JJI running (but not JIRA Sonar), Stop JIRA. The process will not stop
Stop JIRA... things shut down smoothly/
1) The initial RunnableTimedExecution error has a reference here:
The money quote is...
This happens when singleton components in a plugin register themselves to be called on shutdown, usually via the DisposableBean, but when they are called, they take too long
2) The IllegalStateException error has a reference here:
This is happening because we are firing events to plugins that have had their OSGi context shutdown. Not sure if there is any user visible effects
In other words, the exception is an after-effect... a consequence of JIRA not having shut down properly.
JIRA v5.2 & JIRA v5.2.2
Java 1.6.0_25 (both JDK or JRE, & later versions as well)