me0wster / javamelody

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

Data base requests/hits during queue message processing is not captured #332

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

My application does not have UI and we process the information based on queue 
message.

I see that db hits during the message process are displaying in the monitoring 
user interface. 

Thanks,
Anil

Original issue reported on code.google.com by anilk...@gmail.com on 17 Aug 2013 at 2:18

GoogleCodeExporter commented 9 years ago
typo error.

I see that db hits during the message process are not displaying in the 
monitoring user interface. 

I am using javamelody 1.45 version. 

Original comment by anilk...@gmail.com on 17 Aug 2013 at 2:26

GoogleCodeExporter commented 9 years ago
Have you read the following?
https://code.google.com/p/javamelody/wiki/UserGuide#7._JDBC

Base on that documentation, why would "db hits during the message process" be 
monitored?

Original comment by evernat@free.fr on 18 Aug 2013 at 3:29

GoogleCodeExporter commented 9 years ago
Below is the configuration I have used

<property name="jpaPropertyMap">
            <map>                               
                <entry key="hibernate.connection.driver_class" value="net.bull.javamelody.JdbcDriver" />
            </map>
        </property>
to org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.

did I add at wrong place? not sure.

I am using jndi object as data source. DB details are configured in context 
file of tomcat to which jndi lookup is performed.

I can see binding of jndi and data source in javamelody logs.

Thanks

Original comment by anilk...@gmail.com on 18 Aug 2013 at 3:34

GoogleCodeExporter commented 9 years ago
I will re-check and let you know.

Original comment by anilk...@gmail.com on 18 Aug 2013 at 3:59

GoogleCodeExporter commented 9 years ago
Working fine now.

Original comment by anilk...@gmail.com on 19 Aug 2013 at 5:06

GoogleCodeExporter commented 9 years ago
Thanks

Original comment by anilk...@gmail.com on 19 Aug 2013 at 6:01

GoogleCodeExporter commented 9 years ago
ok

Original comment by evernat@free.fr on 19 Aug 2013 at 8:27