I am new to JAMon .. I doing a POC to see if this would fit our needs. As a start I tried to monitor the SQL and it didnt work for me.
Here is what I did
I deployed the jamon war to tomcat..
Changed my SQL driver as below..
jdbc.driverClass=com.jamonapi.proxy.JAMonDriver
jdbc.url=jdbc:jamon:mysql://xxx:3306/igdb?jamonrealdriver=com.mysql.jdbc.Driver
I can see from my logs that it makes connection through the JAMonDriver
But when I launch the admin page , none of my sql show up. I click generate code and can see all that dummy SQL data coming up but not mine.Please note I have absolutely no code changes w,r.t JAMon so far
Should I make any code/ configuration changes to make this work? T
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Make sure you only have the jamon jar in one location. Make sure it is in a shared location that both your app and the jamon admin jar can access it. You probably are reading the jamon data (jamon war) from one copy of the jamon jar and writing your sql data to another copy of the jamon jar (and so this data is not being displayed). That is most likely the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am new to JAMon .. I doing a POC to see if this would fit our needs. As a start I tried to monitor the SQL and it didnt work for me.
Here is what I did
I deployed the jamon war to tomcat..
Changed my SQL driver as below..
jdbc.driverClass=com.jamonapi.proxy.JAMonDriver
jdbc.url=jdbc:jamon:mysql://xxx:3306/igdb?jamonrealdriver=com.mysql.jdbc.Driver
I can see from my logs that it makes connection through the JAMonDriver
But when I launch the admin page , none of my sql show up. I click generate code and can see all that dummy SQL data coming up but not mine.Please note I have absolutely no code changes w,r.t JAMon so far
Should I make any code/ configuration changes to make this work? T
Make sure you only have the jamon jar in one location. Make sure it is in a shared location that both your app and the jamon admin jar can access it. You probably are reading the jamon data (jamon war) from one copy of the jamon jar and writing your sql data to another copy of the jamon jar (and so this data is not being displayed). That is most likely the problem.
Thank you.. you were right I had the jar inside the war file.. I removed it and it worked good.