activemq - Connect exception when discovering active mq queues using hermes JMS -


i have created active mq session in hermes jms. when try discover queues on broker connect exception:

enter image description here

in session properties should have specified serviceurl like:

service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi 

enter image description here

this specifies url jmx connector active mq. active mq must running jxm connector @ port hermes jms connect it.

check port open:

netstat -lntp | grep 1099 

or check active mq startup log. must show line like:

info | jmx consoles can connect service:jmx:rmi://localhost:1593/jndi/rmi://localhost:1099/jmxrmi 

if there no jmx connector on port, edit activemq.xml in conf directory of active mq installation.

change createconnector true:

<managementcontext>    <managementcontext createconnector="true"/>  </managementcontext> 

restart active mq.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -