I am sorry, I interpreted the word "it" to mean the application server, not the
text "-b 0.0.0.0".
Unfortunately, I do not know the contents of your startup script
(/etc/init.d/jboss), so I will tell you how to modify the
bin/jboss_init_redhat.sh script to include the -b option. You should be able to
apply this to your script.
In the script, the variable JBOSSSH contains the text used to run the app
server:
#define the script to use to start jboss
| JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF $JBOSS_BIND_ADDR"}
Notice that it in turn refers to a JBOSS_BIND_ADDR variable:
#if JBOSS_HOST specified, use -b to bind jboss services to that address
| JBOSS_BIND_ADDR=${JBOSS_HOST:+"-b $JBOSS_HOST"}
You could replace this as follows:
#if JBOSS_HOST specified, use -b to bind jboss services to that address
| JBOSS_BIND_ADDR="-b 0.0.0.0"
or your could earlier define JBOSS_HOST:
JBOSS_HOST=0.0.0.0
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095828#4095828
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095828
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user