I have a java based application deployed on JBOSS and using DB2 database. For the purpose of monitoring, i need to find the number of active database connections at any point of time. As its a huge and a very old application, i definitely cannot change the underlying functionality of db implementation. Are there any third party jars available which can give me this information. I tried using commons-dbcp. But unable to implement that.