activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkonda <kn...@hotmail.com>
Subject Changing the ManagmentContext to point to non-localhost
Date Thu, 16 Jul 2009 14:21:10 GMT

Hello All

I have changed the managementContext in activemq.xml config to point to a
new port:

 <managementContext>
            <managementContext connectorPort="10099"
createConnector="true"/>
 </managementContext>

My broker config is:

<broker xmlns=".." useJmx="true" brokerName="myhost"
dataDirectory="${activemq.base}/data">
....
</broker>

As you can see, I have added brokerName and useJmx tags so that my serivice
url can be exposed to JMX Clients/console.

However, when I start up the activemq, I always get the jmxurl being
published at localhost (rather than my brokerName or host)

INFO ManagementContext- JMX consoles can connect to
service:jmx:rmi:///jndi/rmi://localhost:10099/jmxrmi

Question: Is there a way that I can create the serviceUrl of the
ManagementContext to use my machine name instead of default localhost?

-- 
View this message in context: http://www.nabble.com/Changing-the-ManagmentContext-to-point-to-non-localhost-tp24517365p24517365.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message