cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: no connections in the pool
Date Fri, 11 Jan 2002 14:18:44 GMT
ANKUR SHAH wrote:

>>>Original exception : java.lang.RuntimeException: Could not get the
>>>datasource
>>>org.apache.avalon.excalibur.datasource.NoAvailableConnectionException:
>>>There are no connections in the pool, check your settings.



PLEASE READ CAREFULLY


The NoAvailableConnectionException is not the only exception you will see,
but it is the last.

The JdbcDataSouce features an asynchronous initialization so that the
rest of Cocoon can continue initializing while the much slower and heavier
Connection pool is being built.  This decreases the time spent in
initialization overall.  Every time a Connection fails to be created,
the causing exception is logged.  This log entry will be interspersed
in the log with the other components' log messages.

Please check the log between the log message

    "ExcaliburComponentManager: Attempting to get Handler for:

     org.apache.avalon.excalibur.datasource.DataSourceComponent"


and the NoAvailableConnectionException message


You will see more helpful exceptions pertaining to the JdbcDataSource.

-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message