From owner-freebsd-java@FreeBSD.ORG Thu Feb 16 18:03:53 2006 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 41EB716A423 for ; Thu, 16 Feb 2006 18:03:53 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: from mail.dc-servers.com (mail.dc-servers.com [83.243.101.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 6AC9043D49 for ; Thu, 16 Feb 2006 18:03:52 +0000 (GMT) (envelope-from work@ashleymoran.me.uk) Received: (qmail 27990 invoked by uid 399); 16 Feb 2006 18:03:54 -0000 Received: from unknown (HELO alfie.jigsawhq.com) (work@ashleymoran.me.uk@213.106.224.113) by mail.dc-servers.com with SMTP; 16 Feb 2006 18:03:54 -0000 From: Ashley Moran Organization: Codeweavers Ltd To: freebsd-java@freebsd.org Date: Thu, 16 Feb 2006 18:02:28 +0000 User-Agent: KMail/1.9.1 References: <43F45D6B.8010900@galt.de> In-Reply-To: <43F45D6B.8010900@galt.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602161802.28921.work@ashleymoran.me.uk> Subject: Re: tomcat55 startup script error? 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: Thu, 16 Feb 2006 18:03:53 -0000 On Thursday 16 February 2006 11:09, Michael Kastner wrote: > I got the same problem with tomcat50. > > Which means have to kill the process if want to restart the server. I recently posted this on questions@. Crdit for the solutions goes to Ceri Davies who pointed out that there is a line in /etc/rc.subr reading: $_procname|$_procnamebn|${_procnamebn}:|"(${_procnamebn})")' Which must be changed to (one line): $_procname|$_procnamebn| ${_procnamebn}:|"(${_procnamebn})"|"[${_procnamebn}]")' Are you two both using 5.4? My 5.4 webserver has the first line in /etc/rc.subr, whereas my 6.0 desktop has the second. Presumably the new rc script for tomcat was written with 6.0 in mind. Ashley