Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000323 [Resin] minor always 07-20-05 00:00 11-30-05 14:43
Reporter user319 View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000323: "Server died unexpectedly" when Resin starts at linux bootup
Description RSN-367
I've noted this issue showing up on a few message boards without anyone giving any kind of resolution. I can't really say whether this is an actual bug, or just a failure on the part of the user (including myself). Essentially, when Resin is started via httpd.sh during the Linux init sequence, shell environment variables such as JAVA_HOME may not be set. The result is that as soon as the keep-alive part of the wrapper.pl script kicks in, the user gets a message saying "Server died unexpectedly" and is told to check stderr.log and stdout.log. Neither log file provides any information that would be helpful to a user trying to determine why his server is failing on boot. However, jvm.log DOES give the answer with a "Can't start java: ..." message. While a lack of environment variables during init technically qualifies as a user error and not a bug in Resin, it would be nice if the stderr or stdout logs would inform the user that Resin failed because "java" could not be found.

If nothing else, it would be helpful to see a suggestion like "Try changing your start-up file to read: /path/to/resin/bin/httpd.sh start -java-exe /path/to/java_home/bin/java", which is at least a useful temporary fix.
Additional Information Linux
Attached Files

- Relationships

- Notes
(0000370)
ferg
07-20-05 00:00

Added more informative error message.
 

- Issue History
Date Modified Username Field Change
07-20-05 00:00 user319 New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:43 ferg Status resolved => closed
05-04-10 09:29 swamisubra Issue Monitored: swamisubra


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