If the server runs for a while, then disappears:
Check log files for errors. See “Logging and statistics” for details.
On UNIX, check to see if a core file has been generated. On Windows, check for a .log or .dbg file.
Check the console for errors.
If there are no errors, restart the server to capture information next time.
Start the server from the command line, and redirect the output:
UNIX:
start-server.sh > err.out 2>&1
Windows:
start-server.bat >info.out 2 >err.out
On Windows, set the crash handler to userdmp.exe instead of Dr. Watson (drwatson.exe or drwtsn32.exe). See Chapter 6, “Advanced Topics,” for more on debugging tools.
Run the server in debug mode:
start-server.sh[bat] [server] -debug
Implement a service component to periodically write information to the server log. See Chapter 4, “Creating Service Components,” in the EAServer Automated Configuration Guide.