mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3456: Update activemq-admin usage to include info on how to change JMX access
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
320d87cfce
commit
477a78cdba
|
@ -40,7 +40,7 @@ public class ShellCommand extends AbstractCommand {
|
||||||
this.helpFile = new String[] {
|
this.helpFile = new String[] {
|
||||||
interactive ? "Usage: [task] [task-options] [task data]" : "Usage: Main [--extdir <dir>] [task] [task-options] [task data]",
|
interactive ? "Usage: [task] [task-options] [task data]" : "Usage: Main [--extdir <dir>] [task] [task-options] [task data]",
|
||||||
"",
|
"",
|
||||||
"Tasks (default task is start):",
|
"Tasks:",
|
||||||
" start - Creates and starts a broker using a configuration file, or a broker URI.",
|
" start - Creates and starts a broker using a configuration file, or a broker URI.",
|
||||||
" create - Creates a runnable broker instance in the specified path",
|
" create - Creates a runnable broker instance in the specified path",
|
||||||
" stop - Stops a running broker specified by the broker name.",
|
" stop - Stops a running broker specified by the broker name.",
|
||||||
|
@ -59,6 +59,11 @@ public class ShellCommand extends AbstractCommand {
|
||||||
"",
|
"",
|
||||||
"Task Data:",
|
"Task Data:",
|
||||||
" - Information needed by each specific task.",
|
" - Information needed by each specific task.",
|
||||||
|
"",
|
||||||
|
"JMX system property options:",
|
||||||
|
" -Dactivemq.jmx.url=<jmx service uri> (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')",
|
||||||
|
" -Dactivemq.jmx.user=<user name>",
|
||||||
|
" -Dactivemq.jmx.password=<password>",
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,7 +129,7 @@ fi
|
||||||
# Set default classpath
|
# Set default classpath
|
||||||
ACTIVEMQ_CLASSPATH="${ACTIVEMQ_BASE}/conf;"$ACTIVEMQ_CLASSPATH
|
ACTIVEMQ_CLASSPATH="${ACTIVEMQ_BASE}/conf;"$ACTIVEMQ_CLASSPATH
|
||||||
|
|
||||||
if [ $1 = "start" ] ; then
|
if [ ""$1 = "start" ] ; then
|
||||||
if [ -z "$ACTIVEMQ_OPTS" ] ; then
|
if [ -z "$ACTIVEMQ_OPTS" ] ; then
|
||||||
ACTIVEMQ_OPTS="-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties"
|
ACTIVEMQ_OPTS="-Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue