cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Tomcat JMX plugin not running

jason_westerhou
Newcomer

Grabbed the example Tomcat JDBC JMX plugin from git hub: https://github.com/Dynatrace/JMX-Extensions/tree/m...

Uploaded it, and it doesn't seem to even be running. Feels like I'm missing something super simple. I can't find the metrics anywhere in process metrics/jmx metrics, where I'd expect to see the charts written in the plugin.

Any help is appreciated.

Thanks in advance,

Jason

4 REPLIES 4

Bartosz_Banache
Inactive

We did some quick tests and it appears that the plugin might have an outdated set of Tomcat metrics. Can you connect to your server with e.g. JConsole and verify that the metrics exist there? It's really easy to edit the plugin if there's some mismatch and reupload it.

skb_igs
Newcomer

@bartosz B, could you please update the Tomcat JMX plugin json and upload here,

g_ciret
Contributor

Hi,

Could someone list the prerequisites to using the JMX plugin?
I tried to use it and it does not work at all for me.

When I tried to understand why, I realized that I could not connect the jconsole to my Tomcat process locally. The Tomcat Windows service is launched using a specific user, and I read somewhere that the jconsole has to be launched using the same user to be able to "see" the tomcat processes, so I guess that's why the jconsole is not working.

Does Dynatrace have to be launched using the same user also?

Regards,

Gilles


antonio_villarr
Advisor

Hi,

This is how I could do it:

1.- Use JMX/PMI extension editor. Specify a name,

2.- Click on "add metric source"

3.- Technology: Apache Tomcat

4.- Click on the pencil for the suggested source

5.- Specify a host and tomcat process that you know (verify first) has a service that uses a ddbb

6.- Click "Add metrics source"

7.- Click "Add Metric"

8.- For Domain select Catalina

9.- Now in the filter bar select "type"

10.- Select DataSource

11.- Now, go to the "Select atribute" list, and select maxActive or numactive.

Good luck anybody.

Antonio V.

Featured Posts