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: Open 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-10-01 09:41 Message: Logged In: YES user_id=437570 IMHO: If the attribute is exposed (named in the list of attributes available to MEJB), then it must be readable, too. Publishing the attribute name and throwing an exception when it is actually accessed does not make sense to me. My 0.02$. Regards Georg ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-09-30 16:40 Message: Logged In: NO It is a requirement for an EJB remote interface to return either serializable or Remote types though, is it not? ---------------------------------------------------------------------- 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 ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development