tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Could a bad servlet initializtion stop tomcat?
Date Thu, 02 Nov 2006 23:15:32 GMT
Yaar-
try 

init()
{
 try 
{
//code here
}
catch(Exception excp)
{
System.exec("/PATH/TO/JAKARTA/bin/shutdown.sh");
}
}

Anyone else?
Martin --
This e-mail communication and any attachments may contain confidential and privileged information
for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified
that you have received
this communication in error and that any review, disclosure, dissemination, distribution or
copying of it or its 
contents
----- Original Message ----- 
From: "Yaar Schnitman" <yaar@pando.com>
To: <users@tomcat.apache.org>
Sent: Thursday, November 02, 2006 5:24 PM
Subject: Could a bad servlet initializtion stop tomcat?


> Is there a way to make the failure of a single servlet's initialization 
> stop the initialization of the other servlets, or even stop tomcat with 
> an error?
> 
> The issue is that my system operators fail to notice initialization errors.
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>
Mime
View raw message