5608057 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

Active jdbc connections graph is not working in montoring tool #373

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I have deployed javamelody open source jar files in our dev environment.

1. we are using tomcat 7 which is Servlet version 3 container, so didn't modify 
web.xml

2. our datasource is like below

<Resource name="javaDataSource" auth="Container"
                type="javax.sql.DataSource"
                maxActive="100"
                maxIdle="30"
/>

3. Linux operating system.

As per user guide - If your application server is compatible with Servlet API 
3.0 (like tomcat 7, glassfish v3 or jboss 6), this paragraph is generally not 
needed, you can skip it and launch the server as in the next paragraph)

I followed the steps. Could you please help me out to get this working. Let me 
know if  you need further info.

Original issue reported on code.google.com by jayakant...@gmail.com on 28 Jan 2014 at 8:37

GoogleCodeExporter commented 8 years ago
Given the name of your datasource, it is not automatically monitored.

Read the user guide:
https://code.google.com/p/javamelody/wiki/UserGuide#7._JDBC

Original comment by evernat@free.fr on 28 Jan 2014 at 1:26

GoogleCodeExporter commented 8 years ago
Hi,

Thank you for the comments, it made me to double check user guide and our DB 
properties and added "-Djavamelody.datasources=java:comp/env/" to system 
properties. Now I can see the "Statistics sql - 1 day" data but no data in 
Active jdbc Graph , is it expected behaviour ? Please see screen shot. Never 
mind my Ignorance if any :)

Original comment by jayakant...@gmail.com on 30 Jan 2014 at 6:53

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

Every graph is working as expected. I crawled the site to see the behaviour. 
Please ignore the previous comment. 

Original comment by jayakant...@gmail.com on 30 Jan 2014 at 7:12