From owner-freebsd-java@FreeBSD.ORG Mon Jul 11 12:59:50 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A79D16A41C for ; Mon, 11 Jul 2005 12:59:50 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0565F43D48 for ; Mon, 11 Jul 2005 12:59:49 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3) with ESMTP id j6BCxmoG067042; Mon, 11 Jul 2005 14:59:48 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.3/8.13.3/Submit) id j6BCxmmp066946; Mon, 11 Jul 2005 14:59:48 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Mon, 11 Jul 2005 14:59:46 +0200 From: Herve Quiroz To: Martin Jakob Message-ID: <20050711125944.GA48664@arabica.esil.univ-mrs.fr> Mail-Followup-To: Martin Jakob , freebsd-java@freebsd.org References: <20654.1120674784@www86.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20654.1120674784@www86.gmx.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: RFC: New port for using Tomcat with jakarta-commons-daemon (jscv) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 12:59:50 -0000 Hi Martin, On Wed, Jul 06, 2005 at 08:33:04PM +0200, Martin Jakob wrote: > BTW, stopping the daemon takes really a long time, but i do not have an idea > why this is the case :( > I will look further into it, but ideas about the cause of this behaviour are > welcome. I've been trying to get this -stop argument working to see if it was faster but with no success to report so far... I believe commons-daemon should provide us with better tools than just kill(1) to stop services. And I find strange that you cannot just do this: $ jsvc -pidfile /var/run/tomcat55.pid -stop Indeed, jsvc wants you to provide a class name, even to stop a service as it seems... > I hope the attached shars make it unharmed to the list. The shars made it unharmed. OTOH, you left some junk files in the second shar file and this will prevent the archive to get extracted on my system. I got it working by removing the related lines in the shar file anyway. :) Herve