File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 2565

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!