tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Lipofsky" <dan...@nuserve.com>
Subject Re: Tomcat stop when exit telnet session
Date Fri, 04 Oct 2002 17:05:48 GMT
> You onlu have to run tomcat like this: (I did this in Tomcat 3.3)
> nohup tomcat.sh start > nohup.out
>
> So in the nohup.out file Tomcat will store all the console messages.
> In fact, it's a unix "patch"...  :-)

The syntax I use is

nohup tomcat.sh start

nohup already redirects everything to nohup.out, so the explicit
redirection is unneccessary and prehaps harmful.  Also, the "&"
shown in another post is also bad - nohup already runs the process
in the background for you, and using "&" put nohup itself in the background.
- Dan



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message