I am having the same problem described here:

http://marc.theaimsgroup.com/?l=avalon-dev&m=101423720431127&w=2

my code:

pool = new JdbcConnectionPool(new JdbcConnectionFactory(url, user, 
password, autoCommit, keepAlive, JdbcConnection.class.getName()), 
new DefaultPoolController(), minconns, maxconns, autoCommit);

pool.initialize();

Upon the first call to get():

java.lang.NullPointerException
6/3/2002 12:17:44:78 [E]        at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnectionPool.java:210)
6/3/2002 12:17:44:78 [E]        at java.lang.Thread.run(Thread.java:484)

AND

java.lang.IllegalStateException: You cannot get a Poolable before the 
pool is initialized
        at org.apache.avalon.excalibur.pool.DefaultPool.get(DefaultPool.java:109)
        at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.get(JdbcConnectionPool.java:136)
        at 
edu.cornell.cit.infutil.ExcaliburConnectionPool.getConnection(ExcaliburConnectionPool.java:40)
...


Any feedback on this would be appreciated,
Aaron

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to