Sun GlassFish Enterprise Server v2.1.1 Developer's Guide

Testing a JDBC Connection Pool

You can test a JDBC connection pool for usability in one of these ways:

Both these commands fail and display an error message unless they successfully connect to the connection pool.

For information about how to tune a connection pool, see the Sun GlassFish Enterprise Server v2.1.1 Performance Tuning Guide.