cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: SOLVED: Pool: NoValidConnectionException on jdk1.4 -> Berin, please read this
Date Fri, 29 Mar 2002 13:33:00 GMT
Thank you very much!

Now I thought that all the classes came from AbstractConnection,
I will have to fix line 106 in both classes to use AbstractConnection
so we won't have this problem no matter what Connection class we
are using.

Thanks for your detective work!

> -----Original Message-----
> From: Enke Michael [mailto:Michael.Enke@wincor-nixdorf.com] 
> Sent: Friday, March 29, 2002 3:21 AM
> To: cocoon-dev@xml.apache.org
> Subject: SOLVED: Pool: NoValidConnectionException on jdk1.4 
> -> Berin, please read this
> 
> 
> Hi,
> Tonight I found the solution:
> We have a ClassCastException. To solve this for jdk1.4:
> Get the daily build from excalibur,
> change both JdbcConnection to Jdbc3Connection in line 106 in 
> scratchpad/org/apache/avalon/excalibur/datasource/ResourceLimi
> tingJdbcConnectionPool.java
> Thats it. But - THIS IS ONLY FOR JDK1.4, this doesn't wor for 
> jdk < 1.4 To make it relly nice to work for all, Berin will 
> sourround it with if(instance of JdbcConnection) ... else 
> if(instance of Jdbc3Connection) or something like this, won't 
> you Berin?
> 
> Happy easter again,
> Michael
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


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


Mime
View raw message