Linux 下activemq-5.4.3无法启动

HYW332147617 2013-04-09 11:30:24
linux下启动activemq-5.4.3,启动信息正常,但用ps -ef|grep `pwd`查看,服务并未启动,且用浏览器访问主页也不能访问

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
./activemq setup [ /etc/default/activemq | /root/.activemqrc ]

INFO: Using java '/app/jdk1.6.0_22/bin/java'
Java Runtime: Sun Microsystems Inc. 1.6.0_22 /home/app/app/jdk1.6.0_22/jre
Heap sizes: current=122496k free=121857k max=1818624k
JVM args: -Dactivemq.classpath=/home/bicptest2/apache-activemq-5.4.3/conf; -Dactivemq.home=/home/bicptest2/apache-activemq-5.4.3 -Dactivemq.base=/home/bicptest2/apache-activemq-5.4.3
ACTIVEMQ_HOME: /home/bicptest2/apache-activemq-5.4.3
ACTIVEMQ_BASE: /home/bicptest2/apache-activemq-5.4.3
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 text

Task 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,-?,--help

Task 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.

不知道什么原因啊?求大神!求解释!
...全文
282 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
lxwustc 2014-05-23
  • 打赏
  • 举报
回复
可以看看日志 data/activemq.log
lxwustc 2014-05-23
  • 打赏
  • 举报
回复
1.找到conf/activemq.xml 2.把这里的端口号都检查一遍是不是端口冲突 <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> <transportConnector name="amqp" uri="amqp://0.0.0.0:5673?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> <transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> <transportConnector name="mqtt" uri="mqtt://0.0.0.0:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/> <transportConnector name="ws" uri="ws://0.0.0.0:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
雨天0_0 2014-02-14
  • 打赏
  • 举报
回复
运行nohup ./activemq start命令,得到如下结果是什么原因,请问楼主知道么 nohup: appending output to `nohup.out'
HYW332147617 2013-05-12
  • 打赏
  • 举报
回复
自己解决啦,启动的命令不正确,应该是:nohup ./activemq start

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧