Re: JMX Method to check JDBC connection acivity?

2005-09-28 Thread andy gordon
Edmon, Did you get an answer to your question? I found your question quite interesting. I ran some tests and received the same error (RMI permission) as you. I used JConsole as well as looked at JMXProxy and could not determine if my datasource (in this case MySQL) was running or not. The

JMX Method to check JDBC connection acivity?

2005-09-27 Thread Edmon Begoli
Is there a handy MBean in Tomcat that would allow me to do on demand check if the connection to the database is up? I've looked at DataSource but that one does not expose getConnection, and the one that requires username and password throws RMI permission exception. I would really like to have