tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hauck, Joe" <JHa...@lca.com>
Subject RE: Tomcat stop when exit telnet session
Date Fri, 04 Oct 2002 18:03:09 GMT
In Solaris you can use the nohup command to run a program without ending
when the session ends.

So for tomcat it would be:

nohup $CATALINA_HOME/bin/startup.sh

Joe.

-----Original Message-----
From: Nancy Crisostomo Martinez [mailto:nancycm@correo.uqroo.mx] 
Sent: Friday, October 04, 2002 1:22 PM
To: Tomcat Users List
Subject: Re: Tomcat stop when exit telnet session


Jon, I even tried the "&", but it didn't work for me. I don't know
why...but maybe it really works for Fong...



jon wingfield wrote:

> I've never used solaris8 so the following may be in error, but here 
> goes.
>
> On linux using & seems not only to put the process in the background 
> but also seems to be nohup (no hang up). On hp-ux 10/11 using & seems 
> only to put the process in the background and NOT nohup.
>
> So, i surmise that solaris8 is behaving like hp-ux and that you need 
> to use the nohup command instead of just putting the process in the 
> background.
>
> so i would try:
>
> nohup /etc/init.d/tomcat4 start &
>
> Hope this helps,
>
> Jon
>
> -----Original Message-----
> From: fong [mailto:fong@shunkam.com]
> Sent: 04 October 2002 16:45
> To: Tomcat Users List
> Subject: Tomcat stop when exit telnet session
>
> I install tomcat 4.X in solaris8. I run "/etc/init.d/tomcat4 start &" 
> to start tomcat in telnet session from win2K. That is ok.
>
> But when I close the telnet session. This service is also stop. So I 
> can't use tomcat web services.
>
> How can I keep it running?
>
> Much thanks...
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@jakarta.apache.org>


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


--
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