From owner-freebsd-java@FreeBSD.ORG Tue Jul 26 07:33:47 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 D383D16A41F for ; Tue, 26 Jul 2005 07:33:47 +0000 (GMT) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [62.103.84.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id B77D943D46 for ; Tue, 26 Jul 2005 07:33:45 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id j6Q7XbKU065730; Tue, 26 Jul 2005 10:33:37 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.184] (ajax.ebs.gr [10.1.1.184]) by ebs.gr (8.13.3/8.12.11) with ESMTP id j6Q7XZ2R099877; Tue, 26 Jul 2005 10:33:35 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.0.338 [267.9.4]); Tue, 26 Jul 2005 10:33:35 +0300 Message-ID: <42E5E74F.3080700@ebs.gr> Date: Tue, 26 Jul 2005 10:33:35 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Herve Quiroz References: <88B5DDE8C1A06741B754B910DE2DEFBB49AA2A@HERMES.swistgroup.com> <20050725212138.GA13849@arabica.esil.univ-mrs.fr> In-Reply-To: <20050725212138.GA13849@arabica.esil.univ-mrs.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Conrad Burger , freebsd-java@freebsd.org Subject: Re: Tomcat 5.5 --- tomcat55ctl --- increase max vm heap space ? 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: Tue, 26 Jul 2005 07:33:47 -0000 Herve Quiroz wrote: > Hi Achilleus, > > On Wed, Jul 20, 2005 at 05:31:48PM +0300, Achilleus Mantzios wrote: > >>I have probably missed something, but >>why can't tomcat be started as a shellscript >>as jboss does? > > > Well, actually jboss is launched using an executable which is also a C > program... > > But actually I tend to agree with you on the shell script front. There > may have been some historical reason to the tomcatctl.c program but I > believe the most clean approach is probably the one from PR 38018 [1]. > > I have been trying to get the commons-daemon stuff working but there are > still issues (e.g. it takes forever to shutdown the service) to overcome > and I don't see what jsvc does actually provide more than what > catalina.sh + rcNG already do. I am starting to think that jsvc is good > when your system don't provide features such as the ones that are > provided by rcNG (PID file, run as user, start/stop...) > > Please, all people motivated by this issue have a look at PR 33018 [1] > and tell me if there is something wrong with a plain rcNG shell script. > Whether there is indeed some mandatory feature that can only be provided by > some C program or not, we need to know it so we can already close some > PRs and find a solution, at last. > > FYI, a ports CVS freeze is coming (6.0 release) in a few days now... > > Herve IMHO, the approach in PR 38018 is a reasonable and future-proof one. I agree with everything you say above. IIRC the only thing a C program buys us is the ability to bind directly on privileged ports (e.g. 80, 443). I have had a hard time persuading other people that this is better than having the stock launcher script, though. Cheers, Panagiotis