Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2008 23:13:00 -0300
From:      =?ISO-8859-1?Q?Jo=E3o_Maca=EDba?= <joao.macaiba@gmail.com>
To:        freebsd-rc@freebsd.org
Subject:   /usr/local/etc/rc.d/jboss4 :: jboss4ctl
Message-ID:  <1213927980.16027.8.camel@cons>

next in thread | raw e-mail | index | archive | help
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 <joao.macaiba@gmail.com>




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