From 1356d1549c22d4c7d8209b421cde31375ee65177 Mon Sep 17 00:00:00 2001 From: Dennis Cook Date: Tue, 24 Jan 2006 01:49:38 +0000 Subject: [PATCH] Comment out remote jmx refs, for user discresionary use. git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371768 13f79535-47bb-0310-9956-ffa450edef68 --- assembly/src/release/bin/activemq | 3 +++ assembly/src/release/bin/activemq.bat | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq index 6c62fc9e8d..ed3955dfa1 100755 --- a/assembly/src/release/bin/activemq +++ b/assembly/src/release/bin/activemq @@ -129,6 +129,9 @@ if [ -z "$ACTIVEMQ_OPTS" ] ; then ACTIVEMQ_OPTS="-Xmx512M -Dderby.system.home=../data -Dderby.storage.fileSyncTransactionLog=true" fi +#SUNJMX="-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" +SUNJMX="" +ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $SUNJMX" # Uncomment to enable YourKit profiling #ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" diff --git a/assembly/src/release/bin/activemq.bat b/assembly/src/release/bin/activemq.bat index 999e340759..3121e3ccc8 100755 --- a/assembly/src/release/bin/activemq.bat +++ b/assembly/src/release/bin/activemq.bat @@ -90,8 +90,8 @@ echo. if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true -rem set SUNJMX= -set SUNJMX=-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false +set SUNJMX= +REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false REM Uncomment to enable YourKit profiling REM SET ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent" @@ -103,7 +103,7 @@ set LOCALCLASSPATH=%ACTIVEMQ_HOME%\conf;%LOCALCLASSPATH% set ACTIVEMQ_TASK="start" "%_JAVACMD%" %SUNJMX% %ACTIVEMQ_DEBUG_OPTS% %ACTIVEMQ_OPTS% -Dactivemq.home="%ACTIVEMQ_HOME%" -jar %ACTIVEMQ_HOME%/bin/run.jar %ACTIVEMQ_CMD_LINE_ARGS% %ACTIVEMQ_TASK% -pause + goto end