From owner-freebsd-java@FreeBSD.ORG Mon Mar 16 13:22:07 2009 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 313C51065674 for ; Mon, 16 Mar 2009 13:22:07 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) Received: from lilzmailso01.liwest.at (lilzmailso01.liwest.at [212.33.55.23]) by mx1.freebsd.org (Postfix) with ESMTP id E6CA38FC13 for ; Mon, 16 Mar 2009 13:22:06 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) Received: from mail.be-informed.at ([81.10.222.30] helo=[192.168.10.97]) by lilzmailso01.liwest.at with esmtpa (Exim 4.69) (envelope-from ) id 1LjClY-0006Lr-Ov for freebsd-java@FreeBSD.org; Mon, 16 Mar 2009 14:22:05 +0100 From: Horst Leitenmueller To: freebsd-java@FreeBSD.org Content-Type: text/plain Date: Mon, 16 Mar 2009 14:23:06 +0100 Message-Id: <1237209786.43001.25.camel@lap01> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) Cc: Subject: jboss4ctl run parameter extension 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: Mon, 16 Mar 2009 13:22:07 -0000 hello all, i want to extend the jboss4 ctl for add additional run parameters like --host / -Djboss.bind.address= additional params in /etc/rc.conf jboss4_enable="YES" jboss4_run="-Djboss.bind.address=XXX.XXX.XXX.XXX and more...." jboss4_config="default" jboss4_flags=" not possible to add bind here, it will not be recognized" this run params will be directly given to them org.jboss.Main -Djboss.bind.address= -c default (the config is the same but only very specific) base problem was, to run jboss4 inside of jail and bind to a specific address. preventing the problem jndi calls / invoker calls for rmi a second thing would be the change of the JAVA_VERSION in the build file to 1.5+ i have already done it and it's working but what now ? changed files are /usr/ports/java/jboss4/files/daemonctrl.c.in /usr/ports/java/jboss4/files/jboss4.in br horst PS: i think same problem will be in jboss5ctl