You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by brycenesbitt <br...@obviously.com> on 2007/04/02 18:55:20 UTC
Re: Tips needed: restarting tomcat without risk of
java.net.BindException
Odd. I call shutdown and start in the same thread (so shutdown completes
before the startup happens). AFIK, shutdown actually does shut down the
java process. If shutdown is not meant to shut down the java process, what
does it do?
Filip Hanik - Dev Lists wrote:
>
> the problem you are having is because you didn't shutdown the java
> process.
> invoking shutdown.sh when your tomcat instance has suffered a memoryleak
> doesn't guarantee that it will stop, or how long it takes to stop it.
>
> you must ensure the process is killed properly
>
> Filip
>
--
View this message in context: http://www.nabble.com/Tips-needed%3A-restarting-tomcat-without-risk-of-java.net.BindException-tf2649674.html#a9794615
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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
Re: Tips needed: restarting tomcat without risk of java.net.BindException
Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
its an asynchronous call, all shutdown.sh does, is connect to the
shutdown port and issue the shutdown command,
when shutdown.sh returns, there is no guarantee that the java process
has been shutdown, that depends on the webapplications installed
Filip
brycenesbitt wrote:
> Odd. I call shutdown and start in the same thread (so shutdown completes
> before the startup happens). AFIK, shutdown actually does shut down the
> java process. If shutdown is not meant to shut down the java process, what
> does it do?
>
>
> Filip Hanik - Dev Lists wrote:
>
>> the problem you are having is because you didn't shutdown the java
>> process.
>> invoking shutdown.sh when your tomcat instance has suffered a memoryleak
>> doesn't guarantee that it will stop, or how long it takes to stop it.
>>
>> you must ensure the process is killed properly
>>
>> Filip
>>
>>
>
>
---------------------------------------------------------------------
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