[jboss-dev-forums] [Design of JMX on JBoss (JBoss/JMX)] - JBAS-1268 - NotSerializable descriptors content

adrian@jboss.org do-not-reply at jboss.com
Wed Feb 13 05:45:10 EST 2008


This is an old bug that we fixed in JBossMX but since JDK5 overrides
the javax.management.* to the JDK classes, this is now a Sun bug.

I've asked the spec lead whether he would fix it, but he didn't want to do
the extra work that JBossMX does to fix the problem. i.e. try to serializable
the descriptor value and ignore it when it isn't actually serializalbe.

NOTE: The specific problem reported on JBAS-1268, has an alternate fix in 4.2.x
since MBeanProxyExt is now "serializable" with the MBeanServer
replaced with an RMIAdapter/MBeanServerConnection for remote usage,
see jmx-invoker-service.xml

  |    <!--
  |       Choose the remote proxy to expose mbean proxies over
  |    -->
  |    <mbean code="org.jboss.jmx.connector.invoker.MBeanProxyRemote"
  |           name="jboss.jmx:type=adaptor,name=MBeanProxyRemote,protocol=jrmp">
  |       <depends optional-attribute-name="MBeanServerConnection">jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory</depends>
  |    </mbean>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129070#4129070

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129070



More information about the jboss-dev-forums mailing list