[jboss-user] [Management, JMX/JBoss] - Change to newer JDK, MBean is not a NotificationBroadcaster

jgreif do-not-reply at jboss.com
Tue Sep 11 19:48:15 EDT 2007


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#4083218

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



More information about the jboss-user mailing list