You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2001/06/26 15:02:30 UTC

RE: Bean in application scope

	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:JLi@MurraysDiscount.com]
> Sent: Tuesday, June 26, 2001 9:28 AM
> To: 'tomcat-user@jakarta.apache.org'
> 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
>