Commit d349aa98 authored by Nicolas Tachker's avatar Nicolas Tachker

JORAM-246: add JVM arg -Dgosh.args=--nointeractive

parent e54fc793
......@@ -41,7 +41,7 @@ copy %CONFIG_DIR%\config.properties %SERVER_RUN_DIR%\config.properties
set PATH=%JAVA_HOME%\bin;%PATH%
echo == Launching a persistent server#%1 ==
start /D %SERVER_RUN_DIR% java -Dosgi.shell.telnet.port=1600%1 -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=%1 -Dcom.sun.management.jmxremote -classpath %CLASSPATH% org.apache.felix.main.Main
start /D %SERVER_RUN_DIR% java -Dgosh.args=--nointeractive -Dosgi.shell.telnet.port=1600%1 -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=%1 -Dcom.sun.management.jmxremote -classpath %CLASSPATH% org.apache.felix.main.Main
goto end
:nokHome
echo The JORAM_HOME environment variable is not defined correctly
......
......@@ -81,4 +81,4 @@ if $cygwin; then
fi
echo "== Launching a persistent server#$1 =="
cd $SERVER_RUN_DIR; exec "${JAVA_HOME}"/bin/java -Dosgi.shell.telnet.port=1600$1 -Dfelix.config.properties=file:config.properties -Dcom.sun.management.jmxremote -Dfr.dyade.aaa.agent.AgentServer.id=$1 -classpath $CLASSPATH org.apache.felix.main.Main
cd $SERVER_RUN_DIR; exec "${JAVA_HOME}"/bin/java -Dgosh.args=--nointeractive -Dosgi.shell.telnet.port=1600$1 -Dfelix.config.properties=file:config.properties -Dcom.sun.management.jmxremote -Dfr.dyade.aaa.agent.AgentServer.id=$1 -classpath $CLASSPATH org.apache.felix.main.Main
......@@ -39,7 +39,7 @@ copy %CONFIG_DIR%\config.properties %SERVER_RUN_DIR%\config.properties
set PATH=%JAVA_HOME%\bin;%PATH%
echo == Launching a non persistent server#0 ==
start /D %SERVER_RUN_DIR% java -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=0 -Dcom.sun.management.jmxremote -classpath %CLASSPATH% org.apache.felix.main.Main
start /D %SERVER_RUN_DIR% java -Dgosh.args=--nointeractive -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=0 -Dcom.sun.management.jmxremote -classpath %CLASSPATH% org.apache.felix.main.Main
goto end
:nokHome
echo The JORAM_HOME environment variable is not defined correctly
......
......@@ -68,4 +68,4 @@ if $cygwin; then
fi
echo "== Launching a non persistent server#0 =="
cd $SERVER_RUN_DIR; exec "${JAVA_HOME}"/bin/java -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=0 -Dcom.sun.management.jmxremote -classpath $CLASSPATH org.apache.felix.main.Main
\ No newline at end of file
cd $SERVER_RUN_DIR; exec "${JAVA_HOME}"/bin/java -Dgosh.args=--nointeractive -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=0 -Dcom.sun.management.jmxremote -classpath $CLASSPATH org.apache.felix.main.Main
......@@ -41,7 +41,7 @@ copy %CONFIG_DIR%\joram_ks %RUN_DIR%\joram_ks
set PATH=%JAVA_HOME%\bin;%PATH%
echo == Launching a non persistent server#0 with SSLTcpProxyService ==
start /D %SERVER_RUN_DIR% java -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=0 -Dcom.sun.management.jmxremote -Dorg.objectweb.joram.keystore=%RUN_DIR%\joram_ks -Dorg.objectweb.joram.keystorepass=jorampass -classpath %CLASSPATH% org.apache.felix.main.Main
start /D %SERVER_RUN_DIR% java -Dgosh.args=--nointeractive -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=0 -Dcom.sun.management.jmxremote -Dorg.objectweb.joram.keystore=%RUN_DIR%\joram_ks -Dorg.objectweb.joram.keystorepass=jorampass -classpath %CLASSPATH% org.apache.felix.main.Main
goto end
:nokHome
echo The JORAM_HOME environment variable is not defined correctly
......
......@@ -71,4 +71,4 @@ if $cygwin; then
fi
echo "== Launching a non persistent server#0 with SSLTcpProxyService =="
cd $SERVER_RUN_DIR; exec "${JAVA_HOME}"/bin/java -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=0 -Dcom.sun.management.jmxremote -Dorg.objectweb.joram.keystore=$JORAM_KS -Dorg.objectweb.joram.keystorepass=jorampass -classpath $CLASSPATH org.apache.felix.main.Main
cd $SERVER_RUN_DIR; exec "${JAVA_HOME}"/bin/java -Dgosh.args=--nointeractive -Dfelix.config.properties=file:config.properties -Dfr.dyade.aaa.agent.AgentServer.id=0 -Dcom.sun.management.jmxremote -Dorg.objectweb.joram.keystore=$JORAM_KS -Dorg.objectweb.joram.keystorepass=jorampass -classpath $CLASSPATH org.apache.felix.main.Main
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment