Closed GoogleCodeExporter closed 9 years ago
Have you added the jrobin-1.5.9.1.jar file in WEB-INF/lib/ of your webapp as
said in UserGuide#1._Jar_files ? Or have you added the maven dependency
including the opennms repository as said in UserGuide#Dependencies ?
Original comment by evernat@free.fr
on 13 Sep 2010 at 9:03
Yes, you were right. we fixed that. now melody is up.
but we now have another challenge, the sql transactions are not being recorded,
table remains empty all the time
we are using hibernate with c3po pooling. are there any exclusive
configurations to be made for hibernate ?
Original comment by kalimaac...@gmail.com
on 16 Sep 2010 at 6:31
yes, with c3po pooling in hibernate without a datasource, use
"net.bull.javamelody.JdbcDriver":
http://code.google.com/p/javamelody/wiki/UserGuide#7._JDBC
or otherwise use in hibernate:
http://code.google.com/p/javamelody/wiki/UserGuideAdvanced#Alternative_for_monit
oring_of_sql_requests
Original comment by evernat@free.fr
on 16 Sep 2010 at 6:46
Hi,
i tried option 1 : it gives me a driver not found error
i tried option 2 : gives me : could not instantiate BatcherFactory:
net.bull.javamelody.HibernateBatcherFactory and also the
Caused by: java.lang.ClassNotFoundException:
net.bull.javamelody.HibernateBatcherFactory
am i missing some libraries ?
attached is my configuration file from hibernate
Original comment by kalimaac...@gmail.com
on 16 Sep 2010 at 7:24
Attachments:
option 1:
*********
in your hibernate configuration, you should replace
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
with
<property name="hibernate.connection.driver_class">net.bull.javamelody.JdbcDriver</property>
<property name="hibernate.connection.driver">oracle.jdbc.driver.OracleDriver</property>
option 2:
*********
- revert changes for option 1
- you should use javamelody v1.19.0 or later, and I think that your issue is
that you are using javamelody v1.18.0 or before. You don't need other libraries
than javamelody jar file.
If it does not work, please post stack-traces of exceptions.
Original comment by evernat@free.fr
on 16 Sep 2010 at 9:17
Hi, i used the 1.19 version of melody and it worked fine
Original comment by kalimaac...@gmail.com
on 16 Sep 2010 at 10:18
I am not sure to understand: you are now using the 1.19 version of javamelody
and it works fine, or it worked before but not anymore?
If it works, we can close the issue?
Thanks
Original comment by evernat@free.fr
on 17 Sep 2010 at 5:39
I suppose that you mean that it works with the 1.19 version.
So it's great and I close the issue.
Reopen it if needed.
Original comment by evernat@free.fr
on 25 Sep 2010 at 8:00
Original issue reported on code.google.com by
kalimaac...@gmail.com
on 13 Sep 2010 at 7:54Attachments: