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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to