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

0 vote

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

184 views 1 11
Read article

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