phil....@gmail.com
unread,Feb 11, 2012, 9:27:31 PM2/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to javamelody, phil....@gmail.com
Installed javamelody 1.34 and configured as best I could. javamelody
does display its web page and several detail pages. However there is
not any sql information.
opencms uses jdbc directly and is configured in WEB-INF/config/
opencms.properties, not WEB-INF/web.xml
I did put this in web.xml, but no joy
<property
name="hibernate.connection.driver_class">net.bull.javamelody.JdbcDriver</
property>
<property
name="hibernate.connection.driver">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://
localhost:3306/opencms754Suncity</property>
<property name="hibernate.connection.username">suncity</
property>
<property
name="hibernate.connection.password">MyPasswordForMysql</property>
Since tomcat is not using hibernate, what "names" should be used for
the properties?
Yes, I am a newbie with javamelody. Yes, I do not know the meaning
of hibernate as relates to tomcat.
I did read the JDBC section of the wiki, but something did not sink
in, if the answer is there.