activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeff yung <yung...@hotmail.com>
Subject Re: jboss+activemq broker+webconsole
Date Thu, 14 Jan 2010 06:19:00 GMT

o....found solution

turn off activemq managementcontext:

<managementContext createConnector="false"/>

and enable remote JMX connections to the JMX connector by adding startup
arguments to jboss startup script:

-Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1090 
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

Though I don't know why need to add this. Maybe anyone can help to answer
this.



jeff yung wrote:
> 
> When I integrated activemq broker with jboss and deploy the activemq
> webconsole.
> 
> Changed the startup script to be:
> set JAVA_OPTS=%JAVA_OPTS% 
> -Dwebconsole.type=properties 
> -Dwebconsole.jms.url=tcp://172.19.174.107:61616 -
> -Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://172.19.174.107:1090/jmxrmi 
> -Dwebconsole.jmx.user= 
> -Dwebconsole.jmx.password=
> 
> No exception on deployment. But I got the following exception on opening
> the webconsole queue.jsp page:
> 
> java.lang.IllegalStateException: No broker is found at any of the 1
> configured urls
> 
> org.apache.activemq.web.RemoteJMXBrokerFacade.createConnection(RemoteJMXBrokerFacade.java:167)
> 
> org.apache.activemq.web.RemoteJMXBrokerFacade.getMBeanServerConnection(RemoteJMXBrokerFacade.java:113)
> 
> org.apache.activemq.web.RemoteJMXBrokerFacade.getBrokerAdmin(RemoteJMXBrokerFacade.java:87)
> 
> org.apache.activemq.web.RemoteJMXBrokerFacade.getBrokerName(RemoteJMXBrokerFacade.java:100)
> 	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	java.lang.reflect.Method.invoke(Method.java:585)
> 	javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
> 
> 
> 
> Attached the broker-config.xml from activemq-rar-5.3.0.rar
> and webconsole-properties.xml from activemq-web-console-5.3.0.war
>  http://old.nabble.com/file/p27156154/broker-config.xml broker-config.xml 
>  http://old.nabble.com/file/p27156154/webconsole-properties.xml
> webconsole-properties.xml 
> 
> 
> Does anyone know how to solve this? I can't find much information about
> this error from web. 
> Thanks.
> 

-- 
View this message in context: http://old.nabble.com/jboss%2Bactivemq-broker%2Bwebconsole-tp27156154p27156596.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message