-
1. Re: JBoss process suddenly terminates from time to time
zhulin Oct 24, 2008 8:46 AM (in response to nulldevice)Are you running on a hosted machined? I know some hosting services don't allow long-running processes. The process simple dies after a period of time.
Lin -
2. Re: JBoss process suddenly terminates from time to time
nulldevice Oct 24, 2008 9:11 AM (in response to nulldevice)
Yes im using a rootserver from http://www.synserver.de/
But i didn't notice that with other permanently running processes there yet. And also they don't say anything like that in their contract.
Possibly i should mail them and ask them to make it sure... hmm -
3. Re: JBoss process suddenly terminates from time to time
nulldevice Oct 24, 2008 9:34 AM (in response to nulldevice)
Ok i just talked to them - nope they are not doing that on that server.
Any other suggestions what it could be? Or where should i start to search for the problem. -
4. Re: JBoss process suddenly terminates from time to time
zhulin Oct 24, 2008 11:12 AM (in response to nulldevice)You can use process monitoring tools such as monit or ps-watcher to restart jboss when the process dies, at least until you find out the cause of the process to terminate.
-
5. Re: JBoss process suddenly terminates from time to time
peterj Oct 24, 2008 11:56 AM (in response to nulldevice)In the server.log file, was there a shutdown message like the following:
2008-10-22 11:27:18,253 INFO [org.jboss.system.server.Server] Shutting down the server, blockingShutdown: false
2008-10-22 11:27:18,269 INFO [org.jboss.system.server.Server] Server exit(0) called
2008-10-22 11:27:18,269 INFO [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2008-10-22 11:27:18,269 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
If there was, then something is signaling the app server to shut down. If not, then either the JVM is crashing or something else in the operating system is forcefully terminating the process.
How is the app server being started? Others have started using a remote shell and have had the app server terminate when closing the shell. -
6. Re: JBoss process suddenly terminates from time to time
nulldevice Oct 24, 2008 12:31 PM (in response to nulldevice)"PeterJ" wrote:
In the server.log file, was there a shutdown message like the following...
Nope, there was not. These lines never showed up there. So i guess our JVM crashes from time to time maybe. I can't imagine what processes should be there trying to kill/quit it, none i think.
How is the app server being started? Others have started using a remote shell and have had the app server terminate when closing the shell.
Its started by remote shell, but detached from it with "&" .
Regards,
NDev -
7. Re: JBoss process suddenly terminates from time to time
peterj Oct 24, 2008 1:15 PM (in response to nulldevice)Try starting it with nohup and see if that helps. I think that the '&' just runs the process in the background, but that process is still a child of the shell process.