tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: How to turn off tomcat daemon?
Date Thu, 03 Jul 2008 12:28:02 GMT
If starting using sudo, then shutdown will also use sudo.

--David

kjwchu wrote:
> 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


Mime
View raw message