From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 14 13:34:47 2007 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0ABF16A41B; Fri, 14 Sep 2007 13:34:47 +0000 (UTC) (envelope-from boris@brooknet.com.au) Received: from pecan.exetel.com.au (pecan.exetel.com.au [220.233.0.17]) by mx1.freebsd.org (Postfix) with ESMTP id B20AA13C442; Fri, 14 Sep 2007 13:34:47 +0000 (UTC) (envelope-from boris@brooknet.com.au) Received: from 28.201.233.220.exetel.com.au ([220.233.201.28] helo=[192.168.100.148]) by pecan.exetel.com.au with esmtp (Exim 4.63) (envelope-from ) id 1IW6yi-0007qG-Lz; Fri, 14 Sep 2007 18:56:44 +1000 In-Reply-To: <20070914031852.240aa6e1@deimos.mars.bsd> References: <200709100213.l8A2D0rZ083480@freefall.freebsd.org> <20070914031852.240aa6e1@deimos.mars.bsd> Mime-Version: 1.0 (Apple Message framework v752.3) X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <44E173D8-CF4C-4461-A9B9-31A83F42B549@brooknet.com.au> Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Fri, 14 Sep 2007 18:56:47 +1000 To: Alejandro Pulver X-Mailer: Apple Mail (2.752.3) Cc: Anton Yudin , freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/115717: New port: java/exist, eXist is an Open Source native XML database X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2007 13:34:48 -0000 On 14/09/2007, at 4:18 PM, Alejandro Pulver wrote: > Hello. > > The port's wrapper script doesn't stop the application (however if you > run shutdown.sh without parameters it works), and can't determine when > it's running. This could just be a problem with the arguments. But may > be solved with the solution below (javaservicewrapper). > > There are two ways of determining if a process is running: by a PID > file or process name. In this case the process name should be used, > but > it's '[java]' so can't be differentiated from others. I believe the tomcat ports have dealt with this - check their rc scripts.