Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 70421 invoked from network); 2 Jul 2008 19:08:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2008 19:08:33 -0000 Received: (qmail 90385 invoked by uid 500); 2 Jul 2008 19:08:23 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 90367 invoked by uid 500); 2 Jul 2008 19:08:23 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 90356 invoked by uid 99); 2 Jul 2008 19:08:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 12:08:23 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 19:07:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KE7gD-0005Cw-Gd for users@tomcat.apache.org; Wed, 02 Jul 2008 12:07:49 -0700 Message-ID: <18244593.post@talk.nabble.com> Date: Wed, 2 Jul 2008 12:07:49 -0700 (PDT) From: kjwchu To: users@tomcat.apache.org Subject: Re: How to turn off tomcat daemon? In-Reply-To: <486B95A6.7207.3B291338@ochanis.ncc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: kchu@callidussoftware.com References: <18243892.post@talk.nabble.com> <486B95A6.7207.3B291338@ochanis.ncc.edu> X-Virus-Checked: Checked by ClamAV on apache.org 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 > Subject: How to turn off tomcat daemon? > To: users@tomcat.apache.org > Send reply to: Tomcat Users List > >> >> 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