You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Adrian Co (JIRA)" <ji...@activemq.org> on 2006/03/21 22:57:25 UTC

[jira] Commented: (AMQ-648) Changing the default JMX URL

    [ http://jira.activemq.org/jira//browse/AMQ-648?page=comments#action_35868 ] 

Adrian Co commented on AMQ-648:
-------------------------------

Hi,

You could configure the management context in the broker config using the following code snippet:

<broker useJmx="true">
        <managementContext>
	   <managementContext connectorPort="2011" connectorPath="/mypath"/>
	</managementContext>

        ....

</broker>

You could do the same thing for POJOs as well, AFAIK.

BTW, as a minor note, the console doesn't support it yet if you change the domain name. :)

Is this what you are looking for?

Regards,
Adrian Co

> Changing the default JMX URL
> ----------------------------
>
>          Key: AMQ-648
>          URL: http://jira.activemq.org/jira//browse/AMQ-648
>      Project: ActiveMQ
>         Type: Wish

>   Components: Documentation
>     Versions: 4.0 M4
>     Reporter: Bruce Mitchener
>     Priority: Minor

>
>
> Most of the command line utilities accept a jmxurl parameter, but there doesn't seem to be an easy way to set up ActiveMQ to use a JMX URL other than the default.  I'd wanted to do so for my development environment so that I could run a JMX console on my desktop and connect to the server running on another machine.  At ab0oo's suggestion, I'll use an SSH port forward (ssh remotehost -L1099:localhost:1099) for now, but it'd be nice to see this covered in some form in the JMX notes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.activemq.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira