• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Ending Telnet session kills the tomcat process I started

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
David - try using 'nohup' to start the TC process.
HTH, Guy
 
Saloon Keeper
Posts: 28713
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic