I tend to agree - but wouldn't I see somewhere this system.exit being run
somewhere in a tomcat logfile.
In investigating this ive had verbose debug set on at all levels within the
Tomcat log structure and havent found a call anywhere that might indicate
this is happening.

Do you have any suggestions as to where to look within the tomcat log to
discover which code is causing the issue.
The arsys app in question is a packaged Remedy application (yes im following
up with them also).

Thanks

Simon

-----Original Message-----
From: Anoop kumar V [mailto:[EMAIL PROTECTED] 
Sent: 27 June 2005 22:39
To: Tomcat Users List
Subject: Re: Tomcat Just Shuts down without reason (that i can see)

looks like there is some code in one of your webapps that is causing a
shutdown - I know for one that if you put System.exit(0) in one of your
servlets and this servlet is invoked at startup (or through another servlet)
then it simulates a normal shutdown of Tomcat (or any app server for that
matter)

I would look into each of the webapps and see if code is helping Tomcat
behave in that way - I would start with the arpsys webapp since the others
seem to be default tomcat provided examples.

Also my suggesting is to remove all webapps that u do not need and leave
only those webapps that u absolutely require. In our setup since no one
would be using the manager/admin apps we have completely done away with
those and I think it helps in the server performnace - lesser webapps -
lesser load.

-Anoop

On 6/27/05, Simon Taylor <[EMAIL PROTECTED]> wrote:
>  
> Tomcat 4.1.31 - Solaris 9 - Java 1.5
>   
> Currently Tomcat shuts down after what seems to be a variable amount 
> of time.
> All contexts within the host are shut down
>   
> And the following are evident in the logs:-
>   
> log1
> 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application 
> at context path /admin
> 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application 
> at context path /webdav
> 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application 
> at context path /examples
> 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application 
> at context path /tomcat-docs
> 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application 
> at context path /arsys
> 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application 
> at context path
> 2005-06-27 17:15:41 StandardHost[localhost]: Removing web application 
> at context path /manager
>  
> log2
> 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping
> 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping filters
> 2005-06-27 17:15:41 StandardContext[/arsys]: Sending application stop 
> events
> 2005-06-27 17:15:41 StandardContext[/arsys]: Processing standard 
> container shutdown
> 2005-06-27 17:15:41 ContextConfig[/arsys]: ContextConfig: Processing 
> STOP
> 2005-06-27 17:15:41 StandardContext[/arsys]: Stopping complete
>  
> log3
> 2005-06-27 17:15:41 SessionListener: contextDestroyed()
> 2005-06-27 17:15:41 ContextListener: contextDestroyed()
>   
>   
> Looks like its performing a normal shutdown to me - but why? is it an 
> inactivity timeout - as i am not seeing any activity around the time 
> of the shutdown.
>   
> This is the second server we have had this happen on and on two 
> different versions of tomcat and two versions of Java.
>   
> Any ideas? 
> 
> Simon Taylor (Engineer)
> Service Tools Solutions (STS)
> Nortel
> p - 01628 617291 (ESN 6 861 7291)
> m - 07740 533743 (ESN 748 3743)
> e - [EMAIL PROTECTED]
>  
>   
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


--
Thanks and best regards,
Anoop

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to