From owner-freebsd-rc@FreeBSD.ORG Fri Jun 20 02:38:31 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 7DA391065671 for ; Fri, 20 Jun 2008 02:38:31 +0000 (UTC) (envelope-from joao.macaiba@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 3139D8FC0C for ; Fri, 20 Jun 2008 02:38:31 +0000 (UTC) (envelope-from joao.macaiba@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so262782ana.13 for ; Thu, 19 Jun 2008 19:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=n4X9RJTOMUx0Tkhi8PFRkfQBsQlj76flyvOZxqaY5zM=; b=AGrTaMtp5QULsGUs2I520DfGeyYk3s1lK9/HMY12Fcm2G9IxMs4Yh81Rz5mZjbcnkM Q2PAJwp/D7FFptu+ULvNkf3QxZvr0ZdhXubCpw8PjzsiIsjLUAXNhJxaz796hPEb/whT vnv2yAapdsELNpm7wGi4eKz+/9/6OrcTXffiM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=D40dyFRd63Zk3/fe/MW+1Hs+HZJT02UYDBUxzYUOm77zd6cTDiYzaKEMvTku0laHdj TUybENmD7B4CqaM4fmXLVwGxyfzNgSXkrcW3ie+tS1TydoC0e28nCeK6YESOv1M3QZXK N8aeS8zwM+q/QUCzG9/Vgz73bUk/C5IufnekM= Received: by 10.100.5.16 with SMTP id 16mr4451649ane.35.1213927987769; Thu, 19 Jun 2008 19:13:07 -0700 (PDT) Received: from ?200.143.192.46? ( [200.143.192.46]) by mx.google.com with ESMTPS id 33sm1642419yxr.3.2008.06.19.19.13.05 (version=SSLv3 cipher=RC4-MD5); Thu, 19 Jun 2008 19:13:06 -0700 (PDT) From: =?ISO-8859-1?Q?Jo=E3o_Maca=EDba?= To: freebsd-rc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Date: Thu, 19 Jun 2008 23:13:00 -0300 Message-Id: <1213927980.16027.8.camel@cons> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 8bit Subject: /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: Fri, 20 Jun 2008 02:38:31 -0000 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. I'm running FreeBSD 7.0/amd64. Thanks in advance. -- João Macaíba