Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Upgrade and Migration Guide

Adding a Connection Pool

A JDBC connection pool is a group of reusable connections for a particular database. Because creating each new physical connection is time consuming, the server maintains a pool of available connections to increase performance. When an application requests a connection, it obtains one from the pool. When an application closes a connection, the connection is returned to the pool.

Use the asadmin create-jdbc-connection-pool command to add a connection pool to the server. The syntax of the command is given below.

asadmin create-jdbc-connection-pool
     --user  admin_user
     --password admin_password
     --host localhost
     --port portno
     --datasourceclassname dsclassname
     --property User=ibank_user:Password=ibank_user:URL_PROP=db_url TMB

where, dsclassname is:

URL_PROP is:

db_url is: