activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttmdev <joe.fernan...@ttmsolutions.com>
Subject Re: jmx remote not working
Date Wed, 17 Oct 2007 14:03:07 GMT

Did you set the following properties for your remote broker's jvm?

com.sun.management.jmxremote 
com.sun.management.jmxremote.host=<ip address that remote jvm will listen
on>
com.sun.management.jmxremote.port=<port that remote jvm will listen on>

Also, set the following to disable security for the remote jvm. 

com.sun.management.jmxremote.authenticate=false 
com.sun.management.jmxremote.ssl=false

Hope this helps,
Joe



j0llyr0g3r wrote:
> 
> Hi folks,
> 
> i have a strange problem here:
> 
> When i start a broker on localhost i can connect to it via jconsole.
> 
> But if i try the same with a remote broker, i get the error:
> 
> The connection to myhost:2099 did not succeed.
> 
> The remote broker is up and running and i can send and receive messages
> from it.
> 
> A 
> 
>     telnet myhost 2099
> 
> or a 
> 
>     netstat -tulpen | grep 2099
> 
> on the remote host shows me that activemq listens to that port.
> 
> I also enabled jmx in the broker via:
> 
>    <broker xmlns="http://activemq.org/config/1.0" useJmx="true"
> brokerName="localhost" >
> 
> and 
> 
>    <managementContext>
>        <managementContext connectorPort="2099"
> jmxDomainName="org.apache.activemq"/>
>     </managementContext>
>  
> What am i doing wrong here?
> 
> P.S. I use the latest Version 5 of amq.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/jmx-remote-not-working-tf4640173s2354.html#a13254517
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message