MBeans not listed in JConsole

Andreas Wurm Community Champion Jan 19, 2018

I've enabled the JMX Monitoring on our JIRA instance.

However, when monitoring the PID of JIRA with JConsole the MBeans documented on Live monitoring using the JMX interface aren't listed under the com.atlassian.jira property. I only see BasicDataSource.

Does anyone have an idea how to troubleshoot this?

2 answers

1 accepted

This widget could not be displayed.

The knowledge base article is missing that configuration. Would be great if someone from the Atlassian team could add this information on how to configure a Windows service for remote access to the JMX monitoring. The current version of this article only lists setenv.sh and setenv.bat as possible configuration possibilities:

 

  1. cmd: JIRA\bin>tomcat8w.exe //ES//*JIRA-service-name-here*
  2. Added the following Options in tap JAVA
    -Dcom.sun.management.jmxremote.port=*remote-port.here*
  3. Decide how you will secure your remote connection. [...]

I would have provided that feedback myself via the feedback form but it looks like I'm not permitted to submit feedback to this article.

This widget could not be displayed.

HI Andreas,

  • Is this local or a remote monitoring?

I tried this with sudo and without and the difference without sudo was I didn't see the JIRA connection but I  still did not see basic datasource.

If you run  jps -lV or sudo jps -lV do you see the datasource there?

Cheers,

Branden

Andreas Wurm Community Champion Jan 22, 2018

Thank you for the hint, Branden.

Since I'm running JIRA as a Windows Service, sudo wasn't "the problem".

Meanwhile I was able to fix the problem. Here's what I did:

  1. cmd: JIRA\bin>tomcat8w.exe //ES//*JIRA-service-name-here*
  2. Added the following Options in tap JAVA
    -Dcom.sun.management.jmxremote.port=*remote-port.here*
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false
  3. Went to JIRA > System > JMX monitoring: Deactivated and activated JMX monitoring
  4. Open JConsole
  5. Connected to remote > localhost:*remote-port-here*

The MBeans are now visible on my system.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you