[root@www-d70bf7928c6 apache-activemq-5.4.2]# bin/activemq
INFO: Using default configuration
(you can configure options in one of these file: /etc/default/activemq /root/.activemqrc)INFO: Invoke the following command to create a configuration file
bin/activemq setup [ /etc/default/activemq | /root/.activemqrc ]INFO: Using java '/usr/java/jdk1.5.0_10/bin/java'
Java Runtime: Sun Microsystems Inc. 1.5.0_10 /usr/java/jdk1.5.0_10/jre
Heap sizes: current=1984k free=1630k max=65088k
JVM args: -Dactivemq.classpath=/home/apache-activemq-5.4.2/conf; -Dactivemq.home=/home/apache-activemq-5.4.2 -Dactivemq.base=/home/apache-activemq-5.4.2
ACTIVEMQ_HOME: /home/apache-activemq-5.4.2
ACTIVEMQ_BASE: /home/apache-activemq-5.4.2
Usage: Main [--extdir <dir>] [task] [task-options] [task data]Tasks (default task is start):
start - Creates and starts a broker using a configuration file, or a broker URI.
create - Creates a runnable broker instance in the specified path
stop - Stops a running broker specified by the broker name.
list - Lists all available brokers in the specified JMX context.
query - Display selected broker component's attributes and statistics.
browse - Display selected messages in a specified destination.
journal-audit - Allows you to view records stored in the persistent journal.
purge - Delete selected destination's messages that matches the message selector
encrypt - Encrypts given text
decrypt - Decrypts given textTask Options (Options specific to each task):
--extdir <dir> - Add the jar files in the directory to the classpath.
--version - Display the version information.
-h,-?,--help - Display this help information. To display task specific help, use Main [task] -h,-?,--helpTask Data:
- Information needed by each specific task.
Tasks provided by the sysv init script:
restart - stop running instance (is there is one), start new instance
console - start broker in foreground, useful for debugging purposes
status - check if activemq process is running
setup - create the specified configuration file for this init script
(see next usage section)Configuration of this script:
The configuration of this script can be placed on /etc/default/activemq or /root/.activemqrc.
To use addtional configurations for running multiple instances on the same operating system
rename or symlink script to a name matching to activemq-instance-<INSTANCENAME>.
This changes the configuration location to /etc/default/activemq-instance-<INSTANCENAME> and
$HOME/.activemqrc-instance-<INSTANCENAME>. Configuration files in /etc have higher precedence.
输出bin/activemq 显示的信息
正常不
解决方案 »
- 页面表单像PO中的Set集合传值
- ======求助: 有关多线程下载(欢迎帮顶,顶者有分!急......)======
- 为什么要学Java
- 最后的点点分拿来问个权限的问题(Spring管理权限)
- Java socket 如何实现 心跳包???急!!!
- 【疑难】连接排序SQL语句用HQL报异常
- 在struts中访问数据库是产生503错误,郁闷极了!!!!!!!!
- javamail接收邮件疑难问题(望java望高手给于解答,高分相送)
- 请问在unix下如何把java虚拟机的内存设大点
- 请问为什么要配置服务器呀,tomcat都需要配置那几个方面?
- java webservice 都用什么技术实现?
- 请教一个多线程的问题
http://blog.csdn.net/qinyingxiong/article/details/8194906