The ConnectionWaitTimeout exception indicates that the
application has waited for the number of seconds specified by the
connection timeout setting and has not received a connection. This
situation can occur when the pool is at maximum size and all of the
connections are in use by other applications for the duration of the wait.
In addition, there are no connections currently in use that the
application can share because either the connection properties do not
match, or the connection is in a different transaction.
When using a Version 4.0 data source, the ConnectionWaitTimeout throws
an exception whose class is
com.ibm.ejs.cm.pool.ConnectionWaitTimeoutException.
For connection factories, the ConnectionWaitTimeout throws a
ResourceException whose class is
com.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException.
Finally, Version 5.0 data sources throw an SQLException subclass called
com.ibm.websphere.ce.cm.ConnectionWaitTimeoutException.
|