Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo List JDBC Resources

The remote list-jdbc-resources command enables you to list the existing JDBC resources.

  1. Ensure that the server is running.

    Remote commands require a running server.

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


Example 5–8 Listing JDBC Resources

The following example command lists JDBC resources for localhost:


asadmin list-jdbc-resources

Information similar to the following is displayed:


jdbc/__TimerPool
jdbc/DerbyPool
jdbc/__default
jdbc1
Command list-jdbc-resources executed successfully.

See Also

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