Jms Web控制台异常:在配置的1个URL中的任何一个都找不到代理
我正在尝试在tomee+1.5.0中启动web控制台,如下所示: (使用Tomcat的示例配置) 我在启动服务器时使用以下参数: -Dcatalina.base=“D:\Kit\apache-tomee-plus-1.5.0”-Dcatalina.home=“D:\Kit\apache-tomee-plus-1.5.0”-Dwtp.deploy=“D:\Kit\apache-tomee-plus-1.5.0\wtpwebapps”-Djava.annowed.dirs=“D:\Kit\apache-tomee-plus-1.5.0\annowed”-Dwebconsole.type=属性-Dwebconsole.jms.url=tcp://localhost:61616 -Dwebconsole.jmx.url=服务:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi -Dwebconsole.jmx.user=tomee-Dwebconsole.jmx.password=tomee-Dcom.sun.management.jmxremote=true-Dcom.sun.management.jmxremote.ssl=false-Dcom.sun.management.jmxremote.authenticate=false-Dcom.sun.management.jmxremote.port=1099 我可以使用jconsole连接到Jms Web控制台异常:在配置的1个URL中的任何一个都找不到代理,jms,activemq,spring-jms,Jms,Activemq,Spring Jms,我正在尝试在tomee+1.5.0中启动web控制台,如下所示: (使用Tomcat的示例配置) 我在启动服务器时使用以下参数: -Dcatalina.base=“D:\Kit\apache-tomee-plus-1.5.0”-Dcatalina.home=“D:\Kit\apache-tomee-plus-1.5.0”-Dwtp.deploy=“D:\Kit\apache-tomee-plus-1.5.0\wtpwebapps”-Djava.annowed.dirs=“D:\Kit\apach
服务:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
但是我在MBean中没有看到“org.apache.activemq”。当我尝试在访问web控制台时
http://localhost:8080/activemq-web-console-5.7.0/
我一直得到以下例外情况:
Caused by: java.lang.IllegalStateException: No broker is found at any of the 1 configured urls
at org.apache.activemq.web.RemoteJMXBrokerFacade.createConnection(RemoteJMXBrokerFacade.java:168)
这是web控制台war的activemq.xml文件中的代理:
<broker brokerName="web-console" useJmx="true" xmlns="http://activemq.apache.org/schema/core">
<persistenceAdapter>
<kahaDB directory="${activemq.data}/kahadb"/>
</persistenceAdapter>
<transportConnectors>
<transportConnector name="openwire" uri="tcp://localhost:61616"/>
<transportConnector name="stomp" uri="stomp://localhost:61613"/>
</transportConnectors> </broker>
有人能给我一个关于这个问题的提示吗?这个问题与ActiveMQResourceAdapter中的“Datasource”参数有关。此版本适用于:
<Resource id="JMSAdapter" type="ActiveMQResourceAdapter">
BrokerXmlConfig = broker:(tcp://localhost:61616)?persistent=false&useJmx=true
ServerUrl = tcp://localhost:61616
Datasource =
</Resource>
BrokerXmlConfig=broker:(tcp://localhost:61616)?持久=假,使用jmx=真
服务器URL=tcp://localhost:61616
数据源=
这与以下方面有关: