From: <no...@so...> - 2002-09-30 14:13:35
|
Bugs item #616546, was opened at 2002-09-30 15:48 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=616546&group_id=22866 Category: JBossMX Group: v3.2 Status: Closed Resolution: Invalid Priority: 5 Submitted By: Georg Schmid (giorgio42) Assigned to: Nobody/Anonymous (nobody) Summary: Exposed properties not serializable Initial Comment: JBoss 3.0.x, 3.2.0beta2, Solaris (concerns all platforms). I try to read the ManagedConnectionFactoryProperties of a data source using MEJB (jsr77), but Management management = getManagementMEJB(); ... management.getAttribute( dataSourceName, "ManagedConnectionFactoryPropertie s" ); results in a "NotSerializableException", because neither the Crimson nor the Xerces implementation of org.w3c.dom.Element is serializable. In general, all attributes exposed by MBeans should be serializable, otherwise they are not accessible through MEJB. Exposing XML fragments in an MBean may be convenient for the programmer, but is of little use for the clients. Regards Georg ---------------------------------------------------------------------- >Comment By: Georg Schmid (giorgio42) Date: 2002-09-30 16:13 Message: Logged In: YES user_id=437570 Ok. Understood. This means, MEJB is only a second-class citizen in the JMX world. Georg ---------------------------------------------------------------------- Comment By: David Jencks (d_jencks) Date: 2002-09-30 16:10 Message: Logged In: YES user_id=60525 Sorry, there is no requirement that mbean attributes be serializable, however convenient it might be for you. The particular problem you are having I hope to address soon in jboss 4 by exposing the ManagedConnectionFactory itself as an mbean: the mcf properties, all of which are serializable, will appear as mbean attributes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=616546&group_id=22866 |