Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2009 14:23:06 +0100
From:      Horst Leitenmueller <horst.leitenmueller@liwest.at>
To:        freebsd-java@FreeBSD.org
Subject:   jboss4ctl run parameter extension
Message-ID:  <1237209786.43001.25.camel@lap01>

next in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1237209786.43001.25.camel>