To solve this problem you need to correct your jboss/bin/run.sh :
-Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ -classpath "$JBOSS_CLASSPATH" \ org.jboss.Main "$@"
-Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ -classpath "$JBOSS_CLASSPATH" \ -Djava.net.preferIPv4Stack=true \ org.jboss.Main "$@"
So, the row
must be added
There is no spaces must be after \
I'm running JBoss on SuSe 10 as well. I didn't change the run.sh but I just added "--host=127.0.0.1" paramter to the run.sh command. (change 127.0.0.1 to the IP address of your machine) this is how I run it and it works great!
I'm going to try the run.sh change to see how well that works.
Basically I run a script that does it, something like this:
nohup bin/run.sh -c $APP --host=$HOST >/dev/null 2>&1 &