activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cepo...@apache.org
Subject svn commit: r1468733 - /activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java
Date Wed, 17 Apr 2013 03:19:59 GMT
Author: ceposta
Date: Wed Apr 17 03:19:59 2013
New Revision: 1468733

URL: http://svn.apache.org/r1468733
Log:
updated for https://issues.apache.org/jira/browse/AMQ-4473 Allow enabling remote debug from
newly created broker instance

Modified:
    activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java

Modified: activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java?rev=1468733&r1=1468732&r2=1468733&view=diff
==============================================================================
--- activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java
(original)
+++ activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/CreateCommand.java
Wed Apr 17 03:19:59 2013
@@ -282,6 +282,8 @@ public class CreateCommand extends Abstr
        res.append("ACTIVEMQ_BASE=`dirname \"$PRG\"`/..\n");
        res.append("cd \"$saveddir\"\n\n");
        res.append("ACTIVEMQ_BASE=`cd \"$ACTIVEMQ_BASE\" && pwd`\n\n");
+       res.append("## Enable remote debugging\n");
+       res.append("#export ACTIVEMQ_DEBUG_OPTS=\"-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005\"\n\n");
        res.append("## Add system properties for this instance here (if needed), e.g\n");
        res.append("#export ACTIVEMQ_OPTS_MEMORY=\"-Xms256M -Xmx1G\"\n");
        res.append("#export ACTIVEMQ_OPTS=\"$ACTIVEMQ_OPTS_MEMORY -Dorg.apache.activemq.UseDedicatedTaskRunner=true
-Djava.util.logging.config.file=logging.properties\"\n\n");



Mime
View raw message