Thanks for the info. But it appears that the mbean:
org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
is not registered. I found some code that collects info from this bean,
and this mbean doesn't even show up when querying jmx in Tomcat. I am
running Tomcat 8.5. I've tried googling and couldn't find any info on
how to activate this bean. Can someone explain how to make it show up?
Thanks.
Jerry
On 1/11/2018 3:41 PM, Simon De Uvarow wrote:
"No olvides, no traiciones, lo que llevas bien dentro de ti. No olvides, no
traiciones, lo que siempre te ha hecho vivir."
On Thu, Jan 11, 2018 at 6:47 PM, Jerry Malcolm <techst...@malcolms.com>
wrote:
I followed the instructions to enable JMX on Tomcat. I added the
following lines to java config:
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8083
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=localhost
I opened JConsole localhost;8083, and it connected. I can see CPU, heap,
classes, and thread graphs. When I look at the MBean tab, I see a Catalina
entry and a "DataSource" entry below that. Expanding that gives me a ton
of attributes, operations, and notifications for my various datasources.
That's fine. But what I want is to be able to do is monitor a graph of the
connection pools. I saw an example graph on a 3rd party web post from
several years ago. But I can't find anything that shows connection pool
usage graphs in my JConsole.
What am I missing?
Thanks.
Jerry
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Maybe you can try jvisualvm instead of JConsole.
The binary is in the /bin folder of the JAVA_HOME.
You can also add plugins to it. Maybe there is a plugin for your need.
regards,
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org