> From: sudhir singh rana [mailto:sudhirsinghr...@gmail.com]
> Subject: Re: tomcat starting even after port is in use
> 
> I am using tomcat 5.5.27 and problem is that even tomcat 
> got exception due to port in use it initialized my servlet
> I mean called init function.

Not sure how to avoid that on Tomcat 5.5.27, but if you could move up to 6.0 or 
7.0, you can set the following system property to true:

org.apache.catalina.startup.EXIT_ON_INIT_FAILURE

The doc is at the end of this page:
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to