Re: how to tell available connections within connection pool

2005-07-28 Thread Andre Schild
Via JMX thiss is possible. We for example look for numActive in Catalina:type=DataSource,path=/,host=www.aarboard.ch,class=javax.sql.DataSource,name="jdbc /aarboard-productdatabase" André Raymond Fung wrote: Dear all, It seems this question has been asked from time to time, but still no one

how to tell available connections within connection pool

2005-07-28 Thread Raymond Fung
Dear all, It seems this question has been asked from time to time, but still no one can give a concrete answer. Is it really impossible to query Tomcat for the available connection threads inside the connection pool ? How can I ensure my application will not have connection leaks ? Regards, Raymo