30 Apr 2018 02:47 PM - last edited on 19 May 2023 07:56 AM by Michal_Gebacki
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
Solved! Go to Solution.
15 Jun 2018 10:24 AM
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.
05 Jul 2018 05:09 AM
@bartosz B, could you please update the Tomcat JMX plugin json and upload here,
28 Jan 2019 09:37 AM
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
23 Apr 2020 04:56 PM
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.