Apache ActiveMQ启动DEMO错误

    xiaoxiao2025-11-17  2

    写在前面

    使用的版本是5.14  apache-activemq-5.14.0-bin.zip

    问题

    使用官方文档提供的启动方式启动ActiveMQ v5.8, bin/activemq console xbean:examples/conf/activemq-demo.xml 不能启动,activemq中没有console 参数。

    解决办法

    1、V5.8使用下面的命令行启动

    D:\apache-activemq-5.8.0\bin>activemq xbean:../conf/activemq-demo.xml

    2、V5.9使用下面的命令行启动

    D:\apache-activemq-5.9.1\bin>activemq xbean:../examples/conf/activemq-demo.xml

    3、V5.13.3使用下面的命令行启动

    D:\apache-activemq-5.13.3\bin>activemq start xbean:file:../examples/conf/activemq-demo.xml

    写在最后

    注意,如果之前已经启动了activemq要先停掉,再使用上面的命令行启动demo。 参考: http://activemq.apache.org/web-samples.html http://blog.csdn.net/hongweigg/article/details/51417241
    转载请注明原文地址: https://ju.6miu.com/read-1304291.html
    最新回复(0)