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 <[EMAIL PROTECTED]> Reply-To: Tomcat Users List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]



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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





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


-- Thanks, Josh Rehman Citysearch Toolsdev, 3559


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



Reply via email to