Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001074 [Resin] minor always 04-24-06 13:41 07-18-06 16:16
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0001074: shutdown behavior
Description (rep by Bill Au)

I am using my own shell script to stop resin. It calls https.sh stop.
After that it ensures that resin has stopped by executing the ps command
and to see if the process is still running. It does so for 300 seconds
before timing out.

I had an isolated instance where the stop script timed out
after 300 seconds. We were able to stop resin by running the
stop script again. I found the following in resin.stdout:

Stopping httpd
[2006-04-21 11:17:14.752] Server[] stopping
[2006-04-21 11:17:14.775] Host[] stopping
[2006-04-21 11:17:14.775] WebApp[http://localhost:8100] [^] stopping
[2006-04-21 11:17:14.793] directory: destroy
[2006-04-21 11:17:14.793] resin-file: destroy
[2006-04-21 11:17:14.793] status: destroy
[2006-04-21 11:17:14.794] WebApp[http://localhost:8100/webapp1] [^] stopping
[2006-04-21 11:17:14.871] WebApp[] starting
[2006-04-21 11:17:15.101] directory: destroy
[2006-04-21 11:17:15.101] resin-file: destroy
[2006-04-21 11:17:15.116] WebApp[http://localhost:8100/webapp2] [^] stopping
[2006-04-21 11:17:15.117] resin-file: destroy
[2006-04-21 11:17:15.119] WebApp[http://localhost:8100/webapp3] [^] stopping
[2006-04-21 11:17:15.120] resin-file: destroy
[2006-04-21 11:17:15.121] WebApp[http://localhost:8100/webapp4] [^] stopping
[2006-04-21 11:17:15.122] directory: destroy
[2006-04-21 11:17:15.122] resin-file: destroy

I did not expect to see the "WebApp[] staring" message during shutdown.
In addtional, it differs from the normal starting messages that I am
used to see in that the port and webapp name
usually shows up in between the [].

I check the access log and found that there were 4 requests at the time
resin was being stopped. Three of them returned with a 200 response
while the other one returned with a 500 response.
Could they have caused the mysterious "WebApp[] starting" message?

Will <shutdown-wait-strategy> (http://bugs.caucho.com/view.php?id=1057) [^]
resolve this problem for me?

Additional Information
Attached Files

- Relationships

- Notes
(0001417)
ferg
07-18-06 16:16

It is still possible for a 503 message to cause a web-app to be created if the servlet engine doesn't have an error web-app available, since Resin's error handling is always through a web-app, even if it's a dummy one.
 

- Issue History
Date Modified Username Field Change
04-24-06 13:41 ferg New Issue
07-18-06 16:16 ferg Note Added: 0001417
07-18-06 16:16 ferg Assigned To  => ferg
07-18-06 16:16 ferg Status new => closed
07-18-06 16:16 ferg Resolution open => fixed
07-18-06 16:16 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker