/usr/local/etc/rc.d/jboss4 :: jboss4ctl

View: New views
3 Messages — Rating Filter:   Alert me  

/usr/local/etc/rc.d/jboss4 :: jboss4ctl

by Joao Macaiba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>

_______________________________________________
freebsd-rc@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "freebsd-rc-unsubscribe@..."

Re: /usr/local/etc/rc.d/jboss4 :: jboss4ctl

by Mike Makonnen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... [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

_______________________________________________
freebsd-rc@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "freebsd-rc-unsubscribe@..."

Re: /usr/local/etc/rc.d/jboss4 :: jboss4ctl

by Jonathan Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jun 21, 2008 at 02:21:38PM +0300, Mike Makonnen wrote:

> 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 ?

Try adding to /etc/rc.conf:

    jboss4_flags="-server -b 0.0.0.0"

--
Jonathan Chen <jonc@...>
----------------------------------------------------------------------
                   "Lots of folks confuse bad management with destiny"
                                                         - Kin Hubbard
_______________________________________________
freebsd-rc@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "freebsd-rc-unsubscribe@..."