2 Replies Latest reply on Nov 25, 2011 4:36 PM by Reinhard Nappert

    org.jboss.mx.server.MBeanServerBuilderImpl cannot be cast to javax .management.MBeanServerBuilder

    Reinhard Nappert Newbie

      Hi,

       

      I have a web-appliaction which runs fine with JBoss-4.2.1.GA, but when I deploy the same war file in JBoss AS 6,

      I get the ClassCast exception during deployment:

       

      stack trace: java.lang.ClassCastException: org.jboss.mx.server.MBeanServerBuilderImpl cannot be cast to javax.management.MBeanServerBuilder,

       

      when the application tries to register a MBean.

       

      Any idea, what has changed from 4.2 to 6

       

      Thanks,

      -Reinhard