You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2007/02/22 07:48:03 UTC
[jira] Created: (AMQ-1168) Add a wrapper for the Spring
MBeanServerFactoryBean
Add a wrapper for the Spring MBeanServerFactoryBean
----------------------------------------------------
Key: AMQ-1168
URL: https://issues.apache.org/activemq/browse/AMQ-1168
Project: ActiveMQ
Issue Type: New Feature
Components: Broker
Reporter: Bruce Snyder
Attachments: MBeanServerFactoryBean.java
Adding support for Spring's [MBeanServerFactoryBean|http://www.springframework.org/docs/api/org/springframework/jmx/support/MBeanServerFactoryBean.html] will allow AMQ to use it's {{locateExistingServerIfPossible}} functionality when it's embedded in other applications instead of emitting the following error:
{panel}
Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi
{panel}
After setting {{useJmx="true"}}, the {{MBeanServerFactoryBean}} class can be configured using the following syntax:
{code:type=xml}
<jmxServer id="server" locateExistingServerIfPossible="true" />
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AMQ-1168) Add a wrapper for the Spring
MBeanServerFactoryBean
Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Snyder reassigned AMQ-1168:
---------------------------------
Assignee: Jonas Lim
> Add a wrapper for the Spring MBeanServerFactoryBean
> ----------------------------------------------------
>
> Key: AMQ-1168
> URL: https://issues.apache.org/activemq/browse/AMQ-1168
> Project: ActiveMQ
> Issue Type: New Feature
> Components: Broker
> Reporter: Bruce Snyder
> Assigned To: Jonas Lim
> Attachments: MBeanServerFactoryBean.java
>
>
> Adding support for Spring's [MBeanServerFactoryBean|http://www.springframework.org/docs/api/org/springframework/jmx/support/MBeanServerFactoryBean.html] will allow AMQ to use it's {{locateExistingServerIfPossible}} functionality when it's embedded in other applications instead of emitting the following error:
> {panel}
> Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi
> {panel}
> After setting {{useJmx="true"}}, the {{MBeanServerFactoryBean}} class can be configured using the following syntax:
> {code:type=xml}
> <jmxServer id="server" locateExistingServerIfPossible="true" />
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQ-1168) Add a wrapper for the Spring
MBeanServerFactoryBean
Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38563 ]
Bruce Snyder commented on AMQ-1168:
-----------------------------------
It looks like I'll have to figure out how to hook this into the {{BrokerService}} before this will work as ActiveMQ expects the JMX server to be configured programmatically instead of via Spring dependency injection :-(. I'll have to try to work this out and post a new patch.
> Add a wrapper for the Spring MBeanServerFactoryBean
> ----------------------------------------------------
>
> Key: AMQ-1168
> URL: https://issues.apache.org/activemq/browse/AMQ-1168
> Project: ActiveMQ
> Issue Type: New Feature
> Components: Broker
> Reporter: Bruce Snyder
> Assigned To: Jonas Lim
> Attachments: MBeanServerFactoryBean.java
>
>
> Adding support for Spring's [MBeanServerFactoryBean|http://www.springframework.org/docs/api/org/springframework/jmx/support/MBeanServerFactoryBean.html] will allow AMQ to use it's {{locateExistingServerIfPossible}} functionality when it's embedded in other applications instead of emitting the following error:
> {panel}
> Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi
> {panel}
> After setting {{useJmx="true"}}, the {{MBeanServerFactoryBean}} class can be configured using the following syntax:
> {code:type=xml}
> <jmxServer id="server" locateExistingServerIfPossible="true" />
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AMQ-1168) Add a wrapper for the Spring
MBeanServerFactoryBean
Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Tully updated AMQ-1168:
----------------------------
Fix Version/s: 5.3.0
(was: 5.2.0)
> Add a wrapper for the Spring MBeanServerFactoryBean
> ----------------------------------------------------
>
> Key: AMQ-1168
> URL: https://issues.apache.org/activemq/browse/AMQ-1168
> Project: ActiveMQ
> Issue Type: New Feature
> Components: Broker
> Reporter: Bruce Snyder
> Assignee: Bruce Snyder
> Fix For: 5.3.0
>
> Attachments: MBeanServerFactoryBean.java
>
>
> Adding support for Spring's [MBeanServerFactoryBean|http://www.springframework.org/docs/api/org/springframework/jmx/support/MBeanServerFactoryBean.html] will allow AMQ to use it's {{locateExistingServerIfPossible}} functionality when it's embedded in other applications instead of emitting the following error:
> {panel}
> Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi
> {panel}
> After setting {{useJmx="true"}}, the {{MBeanServerFactoryBean}} class can be configured using the following syntax:
> {code:type=xml}
> <jmxServer id="server" locateExistingServerIfPossible="true" />
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AMQ-1168) Add a wrapper for the Spring
MBeanServerFactoryBean
Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruce Snyder reassigned AMQ-1168:
---------------------------------
Assignee: Bruce Snyder (was: Jonas Lim)
> Add a wrapper for the Spring MBeanServerFactoryBean
> ----------------------------------------------------
>
> Key: AMQ-1168
> URL: https://issues.apache.org/activemq/browse/AMQ-1168
> Project: ActiveMQ
> Issue Type: New Feature
> Components: Broker
> Reporter: Bruce Snyder
> Assignee: Bruce Snyder
> Fix For: 5.2.0
>
> Attachments: MBeanServerFactoryBean.java
>
>
> Adding support for Spring's [MBeanServerFactoryBean|http://www.springframework.org/docs/api/org/springframework/jmx/support/MBeanServerFactoryBean.html] will allow AMQ to use it's {{locateExistingServerIfPossible}} functionality when it's embedded in other applications instead of emitting the following error:
> {panel}
> Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi
> {panel}
> After setting {{useJmx="true"}}, the {{MBeanServerFactoryBean}} class can be configured using the following syntax:
> {code:type=xml}
> <jmxServer id="server" locateExistingServerIfPossible="true" />
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.