This sounds like something that you need to deal with in the
internals of your bean - using the Connection's isClosed method (or
something like that).

        Randy


> -----Original Message-----
> From: Jack Li [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 9:28 AM
> To: '[EMAIL PROTECTED]'
> Subject: Bean in application scope
> 
> 
> Hello,
> 
> I have a java bean in application scope. The bean creates a database
> connection pool. However, sometime the database gets reboot. 
> Then, the jsp
> pages have the bean included get crashed. How do I detect the 
> exception and
> reinitialize the bean?
> 
> Thanks
> Jack
> 

Reply via email to