tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop kumar V <anoopkum...@gmail.com>
Subject Re: Tomcat Just Shuts down without reason (that i can see)
Date Mon, 27 Jun 2005 21:39:26 GMT
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 <set@nortel.com> 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 - set@nortel.com 
>  
>   
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 


-- 
Thanks and best regards,
Anoop

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message