mirror of https://github.com/apache/activemq.git
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
This commit is contained in:
parent
f9a763586a
commit
1356d1549c
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue