• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ending Telnet session kills the tomcat process I started  RSS feed

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David - try using 'nohup' to start the TC process.
HTH, Guy
 
Saloon Keeper
Posts: 18800
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!