tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Tips needed: restarting tomcat without risk of java.net.BindException
Date Mon, 02 Apr 2007 17:20:18 GMT
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


Mime
View raw message