mirror of https://github.com/apache/activemq.git
applied patch for https://issues.apache.org/activemq/browse/AMQ-1887
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@691131 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
932ddd2318
commit
2624decb4e
|
@ -140,11 +140,15 @@ ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS $SUNJMX $SSL_OPTS"
|
|||
# Set default classpath
|
||||
ACTIVEMQ_CLASSPATH="${ACTIVEMQ_BASE}/conf;"$ACTIVEMQ_CLASSPATH
|
||||
|
||||
# Uncomment to enable YourKit profiling
|
||||
#ACTIVEMQ_DEBUG_OPTS="-agentlib:yjpagent"
|
||||
# Optionally enable YourKit debugging
|
||||
if [ "x$YOURKIT_DEBUG" != "x" ]; then
|
||||
ACTIVEMQ_DEBUG_OPTS="-agentlib:yjpagent"
|
||||
fi
|
||||
|
||||
# Uncomment to enable remote debugging
|
||||
#ACTIVEMQ_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
|
||||
# Optionally enable remote debugging
|
||||
if [ "x$ACTIVEMQ_DEBUG" != "x" ]; then
|
||||
ACTIVEMQ_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
|
||||
fi
|
||||
|
||||
if [ -n "$CYGHOME" ]; then
|
||||
exec "$JAVACMD" $ACTIVEMQ_DEBUG_OPTS $ACTIVEMQ_OPTS -Dactivemq.classpath="${ACTIVEMQ_CLASSPATH}" -Dactivemq.home="${ACTIVEMQ_HOME}" -Dactivemq.base="${ACTIVEMQ_BASE}" -Dcygwin.user.home="$CYGHOME" -jar "${ACTIVEMQ_HOME}/bin/run.jar" start $@
|
||||
|
|
Loading…
Reference in New Issue