Enabling a JMX Remote Lifecycle Listener in JIRA
Symptoms
JIRA fails to start after enabling a JMX Remote Lifecycle Listener in Tomcat.
The following appears in the catalina.out
:
org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.mbeans.JmxRemoteLifecycleListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
(...)
Cause
Tomcat is not recognizing the tomcat-catalina-jmx-remote.jar
file
Resolution
- Stop JIRA
Download the
tomcat-catalina-jmx-remote.jar
according to the Tomcat version you're running:JIRA Version Tomcat Version 5.2.x 7.0.29 5.1.x 6.0.36 5.0.x 6.0.32 4.4.x 6.0.32 - Save the file under $JIRA_INST/lib
Start JIRA and check if you're able to retrieve information via JMX.
Atlassian does not provide support for JMX-related questions, such as a client development or so.
Last modified on Apr 7, 2016
Powered by Confluence and Scroll Viewport.