Hi

Can you post the full stacktrace?

There is a JMX related configuration you can do in the activemq.xml
file. I guess you can possible adjust that to get it to use the JMX
MbeanServer from TomEE.

But tracking down the source code and seeing what the
RemoteJMXBrokerFacade does may help figure out what is wrong.


On Tue, Oct 16, 2012 at 1:21 PM, cristisor <cristisor...@yahoo.com> wrote:
> I'm trying to start the web-console in tomee+ 1.5.0, like it is shown here:
> http://activemq.apache.org/web-console.html (Example configuration using
> Tomcat)
>
> I use the following parameter when starting the server:
>
> -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.endorsed.dirs="D:\Kit\apache-tomee-plus-1.5.0\endorsed"
> -Dwebconsole.type=properties -Dwebconsole.jms.url=tcp://localhost:61616
> -Dwebconsole.jmx.url=service: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
>
> I can connect with jconsole to
> service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi but I don't see the
> "org.apache.activemq" in MBeans. When I try to access the web-console at
>
>      http://localhost:8080/activemq-web-console-5.7.0/
> <http://localhost:8080/activemq-web-console-5.7.0/>
>
> I keep getting the following exception:
>
> 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)
>
> This is the broker in the activemq.xml file of the web-console war:
>
> <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>
>
> Can someone give me a hint regarding this problem?
> Thank you.
>
>
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/Web-console-Exception-No-broker-is-found-at-any-of-the-1-configured-urls-tp4657842.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to