Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 94958 invoked from network); 8 Jul 2004 20:27:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jul 2004 20:27:14 -0000 Received: (qmail 43364 invoked by uid 500); 8 Jul 2004 20:26:50 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 43261 invoked by uid 500); 8 Jul 2004 20:26:49 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 43247 invoked by uid 99); 8 Jul 2004 20:26:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [132.236.56.39] (HELO postoffice9.mail.cornell.edu) (132.236.56.39) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 08 Jul 2004 13:26:46 -0700 Received: from [128.253.38.244] (defiant.ento.cornell.edu [128.253.38.244]) by postoffice9.mail.cornell.edu (8.12.10/8.12.6) with ESMTP id i68KQg7o016278 for ; Thu, 8 Jul 2004 16:26:42 -0400 (EDT) Message-ID: <40EDAE02.9050505@cornell.edu> Date: Thu, 08 Jul 2004 16:26:42 -0400 From: David Smith User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How do you shut down tomcat when using JSVC? References: <200407081944.i68JiOtO011106@filter02.mail.cornell.edu> In-Reply-To: <200407081944.i68JiOtO011106@filter02.mail.cornell.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Unless you got it pre-built from somewhere it should be there. It's in the jsvc source tree under src/native/unix/native/Tomcat5.sh. A copy of the jsvc source tree comes with tomcat as jsvc.tar.gz in the tomcat/bin directory. --David Ivan Jouikov wrote: >No script came with jsvc... There's an executable called "jsvc" but it's not a script. > > > >>-----Original Message----- >>From: David Smith [mailto:dns4@cornell.edu] >>Sent: Thursday, July 08, 2004 6:42 AM >>To: Tomcat Users List >>Subject: Re: How do you shut down tomcat when using JSVC? >> >>Are you using the script that came with jsvc to launch it? If so, >>starting is done with 'tomcat5 start' and shutdown with 'tomcat5 stop'. >>If you fully installed this as a service by putting the tomcat5 script >>in /etc/init.d, then a simple 'service tomcat5 start' will start and >>'service tomcat5 stop' as root will stop it. >> >>If you aren't using the tomcat5 script, take a look at it in the source >>dist for how to stop tomcat. I believe the script just does a kill on >>the jsvc tomcat process. Not the prettiest way of doing things, but it >>works. >> >>--David >> >>Ivan Jouikov wrote: >> >> >> >>>Hey everyone! >>> >>> >>> >>>I am using JSVC to start up tomcat and run it as “tomcat5” user. It >>>seems to work fine. However, there’s one problem – I can’t shut it >>> >>> >>down. >> >> >>> >>>If I use shutdown.sh, it gives me an exception saying that connection >>>was refused. >>> >>> >>> >>>If I start tomcat using startup.sh instead of jsvc, everything works >>>just fine. So, how do you shut down your tomcat daemon when using jsvc? >>> >>> >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>>Best Regards, >>> >>>Ivan V. Jouikov >>>(206) 228-6670 >>> >>> >>> >>> >>> >>>--- >>>Outgoing mail is certified Virus Free. >>>Checked by AVG anti-virus system (http://www.grisoft.com). >>>Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 >>> >>> >>> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >>--- >>Incoming mail is certified Virus Free. >>Checked by AVG anti-virus system (http://www.grisoft.com). >>Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 >> >> >> > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004 > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org