activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder (JIRA)" <>
Subject [jira] Created: (AMQ-1168) Add a wrapper for the Spring MBeanServerFactoryBean
Date Thu, 22 Feb 2007 06:48:03 GMT
Add a wrapper for the Spring MBeanServerFactoryBean 

                 Key: AMQ-1168
             Project: ActiveMQ
          Issue Type: New Feature
          Components: Broker
            Reporter: Bruce Snyder

Adding support for Spring's [MBeanServerFactoryBean|]
will allow AMQ to use it's {{locateExistingServerIfPossible}} functionality when it's embedded
in other applications instead of emitting the following error: 

Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException:
jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi

After setting {{useJmx="true"}}, the {{MBeanServerFactoryBean}} class can be configured using
the following syntax: 

<jmxServer id="server" locateExistingServerIfPossible="true" />

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message