Roger I Martin PhD wrote:

> Hello, I looked into this and found that the current cvs HEAD supplies
> avalon-excalibur-20011229.jar and a look inside of it shows no
> org.apache.avalon.excalibur.datasource.Jdbc3Connection class



Let me guess, you are running on JDK 1.4?

Try compiling Excalibur with JDK 1.4 enabled--you will get the class you
need.


> 
> The tomcat log shows
> 
> 2002-01-11 12:16:15 DEBUG   (2002-01-11) 12:16.15:718   [cocoon  ]
> (Unknown-URI) Unknown-thread/LogKitLogger: Exception in
> JdbcConnectionFactory.newInstance:
> java.lang.ClassNotFoundException:
> org.apache.avalon.excalibur.datasource.Jdbc3Connection
>  at java.net.URLClassLoader$1.run(URLClassLoader.java:201)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(URLClassLoader.java:189)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:309)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
>  at
> org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(Jdb
> cConnectionFactory.java:119)
>  at
> org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:
> 79)
>  at
> org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(HardRe
> sourceLimitingPool.java:95)
>  at
> org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(JdbcCo
> nnectionPool.java:74)
>  at
> org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(AbstractPool.java
> :120)
>  at
> org.apache.avalon.excalibur.pool.HardResourceLimitingPool.internalGrow(HardR
> esourceLimitingPool.java:104)
>  at
> org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceL
> imitingPool.java:91)
>  at
> org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnection
> Pool.java:200)
>  at java.lang.Thread.run(Thread.java:539)
> 
> 2002-01-11 12:16:15 DEBUG   (2002-01-11) 12:16.15:750   [cocoon  ]
> (Unknown-URI) Unknown-thread/LogKitLogger:
> org.apache.avalon.excalibur.datasource.JdbcConnection: could not be
> instantiated.
> org.apache.avalon.excalibur.datasource.NoValidConnectionException:
> org.apache.avalon.excalibur.datasource.Jdbc3Connection
>  at
> org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(Jdb
> cConnectionFactory.java:133)
>  at
> org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:
> 79)
>  at
> org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(HardRe
> sourceLimitingPool.java:95)
>  at
> org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(JdbcCo
> nnectionPool.java:74)
>  at
> org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(AbstractPool.java
> :120)
>  at
> org.apache.avalon.excalibur.pool.HardResourceLimitingPool.internalGrow(HardR
> esourceLimitingPool.java:104)
>  at
> org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceL
> imitingPool.java:91)
>  at
> org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnection
> Pool.java:200)
>  at java.lang.Thread.run(Thread.java:539)
> ....
> 
> Regards,
> 
> Roger
> ----- Original Message -----
> From: "Berin Loritsch" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 11, 2002 9:18 AM
> Subject: Re: no connections in the pool
> 
> 
> 
>>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]
>>
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> .
> 
> 



-- 

"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