Tutorial :Javamelody with Tomcat and MySql



Question:

I have setup a web application in Tomcat with Javamelody and MySql. I am able to see the JDBC connection details under system info so I know that Javamelody is able to connect to the database. I have executed select/update statements from my application but nothing is ever shown on the monitoring page under statistics sql. I have executed "show full processlist" using the same user as my database connection and it works fine. I can't work out what I am doing wrong.

Any ideas?


Solution:1

Don't mess monitoring tool into problem. You can check if connection works without it. (E.g. create table and insert some data and then check if table exists).


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »