This content has been marked as final.
Show 2 replies
-
1. Re: Always starting with -b 0.0.0.0 option
peterj Nov 3, 2008 6:53 PM (in response to marcopb)Two possibilities:
1) Edit the run.sh so that is always supplies '-b 0.0.0.0'
2) Create a new shell script and have it execute the run.sh script passing -b 0.0.0.0
I prefer option 2. -
2. Re: Always starting with -b 0.0.0.0 option
ericjava Nov 3, 2008 7:58 PM (in response to marcopb)"PeterJ" wrote:
Two possibilities:
1) Edit the run.sh so that is always supplies '-b 0.0.0.0'
2) Create a new shell script and have it execute the run.sh script passing -b 0.0.0.0
I prefer option 2.
A really good option for the script in #2 is to start and stop JBoss with an init script in /etc/init.d. In fact there are example init scripts that you can use for this.