Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo List JDBC Connection Pools

The remote list-jdbc-connection-pools command enables you to list all existing JDBC connection pools.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. List the JDBC connection pools by using the list-jdbc-connection-pools(1) command.


Example 5–4 Listing JDBC Connection Pools

The following example command lists the JDBC connection pools that are on localhost:


asadmin list-jdbc-connection-pools

Information similar to the following is displayed:


sample_derby_pool2
poolA
__TimerPool
DerbyPool
sample_derby_pool
Command list-jdbc-connection-pools executed successfully.

See Also

To see the full syntax and options of the command, type asadmin list-jdbc-connection-pools --help at the command line.