tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kjwchu <k...@callidussoftware.com>
Subject Re: How to turn off tomcat daemon?
Date Wed, 02 Jul 2008 19:07:49 GMT

I started tomcat with sudo.
So I think I should use sudo to turn it off.
However, the jsvc process is still there.


[nreg@lin-vmenfalcon bin]$ sudo ./jsvc -stop -pidfile ../temp/jsvc.pid
org.apache.catalina.startup.Bootstrap
Password:
[nreg@lin-vmenfalcon bin]$ ps -ef | grep jsvc
root     30117     1  0 Jul01 ?        00:00:00 jsvc.exec -cp
./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile
./logs/catalina.err -pidfile ./temp/jsvc.pid
org.apache.catalina.startup.Bootstrap
root     30118 30117  0 Jul01 ?        00:00:04 jsvc.exec -cp
./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile
./logs/catalina.err -pidfile ./temp/jsvc.pid
org.apache.catalina.startup.Bootstrap
[nreg@lin-vmenfalcon bin]$







Steve Ochani wrote:
> 
> On 2 Jul 2008 at 11:29, kjwchu wrote:
> 
> Date sent:      	Wed, 02 Jul 2008 11:29:36 -0700 (PDT)
> From:           	kjwchu <kchu@callidussoftware.com>
> Subject:        	How to turn off tomcat daemon?
> To:             	users@tomcat.apache.org
> Send reply to:  	Tomcat Users List <users@tomcat.apache.org>
> 
>> 
>> I ran tomcat as a  daemon via the command below:
>> ./bin/jsvc -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out
>> -errfile
>> ./logs/catalina.err org.apache.catalina.startup.Bootstrap
>> 
>> How to turn if off?
>> 
> 
> from the Tomcat5.sh in jsvc.tar.gz:
> 
> $DAEMON_HOME/src/native/unix/jsvc \
>     -stop \
>     -pidfile $PID_FILE \
>     org.apache.catalina.startup.Bootstrap
> 
> 
> -Steve O.
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-turn-off-tomcat-daemon--tp18243892p18244593.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message