You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sam Seaver <sa...@northwestern.edu> on 2004/02/04 22:10:53 UTC

[Fwd: Catalina suspends for no reason?!?]

I have discovered something that may be in effect linked to my previous 
email, regard catalina.sh:

I use `catalina.sh stop` and `catalina.sh start -security` to restart 
the tomcat web server.

However, I have come to realise that on occaison, the 'stop' command 
does not work, and when I restart, I thereafter create two copies of the 
original tomcat. this should not be possible because the first tomcat 
should be using the same port, and thus blocking the restart, but 
somehow, the restart does happen??

When I stop the second process, then tomcat officially stops working, 
even though the original process is still runnning.

Has this happened to anyone else?
Thanks
Sam Seaver


-------- Original Message --------
Subject: 	Catalina suspends for no reason?!?
Date: 	Wed, 04 Feb 2004 10:38:16 -0600
From: 	Sam Seaver <sa...@northwestern.edu>
Reply-To: 	Tomcat Users List <to...@jakarta.apache.org>
To: 	tomcat-user@jakarta.apache.org



I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9.

It seems every now and then, tomat just simply hangs.  When I try to 
shutdown the Catalina process via catalina.sh, it doesnt remove the 
process?! So I have to 'kill -15' it, then start up catalina again.

I get very little information as to what happened, but checking jkstatus 
I can see where the requests stopped in the scoreboard. It's hard to 
tell sometimes, because httpd serves up the html pages just fine, but 
its only when I try to access a *.jsp page that i realise catalina is 
hanging again.

The only errors I get are from httpd as listed below:

[Wed Feb 04 09:37:47 2004] [error] msgAjp.receive(): Bad signature 00
[Wed Feb 04 09:37:47 2004] [error] channelSocket.receive(): Bad header
[Wed Feb 04 09:37:47 2004] [error] workerEnv.processCallbacks() Error 
reading reply
[Wed Feb 04 09:37:47 2004] [error] ajp13.service() ajpGetReply 
recoverable error 120000
[Wed Feb 04 09:37:47 2004] [error] channelSocket.open() connect failed 
127.0.0.1:8009 111 Connection refused
[Wed Feb 04 09:37:47 2004] [error] ajp13.connect() failed 
ajp13:localhost:8009
[Wed Feb 04 09:37:47 2004] [error] ajp13.service() failed to connect 
endpoint errno=111 Connection refused

all these lines are repeated numerous times but at the exact same time, 
to the second, when i tried accessing the JSP page.

Previously, tomcat would hang on a sunday morning, and I disabled the 
jk2 logging feature and it seems to fix this, but it has now since 
hanged again.

Does anyone have any idea what is happening?
thanks
Sam


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





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


RE: [Fwd: Catalina suspends for no reason?!?]

Posted by mike jackson <mj...@cdi-hq.com>.
Oops, please ignore...

--mikej
-=------
mike jackson
mjackson@cdi-hq.com



> -----Original Message-----
> From: mike jackson [mailto:mjackson@cdi-hq.com]
> Sent: Wednesday, February 04, 2004 1:45 PM
> To: 'Tomcat Users List'
> Subject: RE: [Fwd: Catalina suspends for no reason?!?]
> 
> Orangevale is fine, my phone is either 916 987 3600 x0 or 916 212 2019.
> 
> --mikej
> -=------
> mike jackson
> mjackson@cdi-hq.com
> 
> 
> 
> > -----Original Message-----
> > From: Josh Rehman [mailto:jrehman@citysearch.com]
> > Sent: Wednesday, February 04, 2004 1:36 PM
> > To: Tomcat Users List
> > Subject: Re: [Fwd: Catalina suspends for no reason?!?]
> >
> > I was under the impression that the start script first checks for
> > another Tomcat instance, and bails if it finds one. Is that not true?
> >
> > Sam Seaver wrote:
> > > I have discovered something that may be in effect linked to my
> previous
> > > email, regard catalina.sh:
> > >
> > > I use `catalina.sh stop` and `catalina.sh start -security` to restart
> > > the tomcat web server.
> > >
> > > However, I have come to realise that on occaison, the 'stop' command
> > > does not work, and when I restart, I thereafter create two copies of
> the
> > > original tomcat. this should not be possible because the first tomcat
> > > should be using the same port, and thus blocking the restart, but
> > > somehow, the restart does happen??
> > >
> > > When I stop the second process, then tomcat officially stops working,
> > > even though the original process is still runnning.
> > >
> > > Has this happened to anyone else?
> > > Thanks
> > > Sam Seaver
> > >
> > >
> > > -------- Original Message --------
> > > Subject:     Catalina suspends for no reason?!?
> > > Date:     Wed, 04 Feb 2004 10:38:16 -0600
> > > From:     Sam Seaver <sa...@northwestern.edu>
> > > Reply-To:     Tomcat Users List <to...@jakarta.apache.org>
> > > To:     tomcat-user@jakarta.apache.org
> > >
> > >
> > >
> > > I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on
RH9.
> > >
> > > It seems every now and then, tomat just simply hangs.  When I try to
> > > shutdown the Catalina process via catalina.sh, it doesnt remove the
> > > process?! So I have to 'kill -15' it, then start up catalina again.
> > >
> > > I get very little information as to what happened, but checking
> jkstatus
> > > I can see where the requests stopped in the scoreboard. It's hard to
> > > tell sometimes, because httpd serves up the html pages just fine, but
> > > its only when I try to access a *.jsp page that i realise catalina is
> > > hanging again.
> > >
> > > The only errors I get are from httpd as listed below:
> > >
> > > [Wed Feb 04 09:37:47 2004] [error] msgAjp.receive(): Bad signature 00
> > > [Wed Feb 04 09:37:47 2004] [error] channelSocket.receive(): Bad header
> > > [Wed Feb 04 09:37:47 2004] [error] workerEnv.processCallbacks() Error
> > > reading reply
> > > [Wed Feb 04 09:37:47 2004] [error] ajp13.service() ajpGetReply
> > > recoverable error 120000
> > > [Wed Feb 04 09:37:47 2004] [error] channelSocket.open() connect failed
> > > 127.0.0.1:8009 111 Connection refused
> > > [Wed Feb 04 09:37:47 2004] [error] ajp13.connect() failed
> > > ajp13:localhost:8009
> > > [Wed Feb 04 09:37:47 2004] [error] ajp13.service() failed to connect
> > > endpoint errno=111 Connection refused
> > >
> > > all these lines are repeated numerous times but at the exact same
time,
> > > to the second, when i tried accessing the JSP page.
> > >
> > > Previously, tomcat would hang on a sunday morning, and I disabled the
> > > jk2 logging feature and it seems to fix this, but it has now since
> > > hanged again.
> > >
> > > Does anyone have any idea what is happening?
> > > thanks
> > > Sam
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> >
> > --
> > Thanks,
> > Josh Rehman
> > Citysearch Toolsdev, 3559
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



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


RE: [Fwd: Catalina suspends for no reason?!?]

Posted by mike jackson <mj...@cdi-hq.com>.
Orangevale is fine, my phone is either 916 987 3600 x0 or 916 212 2019.

--mikej
-=------
mike jackson
mjackson@cdi-hq.com



> -----Original Message-----
> From: Josh Rehman [mailto:jrehman@citysearch.com]
> Sent: Wednesday, February 04, 2004 1:36 PM
> To: Tomcat Users List
> Subject: Re: [Fwd: Catalina suspends for no reason?!?]
> 
> I was under the impression that the start script first checks for
> another Tomcat instance, and bails if it finds one. Is that not true?
> 
> Sam Seaver wrote:
> > I have discovered something that may be in effect linked to my previous
> > email, regard catalina.sh:
> >
> > I use `catalina.sh stop` and `catalina.sh start -security` to restart
> > the tomcat web server.
> >
> > However, I have come to realise that on occaison, the 'stop' command
> > does not work, and when I restart, I thereafter create two copies of the
> > original tomcat. this should not be possible because the first tomcat
> > should be using the same port, and thus blocking the restart, but
> > somehow, the restart does happen??
> >
> > When I stop the second process, then tomcat officially stops working,
> > even though the original process is still runnning.
> >
> > Has this happened to anyone else?
> > Thanks
> > Sam Seaver
> >
> >
> > -------- Original Message --------
> > Subject:     Catalina suspends for no reason?!?
> > Date:     Wed, 04 Feb 2004 10:38:16 -0600
> > From:     Sam Seaver <sa...@northwestern.edu>
> > Reply-To:     Tomcat Users List <to...@jakarta.apache.org>
> > To:     tomcat-user@jakarta.apache.org
> >
> >
> >
> > I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9.
> >
> > It seems every now and then, tomat just simply hangs.  When I try to
> > shutdown the Catalina process via catalina.sh, it doesnt remove the
> > process?! So I have to 'kill -15' it, then start up catalina again.
> >
> > I get very little information as to what happened, but checking jkstatus
> > I can see where the requests stopped in the scoreboard. It's hard to
> > tell sometimes, because httpd serves up the html pages just fine, but
> > its only when I try to access a *.jsp page that i realise catalina is
> > hanging again.
> >
> > The only errors I get are from httpd as listed below:
> >
> > [Wed Feb 04 09:37:47 2004] [error] msgAjp.receive(): Bad signature 00
> > [Wed Feb 04 09:37:47 2004] [error] channelSocket.receive(): Bad header
> > [Wed Feb 04 09:37:47 2004] [error] workerEnv.processCallbacks() Error
> > reading reply
> > [Wed Feb 04 09:37:47 2004] [error] ajp13.service() ajpGetReply
> > recoverable error 120000
> > [Wed Feb 04 09:37:47 2004] [error] channelSocket.open() connect failed
> > 127.0.0.1:8009 111 Connection refused
> > [Wed Feb 04 09:37:47 2004] [error] ajp13.connect() failed
> > ajp13:localhost:8009
> > [Wed Feb 04 09:37:47 2004] [error] ajp13.service() failed to connect
> > endpoint errno=111 Connection refused
> >
> > all these lines are repeated numerous times but at the exact same time,
> > to the second, when i tried accessing the JSP page.
> >
> > Previously, tomcat would hang on a sunday morning, and I disabled the
> > jk2 logging feature and it seems to fix this, but it has now since
> > hanged again.
> >
> > Does anyone have any idea what is happening?
> > thanks
> > Sam
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> 
> --
> Thanks,
> Josh Rehman
> Citysearch Toolsdev, 3559
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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


Re: [Fwd: Catalina suspends for no reason?!?]

Posted by Josh Rehman <jr...@citysearch.com>.
I was under the impression that the start script first checks for 
another Tomcat instance, and bails if it finds one. Is that not true?

Sam Seaver wrote:
> I have discovered something that may be in effect linked to my previous 
> email, regard catalina.sh:
> 
> I use `catalina.sh stop` and `catalina.sh start -security` to restart 
> the tomcat web server.
> 
> However, I have come to realise that on occaison, the 'stop' command 
> does not work, and when I restart, I thereafter create two copies of the 
> original tomcat. this should not be possible because the first tomcat 
> should be using the same port, and thus blocking the restart, but 
> somehow, the restart does happen??
> 
> When I stop the second process, then tomcat officially stops working, 
> even though the original process is still runnning.
> 
> Has this happened to anyone else?
> Thanks
> Sam Seaver
> 
> 
> -------- Original Message --------
> Subject:     Catalina suspends for no reason?!?
> Date:     Wed, 04 Feb 2004 10:38:16 -0600
> From:     Sam Seaver <sa...@northwestern.edu>
> Reply-To:     Tomcat Users List <to...@jakarta.apache.org>
> To:     tomcat-user@jakarta.apache.org
> 
> 
> 
> I have Catalina Tomcat 4.1.24 connected via jk2 to Httpd 2.0.47 on RH9.
> 
> It seems every now and then, tomat just simply hangs.  When I try to 
> shutdown the Catalina process via catalina.sh, it doesnt remove the 
> process?! So I have to 'kill -15' it, then start up catalina again.
> 
> I get very little information as to what happened, but checking jkstatus 
> I can see where the requests stopped in the scoreboard. It's hard to 
> tell sometimes, because httpd serves up the html pages just fine, but 
> its only when I try to access a *.jsp page that i realise catalina is 
> hanging again.
> 
> The only errors I get are from httpd as listed below:
> 
> [Wed Feb 04 09:37:47 2004] [error] msgAjp.receive(): Bad signature 00
> [Wed Feb 04 09:37:47 2004] [error] channelSocket.receive(): Bad header
> [Wed Feb 04 09:37:47 2004] [error] workerEnv.processCallbacks() Error 
> reading reply
> [Wed Feb 04 09:37:47 2004] [error] ajp13.service() ajpGetReply 
> recoverable error 120000
> [Wed Feb 04 09:37:47 2004] [error] channelSocket.open() connect failed 
> 127.0.0.1:8009 111 Connection refused
> [Wed Feb 04 09:37:47 2004] [error] ajp13.connect() failed 
> ajp13:localhost:8009
> [Wed Feb 04 09:37:47 2004] [error] ajp13.service() failed to connect 
> endpoint errno=111 Connection refused
> 
> all these lines are repeated numerous times but at the exact same time, 
> to the second, when i tried accessing the JSP page.
> 
> Previously, tomcat would hang on a sunday morning, and I disabled the 
> jk2 logging feature and it seems to fix this, but it has now since 
> hanged again.
> 
> Does anyone have any idea what is happening?
> thanks
> Sam
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

-- 
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559


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