[
http://jira.jboss.com/jira/browse/JBREM-746?page=comments#action_12362388 ]
John Mazzitelli commented on JBREM-746:
---------------------------------------
BTW: because this uses ManagementFactory, this will only work on Java5 now. Not checking
this in for that reason. Might have to look into ways to build out a special Java5-only
version of the war.
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.2.0.SP4
Reporter: John Mazzitelli
Assigned To: Ron Sigal
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