users@glassfish.java.net

Command to Find the current details of JDBC Connection Pool

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 May 2009 15:20:26 PDT

Hi All,

I have a small reqirement given to me where i was requested to create a shell script that can list down the respective details

[b][u]INPUTS :[/u][/b]
USER,HOST,PORT,PASSWORD FILE & jdbc-pool-name

[b][u]NEEDED OUTPUT :[/u][/b]

Ping Test : Pass / Fail
Minimum Number Of Connections
Maximum Number Of Connections
Current Number Of Connections Created within the Glassfish cluster

Althogh i have got solution or doing a ping using "asadmin ping-connection-pool" or "ping-connection-pool" commands i'm in search of getting the rest of the details.

Can anyone point me to the right commands by which i can try getting the relevant information which i need.

REGARDS,
RaHuL
[Message sent by forum member 'rahul_akkina' (rahul_akkina)]

http://forums.java.net/jive/thread.jspa?messageID=347755