Re: What can cause a clean Tomcat shutdown?

2002-07-16 Thread Attila Szegedi

- Original Message -
From: Larry Isaacs [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: 2002. jlius 15. 22:38
Subject: RE: What can cause a clean Tomcat shutdown?


 I am not aware of any way to have a spontaneous clean shutdown in
 Tomcat 3.3.1 (besides sending a shutdown message like shutdown.sh
 does).

 If feasible, I would recommend compiling a custom version of
 Tomcat 3.3.1, with extra logging added to help detect the cause.
 I would start with ContextManager.shutdown().  Add some logging
 (there doesn't appear to be helpful logging there by default),
 and print a stack trace.  Then see where the logs lead you, adding
 more logging as needed.

Thanks for the suggestion, Larry.

Since every servlet's destroy() is called as well, I've placed a stack trace
dump into one of load-on-startup servlet's destroy() method (not that I'm
afraid of custom-compiling Tomcat, just this seemed simpler). Now waiting to
see what comes up (since we experience approx. one shutdown weekly, we have
to be patient). I'll analyze the situation when I have the stack trace and
post the findings here.

Cheers,
  Attila.


 Cheers,
 Larry

  -Original Message-
  From: Attila Szegedi [mailto:[EMAIL PROTECTED]]
  Sent: Monday, July 15, 2002 9:51 AM
  To: Tomcat Users List
  Subject: What can cause a clean Tomcat shutdown?
 
 
  Guys, I'm asking this question again in hope someone notices
  this time:
 
  Except for the stop command sent to the Ajp12 connector, is
  there another
  event that will cause a Tomcat 3.3.1 to shut down cleanly?
 
  We experience sporadic spontaneous clean shutdowns of
  Tomcat 3.3.1 and
  have no idea what causes them. We know these are normal
  shutdowns since the
  servlet log shows the contexts are being unloaded and
  servlets' destroy()
  methods are being called - just as if someone has issued a
  tomcat.sh stop
  (before you ask: nobody does).
 
  Any clues appreciated.
  Cheers,
Attila.
 
  --
  Attila Szegedi
  home: http://www.szegedi.org
 
 
  --
  To unsubscribe, e-mail:
  mailto:tomcat-user- [EMAIL PROTECTED]
  For
  additional commands,
  e-mail: mailto:[EMAIL PROTECTED]
 

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






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




What can cause a clean Tomcat shutdown?

2002-07-15 Thread Attila Szegedi

Guys, I'm asking this question again in hope someone notices this time:

Except for the stop command sent to the Ajp12 connector, is there another
event that will cause a Tomcat 3.3.1 to shut down cleanly?

We experience sporadic spontaneous clean shutdowns of Tomcat 3.3.1 and
have no idea what causes them. We know these are normal shutdowns since the
servlet log shows the contexts are being unloaded and servlets' destroy()
methods are being called - just as if someone has issued a tomcat.sh stop
(before you ask: nobody does).

Any clues appreciated.
Cheers,
  Attila.

--
Attila Szegedi
home: http://www.szegedi.org


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




Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira


What about System.exit() in a servlet?

RS





Attila Szegedi [EMAIL PROTECTED] on 07/15/2002 08:51:20 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:What can cause a clean Tomcat shutdown?

Guys, I'm asking this question again in hope someone notices this time:

Except for the stop command sent to the Ajp12 connector, is there another
event that will cause a Tomcat 3.3.1 to shut down cleanly?

We experience sporadic spontaneous clean shutdowns of Tomcat 3.3.1 and
have no idea what causes them. We know these are normal shutdowns since the
servlet log shows the contexts are being unloaded and servlets' destroy()
methods are being called - just as if someone has issued a tomcat.sh stop
(before you ask: nobody does).

Any clues appreciated.
Cheers,
  Attila.

--
Attila Szegedi
home: http://www.szegedi.org


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










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




Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira


I think I spoke a little too quicky earlier. Sorry. I believe System.exit()
doesn't unload the web applications. Presently I can't think of any other
way for a clean Tomcat shutdown.

RS





[EMAIL PROTECTED] on 07/15/2002 09:38:54 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:Re: What can cause a clean Tomcat shutdown?


What about System.exit() in a servlet?

RS





Attila Szegedi [EMAIL PROTECTED] on 07/15/2002 08:51:20 AM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:What can cause a clean Tomcat shutdown?

Guys, I'm asking this question again in hope someone notices this time:

Except for the stop command sent to the Ajp12 connector, is there another
event that will cause a Tomcat 3.3.1 to shut down cleanly?

We experience sporadic spontaneous clean shutdowns of Tomcat 3.3.1 and
have no idea what causes them. We know these are normal shutdowns since the
servlet log shows the contexts are being unloaded and servlets' destroy()
methods are being called - just as if someone has issued a tomcat.sh stop
(before you ask: nobody does).

Any clues appreciated.
Cheers,
  Attila.

--
Attila Szegedi
home: http://www.szegedi.org


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










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










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




Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread Attila Szegedi

Well yes, that's what puzzles us as well - it performs a clean shutdown
without anyone running tomcat.sh stop. Also, the 8007 port is blocked by a
firewall so it can't receive it from afar (and wouldn't react to a
non-localhost stop command anyway...).

Attila.

- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 5:32 PM
Subject: Re: What can cause a clean Tomcat shutdown?



 I think I spoke a little too quicky earlier. Sorry. I believe
System.exit()
 doesn't unload the web applications. Presently I can't think of any other
 way for a clean Tomcat shutdown.

 RS





 [EMAIL PROTECTED] on 07/15/2002 09:38:54 AM

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:Tomcat Users List [EMAIL PROTECTED]
 cc:

 Subject:Re: What can cause a clean Tomcat shutdown?


 What about System.exit() in a servlet?

 RS





 Attila Szegedi [EMAIL PROTECTED] on 07/15/2002 08:51:20 AM

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:Tomcat Users List [EMAIL PROTECTED]
 cc:

 Subject:What can cause a clean Tomcat shutdown?

 Guys, I'm asking this question again in hope someone notices this time:

 Except for the stop command sent to the Ajp12 connector, is there another
 event that will cause a Tomcat 3.3.1 to shut down cleanly?

 We experience sporadic spontaneous clean shutdowns of Tomcat 3.3.1 and
 have no idea what causes them. We know these are normal shutdowns since
the
 servlet log shows the contexts are being unloaded and servlets' destroy()
 methods are being called - just as if someone has issued a tomcat.sh
stop
 (before you ask: nobody does).

 Any clues appreciated.
 Cheers,
   Attila.

 --
 Attila Szegedi
 home: http://www.szegedi.org


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










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










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






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




RE: What can cause a clean Tomcat shutdown?

2002-07-15 Thread Larry Isaacs

I am not aware of any way to have a spontaneous clean shutdown in
Tomcat 3.3.1 (besides sending a shutdown message like shutdown.sh
does).

If feasible, I would recommend compiling a custom version of
Tomcat 3.3.1, with extra logging added to help detect the cause.
I would start with ContextManager.shutdown().  Add some logging
(there doesn't appear to be helpful logging there by default),
and print a stack trace.  Then see where the logs lead you, adding
more logging as needed.

Cheers,
Larry

 -Original Message-
 From: Attila Szegedi [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, July 15, 2002 9:51 AM
 To: Tomcat Users List
 Subject: What can cause a clean Tomcat shutdown?
 
 
 Guys, I'm asking this question again in hope someone notices 
 this time:
 
 Except for the stop command sent to the Ajp12 connector, is 
 there another
 event that will cause a Tomcat 3.3.1 to shut down cleanly?
 
 We experience sporadic spontaneous clean shutdowns of 
 Tomcat 3.3.1 and
 have no idea what causes them. We know these are normal 
 shutdowns since the
 servlet log shows the contexts are being unloaded and 
 servlets' destroy()
 methods are being called - just as if someone has issued a 
 tomcat.sh stop
 (before you ask: nobody does).
 
 Any clues appreciated.
 Cheers,
   Attila.
 
 --
 Attila Szegedi
 home: http://www.szegedi.org
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 

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




Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread rsequeira


Well hope you don't have some kind of cron job that periodically shuts
Tomcat down.

RS





Attila Szegedi [EMAIL PROTECTED] on 07/15/2002 03:24:51 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:Re: What can cause a clean Tomcat shutdown?

Well yes, that's what puzzles us as well - it performs a clean shutdown
without anyone running tomcat.sh stop. Also, the 8007 port is blocked by
a
firewall so it can't receive it from afar (and wouldn't react to a
non-localhost stop command anyway...).

Attila.

- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 5:32 PM
Subject: Re: What can cause a clean Tomcat shutdown?



 I think I spoke a little too quicky earlier. Sorry. I believe
System.exit()
 doesn't unload the web applications. Presently I can't think of any other
 way for a clean Tomcat shutdown.

 RS





 [EMAIL PROTECTED] on 07/15/2002 09:38:54 AM

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:Tomcat Users List [EMAIL PROTECTED]
 cc:

 Subject:Re: What can cause a clean Tomcat shutdown?


 What about System.exit() in a servlet?

 RS





 Attila Szegedi [EMAIL PROTECTED] on 07/15/2002 08:51:20 AM

 Please respond to Tomcat Users List [EMAIL PROTECTED]

 To:Tomcat Users List [EMAIL PROTECTED]
 cc:

 Subject:What can cause a clean Tomcat shutdown?

 Guys, I'm asking this question again in hope someone notices this time:

 Except for the stop command sent to the Ajp12 connector, is there another
 event that will cause a Tomcat 3.3.1 to shut down cleanly?

 We experience sporadic spontaneous clean shutdowns of Tomcat 3.3.1 and
 have no idea what causes them. We know these are normal shutdowns since
the
 servlet log shows the contexts are being unloaded and servlets' destroy()
 methods are being called - just as if someone has issued a tomcat.sh
stop
 (before you ask: nobody does).

 Any clues appreciated.
 Cheers,
   Attila.

 --
 Attila Szegedi
 home: http://www.szegedi.org


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










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










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






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










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




Re: What can cause a clean Tomcat shutdown?

2002-07-15 Thread Joel Rees

 
 Well hope you don't have some kind of cron job that periodically shuts
 Tomcat down.
 
 RS

You mean, like a root kit?


-- 
Joel Rees [EMAIL PROTECTED]


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