mirror of https://github.com/apache/activemq.git
enabled nicer JMX integration with JConsole by default
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fd43325c2b
commit
7bcb9dbf4f
|
@ -130,7 +130,7 @@ if [ -z "$ACTIVEMQ_OPTS" ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#SUNJMX="-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
|
#SUNJMX="-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
|
||||||
SUNJMX=""
|
SUNJMX="-Dcom.sun.management.jmxremote"
|
||||||
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $SUNJMX"
|
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $SUNJMX"
|
||||||
# Uncomment to enable YourKit profiling
|
# Uncomment to enable YourKit profiling
|
||||||
#ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent"
|
#ACTIVEMQ_DEBUG_OPTS="-Xrunyjpagent"
|
||||||
|
|
|
@ -88,7 +88,7 @@ echo.
|
||||||
|
|
||||||
:runAnt
|
:runAnt
|
||||||
|
|
||||||
if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true
|
if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Dderby.system.home="..\data" -Dderby.storage.fileSyncTransactionLog=true -Dcom.sun.management.jmxremote
|
||||||
|
|
||||||
set SUNJMX=
|
set SUNJMX=
|
||||||
REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
|
REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
|
||||||
|
|
Loading…
Reference in New Issue