Hi Warnier

Thanks for your help.

I am running tomcat in Windows platform.
I am starting tomcat under a thread inside another JVM by calling
Bootstrap.main("start");

Thanks
Siranjeevi

On Fri, Mar 19, 2010 at 4:53 PM, André Warnier <a...@ice-sa.com> wrote:
> siranjeevi krishnan wrote:
>>
>> Hi All
>>
>> I am using Tomcat 6.0.18. It's running fine for past two months.
>> Suddenly it stops and i couldn't find any errors.
>
> It would probably help if you mentioned on which platform this happens, and
> if it is a Windows system, if Tomcat is running as a Service or otherwise.
>
>>
>> The messages i got in catalina .log are
>>
>> Mar 16, 2010 5:48:00 PM org.apache.catalina.core.StandardService stop
>> INFO: Stopping service Catalina
>> Mar 16, 2010 5:48:00 PM org.apache.catalina.core.ApplicationContext log
>> INFO: Closing Spring root WebApplicationContext
>> Mar 16, 2010 5:48:02 PM org.apache.catalina.core.StandardWrapper unload
>> INFO: Waiting for 1 instance(s) to be deallocated
>> Mar 16, 2010 5:48:03 PM org.apache.catalina.core.StandardWrapper unload
>> INFO: Waiting for 1 instance(s) to be deallocated
>> Mar 16, 2010 5:48:04 PM org.apache.catalina.core.ApplicationContext log
>> INFO: Closing Spring root WebApplicationContext
>>
>
> That looks like a nice orderly shutdown.
>
>> This is the second time i am facing this issue. There is no out of
>> memory errors.
>>
>> Nobody can access my box and there is no way for explicit shutdown.
>>
>> In what scenarios , tomcat will stop gracefully without any errors.
>>
> As far as I know, only when it is told, gracefully, to stop.
> With an OOM or any other error, you would either not have any messages, or a
> lot of ugly ones.
>
> But if it was running under Windows as a Service for instance, a "net stop
> Tomcat6" would be one way.
> In that same case, a network sysadmin could also do this remotely.
> Any local process connecting to port 8005 and writing the string "SHUTDOWN"
> to it would also do that.
> A web application running within Tomcat and doing a "system.exit()" /may/
> also do that, though I don't know if then you would have a nice orderly
> shutdown as per above.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

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

Reply via email to