From f425a28b80e6ff7ccce18fae012ebb9ffd1a5c57 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Fri, 24 Sep 2010 17:59:05 -0700 Subject: [PATCH] fixed jboss port binding --- compute/src/test/java/org/jclouds/compute/RunScriptData.java | 2 +- compute/src/test/resources/initscript_with_jboss.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compute/src/test/java/org/jclouds/compute/RunScriptData.java b/compute/src/test/java/org/jclouds/compute/RunScriptData.java index ec7a3326d9..4b5c664ccb 100644 --- a/compute/src/test/java/org/jclouds/compute/RunScriptData.java +++ b/compute/src/test/java/org/jclouds/compute/RunScriptData.java @@ -68,7 +68,7 @@ public class RunScriptData { jbossVersion, jboss)), "/usr/local"), exec("{md} " + jbossHome), exec("mv /usr/local/jboss-" + jbossVersion + "/* " + jbossHome)), ImmutableList - . of(interpret("java -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=lib/endorsed -Djboss.bind.address=0.0.0.0 -classpath bin/run.jar org.jboss.Main"))); + . of(interpret("java -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=lib/endorsed -classpath bin/run.jar org.jboss.Main -b 0.0.0.0"))); return toReturn; } diff --git a/compute/src/test/resources/initscript_with_jboss.sh b/compute/src/test/resources/initscript_with_jboss.sh index f28900a506..dc94b9b7ac 100644 --- a/compute/src/test/resources/initscript_with_jboss.sh +++ b/compute/src/test/resources/initscript_with_jboss.sh @@ -94,7 +94,7 @@ END_OF_SCRIPT # add desired commands from the user cat >> $INSTANCE_HOME/jboss.sh <<'END_OF_SCRIPT' cd $INSTANCE_HOME -java -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=lib/endorsed -Djboss.bind.address=0.0.0.0 -classpath bin/run.jar org.jboss.Main +java -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=lib/endorsed -classpath bin/run.jar org.jboss.Main -b 0.0.0.0 END_OF_SCRIPT # add runscript footer