Jeff Holt wrote:

> I am using Jonas 1.2  on JDK 1.1.8 connecting to Oracle 8i.  I have a bean that 
>maintains a connection to Oracle and I use this bean from a Servlet.  The DBA takes 
>the database down weekly for backups.  The problem is that our servlets can connect 
>back to the database just fine, but the EJB does not.  It appears that the container 
>does not handle this well, is this true or have I missed a setting?  I could write my 
>own handling if need be, but I was hoping that the container would manage these 
>connections, not me.
>
> Thanx for any input,
>
> Jeff Holt
>

no, at the moment it doesn't take care of stale connections yet but I think people are 
looking into that. because I ran into the exact same problem, I made a quickhack, 
plugging the free jdbcpool library underneath the pooling code, which gives me a way 
to specify timeouts to partly remedy the situation.  check the archives for my posts 
on that. if you're interested in the code I'll share it but it's not more than an ugly 
fix to get rid of the morning bug and not the future of JOnAS connection pooling.

robert

p.s.: btw the code is based on JOnAS 1.4.1 for jdk1.1 but should be the same for 
recent versions and jdk1.2

--
(-) Robert Kr�ger
(-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
(-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de


Reply via email to