Ending Telnet session kills the tomcat process I started
David Rocks
Ranch Hand
Joined: Apr 24, 2001
Posts: 160
posted
0
Hi I hope someone can help me with my problem. i deploy my sites on a remote solaris box and administrate them through a telnet session from microsoft 2000. The problem is that if i start a tomcat, bin/startup.sh, and then end my telnet session it seems to kill the process. it is pretty annoying having this window on my desktop. it is a liability if i get mouse happy and start closing windows thus dropping my sites. I can see my printlns on the prompt. I am no unix mastermind but i thought that if you put an & after the command it happens in the background but this seems not to do anything. should i put this in the startup.sh file after the java line? Thanks in advance for any help David
Guy Allard
Ranch Hand
Joined: Nov 24, 2000
Posts: 776
posted
0
David - try using 'nohup' to start the TC process. HTH, Guy
I'd do a little reasearch. The Linux RPM contains a script that makes Tomcat runnable as a system daemon rather than being a user task. Certainly I'd expect Solaris to have a similar solution.
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
subject: Ending Telnet session kills the tomcat process I started