;From: Mike Curwen [mailto:[EMAIL PROTECTED]
>Sent: Monday, January 19, 2004 9:50 AM
>To: 'Tomcat Users List'; [EMAIL PROTECTED]
>Subject: RE: Terminating or suspending an application if a "on start
up"
>servlet throws an exception?
>
>I think if you throw a
Or does it only mark that Servlet as unavailable? Throwing a
RuntimeException from the contextInitialized() method of a
ServletContextListener will mark the context as unavailable.
Use of a ServletContextListener to do app initialization is probably the
way to go instead of load-on-startup servl
I think if you throw a RuntimException, then Tomcat will mark the app as
unavailable.
> -Original Message-
> From: Adrian Beech [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 18, 2004 5:35 AM
> To: [EMAIL PROTECTED]
> Subject: Terminating or suspending an application if a "on
> start