my dog learned polymorphism
The moose likes JDBC and Relational Databases and the fly likes Database Active Connections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

Database Active Connections

Prachi Desai

Joined: Jan 12, 2011
Posts: 2

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.

I would really appreciate if somebody can help.

Jan Cumps

Joined: Dec 20, 2006
Posts: 2551

Let's use your other post:

Welcome to the Ranch, Prachi.

OCUP UML fundamental and ITIL foundation
I agree. Here's the link:
subject: Database Active Connections
It's not a secret anymore!