tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "raine king" <kingra...@hotmail.com>
Subject Re: Tomcat mysteriously shuts down
Date Mon, 19 Feb 2007 10:26:44 GMT
OK I figured it out:

Me and a couple testers were all running versions of Tomcat and once in a 
while we would use the same machine, and we hadn't changed the shutdown 
port/message(server.xml) so we were occasionally shutting down one another's 
Tomcats with shutdown.sh!

Thanks everyone for you're help.

>From: "raine king" <kingraine@hotmail.com>
>Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
>To: users@tomcat.apache.org
>Subject: Re: Tomcat mysteriously shuts down
>Date: Thu, 15 Feb 2007 13:55:19 +0000
>
>Hmm this may actually be working--I changed the port and so far it hasn't 
>shutdown--I'll leave it over the weekend and see what happens...
>
>How do I check if another app is sending Tomcat messages?  Does tomcat log 
>somewhere who it got SHUTDOWN commands from?
>
>As for the second bit--I installed tomcat myself.
>
>>From: David Delbecq <delbd@oma.be>
>>Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
>>To: Tomcat Users List <users@tomcat.apache.org>
>>Subject: Re: Tomcat mysteriously shuts down
>>Date: Thu, 15 Feb 2007 14:08:33 +0100
>>
>>Normally, tomcat shutsdown  is a localhost running application sends a
>>shutdown command to the localhost server command port (8005). You can
>>try to change this port, in case another app is doing this. (replace
>><server> element in server.xml by <server port="8555"> for example.
>>You can also try to change to change the shutdown command
>><server shutdown="TEST_SHUTDOWN_TEST">
>>Also, did you install tomcat manually or using redhat distribution. It
>>may be that some redhat tools are configured to remove from memory
>>inactive servers (i have never heard of this, but it wouldn't be the
>>first oddity of tomcat/redhat :p)....
>>
>>
>>En l'instant précis du 02/15/07 13:33, Nadav Steindler s'exprimait en
>>ces termes:
>> >
>> > That's just it--there's nothing wierd in the catalina.out it just has:
>> >
>> > 1) The lines for starting up tomcat
>> > 2) The log messages for my servlet
>> > 3) The bit I showed you where the servlet shuts down when I stopped
>> > sending it messages for a few minutes
>> >
>> > There's no errors or anything in the log.
>> >
>> >
>> >
>> > By the way, this is repeatable--I just let Tomcat sit without sending
>> > it anything for 7-15 minutes and it shuts down.
>> >
>> > ALSO I just noticed it only happens on our Linux Redhat 4 machine--not
>> > on the Redhat 3 machine which we have used until now. (We are trying
>> > to move the product to Redhat 4 with the Java5 JVM--so far this has
>> > just meant configuring tomcat to use the Java5 jvm)
>> >
>> > The environment where Tomcat shuts down unexpectedly is:
>> > Machine - RH 4
>> > Java - /usr/java/jdk1.5.0_06
>> > Tomacat - jakarta-tomcat-5.0.28
>> >
>> > The one where it works normally is:
>> > Machine - RH 3
>> > Java - /usr/lib/jvm/java-1.4.2-ibm-1.4.2.0
>> > Tomacat - jakarta-tomcat-5.0.28
>> >
>> > I'm running the exact same copy of the servlet and Tomcat, just on a
>> > different machine running off a shared hard disk--  I just change a
>> > line in the catalina.out to use the Java5 JVM on the RedHat 4 machine.
>> >
>> >
>> >
>> >
>> >
>> >
>> >> From: "Andre Prasetya" <andre.prasetya@gmail.com>
>> >> Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
>> >> To: "Tomcat Users List" <users@tomcat.apache.org>
>> >> Subject: Re: Tomcat mysteriously shuts down
>> >> Date: Thu, 15 Feb 2007 17:56:22 +0700
>> >>
>> >> why dont you post the catalina.out entry before pausing coyote ? the 
>>one
>> >> that you post is the regular log for shutting down tomcat
>> >>
>> >> On 2/15/07, Nadav Steindler <kingraine@hotmail.com> wrote:
>> >>>
>> >>> When my servlet isn't sent any requests for about 15 minutes, tomcat
>> >>> shuts
>> >>> down.  In particular:
>> >>>
>> >>> 1) The Tomcat process no longer appears when I do "ps"
>> >>> 2) The catalina.out ends with:
>> >>>
>> >>> Feb 14, 2007 2:12:38 PM org.apache.coyote.http11.Http11Protocol pause
>> >>> INFO: Pausing Coyote HTTP/1.1 on http-9007
>> >>> Feb 14, 2007 2:12:39 PM org.apache.catalina.core.StandardService stop
>> >>> INFO: Stopping service Catalina
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /myservlet
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /myservlet2
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /admin
>> >>> Feb 14, 2007 2:12:39 PM org.apache.catalina.logger.LoggerBase stop
>> >>> INFO: unregistering logger
>> >>> Catalina:type=Logger,path=/admin,host=localhost
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /webdav
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /servlets-examples
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /jsp-examples
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /balancer
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /myservlet3
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /tomcat-docs
>> >>> Feb 14, 2007 2:12:39 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /myservlet4
>> >>> Feb 14, 2007 2:12:40 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path
>> >>> Feb 14, 2007 2:12:40 PM
>> >>> org.apache.catalina.core.StandardHostDeployerremove
>> >>> INFO: Removing web application at context path /manager
>> >>> Feb 14, 2007 2:12:40 PM org.apache.catalina.logger.LoggerBase stop
>> >>> INFO: unregistering logger Catalina:type=Logger,host=localhost
>> >>> Feb 14, 2007 2:12:40 PM org.apache.catalina.logger.LoggerBase stop
>> >>> INFO: unregistering logger Catalina:type=Logger
>> >>> Feb 14, 2007 2:12:40 PM org.apache.coyote.http11.Http11Protocol 
>>destroy
>> >>> INFO: Stopping Coyote HTTP/1.1 on http-9007
>> >>>
>> >>>
>> >>> What does this mean?  Why is it happening?
>> >>>
>> >>> _________________________________________________________________
>> >>> Laugh, share and connect with Windows Live Messenger
>> >>>
>> >>> 
>>http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=hmtagline
>> >>>
>> >>>
>> >>>
>> >>> ---------------------------------------------------------------------
>> >>> 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
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> -Andre-
>> >>
>> >> People see things the way they are and say "why ?" I see things that
>> >> never
>> >> were and say "Why not ?"
>> >
>> > _________________________________________________________________
>> > Invite your Hotmail contacts to join your friends list with Windows
>> > Live Spaces
>> > 
>>http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > 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
>> >
>>
>>
>>---------------------------------------------------------------------
>>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
>>
>
>_________________________________________________________________
>Laugh, share and connect with Windows Live Messenger 
>http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=hmtagline
>
>
>---------------------------------------------------------------------
>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
>

_________________________________________________________________
Want a degree but can't afford to quit? Top school degrees online - in as 
fast as 1 year 
http://forms.nextag.com/goto.jsp?url=/serv/main/buyer/education.jsp?doSearch=n&tm=y&search=education_text_links_88_h288c&s=4079&p=5116


---------------------------------------------------------------------
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