2012-10-16 2 views
1

여기에 표시된 것처럼 tomee + 1.5.0에서 웹 콘솔을 시작하려고합니다. http://activemq.apache.org/web-console.html (Tomcat을 사용한 구성 예)웹 콘솔 예외 : 구성된 URL 1 개에 브로커가 없습니다.

-Dcatalina.base = "D : \ 키트 \ 아파치 - tomee 플러스 1.5.0"-Dcatalina.home = "D : \ 키트 \ 서버를 시작할 때

나는 다음과 같은 매개 변수를 사용 apache-tomee-plus-1.5.0 "-Dwtp.deploy ="D : \ Kit \ apache-tomee-plus-1.5.0 \ wtpwebapps "-Djava.endorsed.dirs ="D : \ Kit \ plus-1.5.0 \ endorsed "-Dwebconsole.type = properties -Dwebconsole.jms.url = tcp : // localhost : 61616 -Dwebconsole.jmx.url = 서비스 : jmx : rmi : /// jndi/rmi : // localh ost : 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 = 거짓 -Dcom.sun.management.jmxremote.port = 1099

내가 service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi에 jconsole를 연결할 수 있지만, MBean의에서 "org.apache.activemq"을 볼 수 없습니다. 이것은 웹의 activemq.xml 파일에 브로커가

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) 

입니다 : 내가

http://localhost:8080/activemq-web-console-5.7.0/

에서 웹 콘솔에 액세스하려고 할 때 나는 다음과 같은 예외가 점점 계속 - 콘솔 전쟁 :

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

누군가가 내게 힌트를 다시 줄 수 있습니까? 이 문제를 지키고 있습니까?

답변

0

이 문제는 ActiveMQResourceAdapter의 "Datasource"매개 변수와 관련이 있습니다. 이 버전은 작동합니다 https://issues.apache.org/jira/browse/TOMEE-474

:

<Resource id="JMSAdapter" type="ActiveMQResourceAdapter"> 
      BrokerXmlConfig = broker:(tcp://localhost:61616)?persistent=false&useJmx=true 
      ServerUrl = tcp://localhost:61616 
      Datasource = 
    </Resource> 

이것은 다음과 관련이있다

관련 문제