mirror of https://github.com/apache/activemq.git
applying patch for https://issues.apache.org/activemq/browse/AMQ-2275
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@801647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
52f48db0d9
commit
d604723d8f
|
@ -131,8 +131,8 @@ if [ -z "$ACTIVEMQ_OPTS" ] ; then
|
|||
fi
|
||||
|
||||
if [ -z "$SUNJMX" ] ; then
|
||||
#SUNJMX="-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
|
||||
SUNJMX="-Dcom.sun.management.jmxremote"
|
||||
SUNJMX="-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
|
||||
#SUNJMX="-Dcom.sun.management.jmxremote"
|
||||
fi
|
||||
|
||||
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $SUNJMX $SSL_OPTS"
|
||||
|
|
|
@ -73,8 +73,8 @@ if "%ACTIVEMQ_BASE%" == "" set ACTIVEMQ_BASE=%ACTIVEMQ_HOME%
|
|||
|
||||
if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true
|
||||
|
||||
if "%SUNJMX%" == "" set SUNJMX=-Dcom.sun.management.jmxremote
|
||||
REM set SUNJMX=-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
|
||||
if "%SUNJMX%" == "" set SUNJMX=-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
|
||||
REM SUNJMX=-Dcom.sun.management.jmxremote
|
||||
|
||||
REM Uncomment to enable YourKit profiling
|
||||
REM SET ACTIVEMQ_DEBUG_OPTS="-agentlib:yjpagent"
|
||||
|
|
Loading…
Reference in New Issue