This content has been marked as final.
Show 2 replies
-
1. Re: JBOSS shuts down after 2 hours
clevanger Jun 21, 2003 7:51 PM (in response to datapulse)Your ssh session from putty probably timed out and closed, thus closing the jboss session as well. You can maybe avoid this by doing a run.sh & but best practice would be to make a startup script for init.d or such.
Best of luck
Cam -
2. Re: JBOSS shuts down after 2 hours
patmau Jun 22, 2003 7:27 AM (in response to datapulse)Hi datapulse,
I use "screen" to start JBoss from my init scripts. It will detach
after startup and you can re-attach to the screen session with
screen -r
If you don't know about "screen", install your distros package
and type "man screen".
I included my script; you'll have to change the server name
"tony" to your server (maybe "default" ?). Also note that I
use "su - jboss" to start jboss with its own user id.
Hope you like it, it's a neat trick,
Patrick