From owner-freebsd-rc@FreeBSD.ORG Sat Jun 21 11:17:06 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E4CC1065673 for ; Sat, 21 Jun 2008 11:17:06 +0000 (UTC) (envelope-from mtm@wubethiopia.com) Received: from dire.wubethiopia.com (j071.v.rootbsd.net [208.79.82.223]) by mx1.freebsd.org (Postfix) with ESMTP id 316618FC15 for ; Sat, 21 Jun 2008 11:17:06 +0000 (UTC) (envelope-from mtm@wubethiopia.com) Received: from rogue.mike.lan (unknown [213.55.65.238]) by dire.wubethiopia.com (Postfix) with ESMTPSA id 877824FD99D2; Sat, 21 Jun 2008 11:16:43 +0000 (UTC) Message-ID: <485CE442.4050904@wubethiopia.com> Date: Sat, 21 Jun 2008 14:21:38 +0300 From: Mike Makonnen User-Agent: Thunderbird 2.0.0.12 (X11/20080323) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jo=E3o_Maca=EDba?= References: <1213927980.16027.8.camel@cons> In-Reply-To: <1213927980.16027.8.camel@cons> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-rc@freebsd.org, jonc@chen.org.nz Subject: Re: /usr/local/etc/rc.d/jboss4 :: jboss4ctl X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2008 11:17:06 -0000 João Macaíba wrote: > Hi. > > I suppose this is the right mailing list for the question below. If it > is not, please tell me. > > > I've installed JBoss-4.2.2.GA using the ports system. > > When we start jboss using /usr/local/etc/rc.d/jboss4, we have jboss > binding to 127.0.0.1. > > I know from jboss run script, /usr/local/jboss4/bin/run.sh, I can bind > to 0.0.0.0 using "-b" parameter like this: > > --- snip --- > /usr/local/jboss4/bin/run.sh -b 0.0.0.0 > --- snip --- > > How can I do this using rc.d jboss script ? > > Reading /usr/local/etc/rc.d/jboss4 we can see it uses "jboss4ctl". I've > already read the manual for it but could not find a way to do it. > > I've already tried passing "-Djboss.bind.address=0.0.0.0" to "jboss4ctl" > but it does not work. It always bind to 127.0.0.1. > > > This is better addressed to the port maintainer: jonc@chen.org.nz [cc'ed] Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mtm @ FreeBSD.Org | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 FreeBSD | http://www.freebsd.org