Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo List JDBC Connection Pools

Use the list-jdbc-connection-pools subcommand in remote mode to list all existing JDBC connection pools.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

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


Example 14–4 Listing JDBC Connection Pools

This example lists the JDBC connection pools that are on localhost.


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

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help list-jdbc-connection-pools at the command line.