[
http://jira.jboss.com/jira/browse/JBREM-746?page=comments#action_12390092 ]
Ron Sigal commented on JBREM-746:
---------------------------------
More from John:
See:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMBeansInJConsole
"As of jboss-4.0.2, you can have jboss use the platform MBeanServer as the server it
installs its mbeans into. To enable this you specify the jboss.platform.mbeanserver system
property"
We want to pass in "-Djboss.platform.mbeanserver" to JBossAS so it uses the
platform MBean Server. But the remoting war stuff wasn't using it - so JbossAS was in
one MBeanServer (which is where I put all my remoting MBeans of my own) but the remoting
war was still looking for the "jboss" MbeanServer and was failing to find it and
my remoting MBeans. I want to tell the remoting war to use the platform MBeanServer
(because that's what JBossAS is using too and we need everything in that same
MBeanServer, including our remoting MBeans (which includes custom Mbeans of ours that
register along with the remoting MBeans)).
That's the real use case here.
need to be able to tell ServerInvokerServlet to use the platform
MBean server
-----------------------------------------------------------------------------
Key: JBREM-746
URL:
http://jira.jboss.com/jira/browse/JBREM-746
Project: JBoss Remoting
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 2.4.0.Beta1 (Pinto)
Reporter: John Mazzitelli
Assigned To: Ron Sigal
Fix For: 2.4.0.Beta1 (Pinto)
Attachments: ServerInvokerServlet.patch
Right now, ServerInvokerServlet assumes the MBeanServer where it can find the server
invoker is the JBoss MBeanServer.
See the comments in ServerInvokerServlet.getMBeanServer()
It would be nice to be able to tell it to not use the MBeanServer whose default domain is
"jboss", but rather we should be able to tell it (via servlet init params)
either:
a) the name of the MBeanServer's default domain (in case I want to use my own, not
the jboss one)
or
b) a flag to indicate it should use the Java5 platform MBeanServer
(java.lang.management.ManagementFactory.getPlatformMBeanServer())
Workaround is for customers to write their own subclass of ServerInvokerServlet, override
the getMBeanServer method to find the appropriate one.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira