App enable timeout - Increase of plugins startup time

If after installation the App is not visible (it isn't on the header at the top of the page; it's also absent in the "manage apps" section of Jira) it is possible you need to increase the plugin timeout period. Jira must allow at least 300 seconds (preferably 600 seconds) for an installation.


Jira logs show a message in the following format:

Unable to start the following plugins due to timeout while waiting for plugin to enable: eu.softwareplant.bigpicture at at at$800( at$ at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL( at at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne( at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh( at at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at

As you can see below, the countdown starts with 60 - it should start with at least 300. Preferably 600. 

Plugins that have yet to be enabled: (1): [eu.softwareplant.bigpicture], 60 seconds remaining Plugins that have yet to be enabled: (1): [eu.softwareplant.bigpicture], 59 seconds remaining (...) Plugins that have yet to be enabled: (1): [eu.softwareplant.bigpicture], 0 seconds remaining


As the JIRA application starts up, it goes through the following steps when starting the Plugin System:

  1. $JIRA_INSTALL/atlassian-jira/WEB-INF/classes/ is extracted to $JIRA_HOME/plugins/.bundled-plugins.

  2. $JIRA_HOME/plugins/installed-plugins is extracted to $JIRA_HOME/plugins/.osgi-plugins.

This is a fairly resource-intensive process and can place a sizeable load on the I/O of the disk and CPU of the machine that is hosting the JIRA application instance. If the required resources aren't available, the plugins may timeout and cause the application to be left in an unusable state.

 This error can happen quite often on servers that only have a single-core vCPU available - JIRA applications are multi-threaded and there will be CPU contention on startup which can subsequently cause timeouts to occur.


It is possible to increase the plugin timeout period by adding the -Datlassian.plugins.enable.wait=600 argument to the JIRA application startup arguments, as in Setting Properties and Options on Startup.

 This will increase the time taken to start the JIRA application up, and it does address the symptom rather than the root cause. If the machine is not powerful enough to run the application, we would suggest looking at upgrading to a more powerful host.