Unable to start Jira due to Java Error
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
Summary
Jira fails to start up and the following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2015-06-16 21:16:51,898 localhost-startStop-1 ERROR [atlassian.jira.startup.LauncherContextListener] Unable to start JIRA due to Java Error.
java.lang.NoSuchMethodError: com.atlassian.jira.component.ComponentAccessor.getComponentReference(Ljava/lang/Class;)Lcom/atlassian/jira/component/ComponentReference;
at com.atlassian.jira.startup.DatabaseLauncher.<init>(DatabaseLauncher.java:48)
at com.atlassian.jira.startup.DefaultJiraLauncher.<init>(DefaultJiraLauncher.java:63)
at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:71)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Diagnosis
Jira requires Oracle's Java Development Kit (JDK) or Java Runtime Environment (JRE) platform to run.
During the upgrade, the Jira Windows service is not recreated so that Jira will use the JAVA that is bundled in the installer.
This error occurs when Jira is running on an unsupported JDK version.
Change to a supported JDK version
Refer to Supported Platforms for details on the Java platform versions that Jira supports.
Change to a supported JDK version
Please refer to Installing Java for more details
Restart Jira
Check your System Information page via Jira Admin > System Information and see if Jira is running on a supported JAVA version.
If there are no changes, and if you are using Windows service to start and stop Jira, then the Windows service might need to be recreated.
Before deleting the Windows service, please copy out all the additional JVM arguments in the service.
Open CMD and run the following command to check what version the Jira is using:
1
tomcat7w //ES//<SERVICENAME>
Run the following command to delete the old Jira service:
1
sc delete <SERVICENAME>
Please make sure you
cd
to "JIRA Installation Directory\bin". Run the following command to create Jira service:1
service.bat install <SERVICENAME>
Please add all the additional JVM arguments from the deleted Windows Service to the new service.
Was this helpful?