Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to run Tomcat on Ubuntu System from a remote host. However, when I exit the terminal, Tomcat process shuts down.

The command I am using to run it is

nohup ./startup.sh &
share|improve this question

1 Answer 1

up vote 1 down vote accepted

Just start tomcat with its startup script:

sudo /etc/init.d/tomcat5 start 

or

sudo /etc/init.d/tomcat6 start 

or

sudo /etc/init.d/tomcat7 start 
share|improve this answer
    
I am using Tomcat 7 and trying to start tomcat from the tomcat/bin folder –  Abhishek Jul 10 '11 at 15:39
    
what about using /etc/init.d/tomcat7? –  binfalse Jul 10 '11 at 15:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.