MBeans not listed in JConsole

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

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.

0 vote

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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,323 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot