You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Maxi L <ma...@hotmail.com> on 2001/12/31 12:14:29 UTC

DataSourceTestCase

Hi,

i am trying this testcase example DataSourceTestCase found the following 
exception. any help?

org.apache.avalon.excalibur.datasource.NoAvailableConnectionException: You 
cannot get a Poolable before the pool is initialized
at org.apache.avalon.excalibur.datasource.JdbcDataSource.get
Connection(JdbcDataSource.java:205)

regards
MAXI

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: DataSourceTestCase

Posted by Berin Loritsch <bl...@apache.org>.
Maxi L wrote:

> Hi,
> 
> i am trying this testcase example DataSourceTestCase found the following 
> exception. any help?
> 
> org.apache.avalon.excalibur.datasource.NoAvailableConnectionException: 
> You cannot get a Poolable before the pool is initialized
> at org.apache.avalon.excalibur.datasource.JdbcDataSource.get
> Connection(JdbcDataSource.java:205)


Look at the configuration in the .xtest file (same directory as the source

code for the TestCase).

You have to point the DataSource at the correct Component.




-- 

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


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>