activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Mitchener (JIRA)" <j...@activemq.org>
Subject [jira] Commented: (AMQ-648) Changing the default JMX URL
Date Tue, 21 Mar 2006 23:37:25 GMT
    [ http://jira.activemq.org/jira//browse/AMQ-648?page=comments#action_35876 ] 

Bruce Mitchener commented on AMQ-648:
-------------------------------------

I tried to use jmxDomainName as the XSD (pointed at by James, thanks!) says should work:

     http://activemq.codehaus.org/maven/activemq.xsd.html#managementContext

  <broker useJmx="true">
    <managementContext>
       <managementContext jmxDomainName="server.hostname.com" />
    </managementContext>

But all that does is move some of the data around so that it isn't all under org.apache.activemq.

But using jconsole from my desktop did work with or without the managementContext.  Despite
it saying that it is listening on localhost, it is really binding to IPADDR_ANY:

bruce@ietoh:~$ netstat -an | grep 1099
tcp6       0      0 :::1099                 :::*                    LISTEN

Which is definitely bad for some uses (potential security risk).  But perhaps that should
be a different bug.

Either way, a note should be added to the JMX page in the Wiki or some other configuration-related
page with notes about how to do what I wanted to do.


> 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
>      Fix For: 4.0 RC1

>
>
> 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


Mime
View raw message