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:[EMAIL PROTECTED]] > Sent: Friday, March 29, 2002 3:21 AM > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]