[
http://jira.jboss.com/jira/browse/JBREM-746?page=comments#action_12362389 ]
John Mazzitelli commented on JBREM-746:
---------------------------------------
Here's what the web.xml snippet should look like - note that by default we comment it
out. We really only need to use this if the user starts JBossAS with the property
"-Djboss.platform.mbeanserver":
<init-param>
<!--
<param-name>mbeanServer</param-name>
<param-value>*platform*</param-value>
<description>Defines the name of the default domain of the MBeanServer where the
ServerInvoker can be found. Default is 'jboss'. If the value is
'*platform*', the Java5 platform MBeanServer is used.</description>
-->
...
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