JavaMelody on Railo: no SQL statistics?
-
13-06-2021 - |
Question
I just added JavaMelody to my Railo Application server but I can't get SQL statistics.
I followed this excellent post: http://aarongreenlee.com/share/monitor-tomcat-performance-with-open-source-software
Maybe problem can be exported to other AS than Railo.
La solution
Did you try the instructions here on configuring JDBC monitoring here: http://code.google.com/p/javamelody/wiki/UserGuide#7._JDBC
It looks like it uses a JDBC proxy if you're not using datasources in JNDI. I've recently had cause to look at how Railo does datasources and it doesn't do JNDI, so you'll probably have to set up a new datasource and follow the instructions. Do let me know whether it works.
[UPDATE] Just tried it myself. Whilst I can get the datasource working, I still get no stats. Looks like we may be running into this error: