From owner-freebsd-java@FreeBSD.ORG Mon Dec 29 05:07:12 2003 Return-Path: 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 DAA4F16A4CE for ; Mon, 29 Dec 2003 05:07:12 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12E8C43D2D for ; Mon, 29 Dec 2003 05:07:11 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id hBTD78FO063652 for ; Mon, 29 Dec 2003 15:07:08 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from hal.noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id hBTD78KY088963 for ; Mon, 29 Dec 2003 15:07:08 +0200 (EET) (envelope-from past@noc.ntua.gr) From: Panagiotis Astithas Organization: NTUA/NMC To: java@freebsd.org Date: Mon, 29 Dec 2003 15:07:08 +0200 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312291507.08541.past@noc.ntua.gr> Subject: Tomcat's daemonctl script X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 13:07:13 -0000 Hi all, I' ve been bitten by the fact that tomcat from ports installs a binary script to control its status. The unfortunate fact is that when you upgrade the jdk, the port has to be upgraded too, since it contains a hardcoded reference to the java program's path. This could be tolerated in a personal system, but on a farm-like environment with more than a dozen hosts, it becomes a maintenance nightmare. I have resorted temporarily to creating symlinks from jdk1.4.2 to jdk1.4.1, but overall I agree with Sheldon Hearn's opinion in: http://docs.freebsd.org/cgi/mid.cgi?20031215123601.GU13737 Could we please provide an regular rc.d script as we do for every other service? Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece