JIRA WAR install does not start with error "Running JIRA from a packed WAR is not supported"
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When JIRA is started, it becomes locked due to a fatal error during bootstrapping.
The following appears in the atlassian-jira.log
:
1
2
3
4
5
2013-12-11 16:11:19,502 localhost-startStop-1 FATAL [atlassian.jira.startup.BootstrapContainerLauncher] A fatal error occurred during bootstrapping. JIRA has been locked.
java.lang.IllegalStateException: Running JIRA from a packed WAR is not supported. Configure your Servlet container to unpack the WAR before running it. (Cannot resolve real path for '/WEB-INF/atlassian-bundled-plugins')
at com.atlassian.jira.plugin.PluginFactoryAndLoaderRegistrar.getBundledPluginsLoader(PluginFactoryAndLoaderRegistrar.java:139)
at com.atlassian.jira.plugin.BootstrapPluginLoaderFactory.getPluginLoaders(BootstrapPluginLoaderFactory.java:68)
at com.atlassian.jira.plugin.JiraPluginManager.<init>(JiraPluginManager.java:67)
Cause
JIRA does not support running from a packed WAR. This will be caused by a setting similar to the below example in Tomcat's server.xml:
1
<Host name="localhost" appBase="webapps" unpackWARs="false" autoDeploy="true">
Resolution
You should set "unpackWARs=true" in server.xml, for example:
1
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
ℹ️ The "Host" element may have exactly the same attributes as above, the important thing is that "unpackWARs" must be set to "true".
Was this helpful?