我试图在windows7 x32上安装ActiveMQ 5.14.3。 但是我在安装时遇到了一些错误。 我该如何解决?
jvm 1 | ERROR | Failed to start Apache ActiveMQ ([localhost, ID:Admin--49711-
1482610732322-0:1], java.net.URISyntaxException: Illegal character in hostname a
t index 10: ws://Admin-╧╩:61614?maximumConnections=1000&wireFormat.maxFrameSize=
104857600)
jvm 1 | WARN | Exception thrown from LifecycleProcessor on context close
jvm 1 | WARN | Exception encountered during context initialization - cancell
Jvm 1 | ERROR: java.lang.RuntimeException: Failed to execute start task. Reas
on: java.lang.IllegalStateException: BeanFactory not initialized or already clos
ed - call 'refresh' before accessing beans via the ApplicationContext
以下是控制台的完整输出:pastebin
UPD 1 我的activemq.xml传输部分
<transportConnectors>
<!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB -->
<transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
<transportConnector name="amqp" uri="amqp://0.0.0.0:5672?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"/>
</transportConnectors>
答案 0 :(得分:0)
验证ws传输是否像这样
<transportConnector name="ws" uri="ws://0.0.0.0:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
<强>更新强>
尝试使用jre 1.7