On this tutorial i willl guide you how to using jconsole to connect java application and profile. In this sample i use jconsole to monitor database pool c3p0.
- Run your web application
- Run jconsole
- Choose right java process you need connect in your local machine to connect remote you need enable JMX and open port
4. Choose tab MBean and choose c3p0