After upgrading an existing application running in JBoss 4.0.5GA from Java 1.4.2 to Java
1.5.0_12, attempts to establish NotificationListeners on previously working MBeans now
fail with the message "The speicfied MBean [com.webalo.am:typeName=UPS Dispatcher] is
not a NotificationBroadcaster." The MBean in question extends
NotificationBroadcasterSupport.
In compiling and packaging the MBean, all old MX4J libraries have been moved out of the
way. During JBoss startup, when the error occurs, tracing of classloading indicates that
all the javax.management.** classes are loaded from the JRE's rt.jar as expected, and
there appear to be no duplicates. The MBeanServer is loaded from jboss-jmx.jar and is the
class org.jboss-mx.server.MBeanServerImpl.
I do not see a setting of the javax.management.builder.initial system property in any
configuration file.
Any suggestions will be greatly appreciated.
Jeff
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083218#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...