This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Weblogic is shutting down automatically very often. In the error log "+ set +x" is getting printed. There is no message in the log , stating weblogic is stopped .. but when we look at the process running in unix machine using ps command java process is not running. this is happening very very often.. 4 times or 5 times in a day when the users are accessing ..
Hi Kavitha, Check out your web-application which you have hosted on weblogic, check out on accessing which component it gets shut down! From your explination it seems that somewhere your code is killing jvm(e.g System.exit(0)) instance of weblogic.
In addition to what Sachin has pointed out, there is one more common mistake in the unix weblogic startup script is thatdevelopers tend to run the script in the background and the server will be running only till you/developer keeps the unix/telnet session active. Once the sessio is inactive and timesout the weblogic server also goes down.
This is due to the java process is atarted in the same shell as the user shell.
Joined: Mar 31, 2006
Small correction : Generally the startup scripts are not configured to run in background and script runs in same/user (also called current) shell by default
Check your wls and jrockit version, I've experienced similar problems when buggy code runs, and crashes the JVM. The newer JRockit is able to handle it gracefully, and just throw an exception. [ February 08, 2007: Message edited by: Chu Tan ]