Enabling a JMX Remote Lifecycle Listener in JIRA

Still need help?

The Atlassian Community is here for you.

Ask the community

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 VersionTomcat Version
    5.2.x7.0.29
    5.1.x6.0.36
    5.0.x6.0.32
    4.4.x6.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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.