1 Reply Latest reply on Dec 10, 2012 8:52 AM by Nicklas Karlsson

    Issue in deployment of MBean classes while upgrading to Jboss 7.1

    Gagandeep Singh Newbie

      Hi All,

       

      I am upgrading Jboss from version 5.1 to 7.1. But while deploying my application EAR, it is giving some errors related to MBean class loading. I have tried a lot of things to resolve the same but none worked. So any kind of help/guidance would be highly appreciated.

      I am attaching the error logs for further reference.  Thanks

       

       

      18:32:20,809 ERROR [stderr] (MSC service thread 1-6) javax.management.InstanceNotFoundException: jboss.system:type=Server

      18:32:20,810 ERROR [stderr] (MSC service thread 1-6)    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)

      18:32:20,810 ERROR [stderr] (MSC service thread 1-6)    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1444)

      18:32:20,811 ERROR [stderr] (MSC service thread 1-6)    at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1308)

      18:32:20,811 ERROR [stderr] (MSC service thread 1-6)    at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.pushClassLoader(PluggableMBeanServerImpl.java:588)

      18:32:20,811 ERROR [stderr] (MSC service thread 1-6)    at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.getAttribute(PluggableMBeanServerImpl.java:417)

      18:32:20,812 ERROR [stderr] (MSC service thread 1-6)    at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:154)

       

       

       

       

      18:32:20,965 SEVERE [com.nextone.bn.service.MBeanServiceManager] (MSC service thread 1-6) MBeanServiceManager.createMBean: reflection error: javax.management.ReflectionException: The MBean class could not be loaded by the default loader repository

              at com.sun.jmx.mbeanserver.MBeanInstantiator.findClassWithDefaultLoaderRepository(MBeanInstantiator.java:96) [rt.jar:1.7.0]

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(DefaultMBeanServerInterceptor.java:267) [rt.jar:1.7.0]

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(DefaultMBeanServerInterceptor.java:206) [rt.jar:1.7.0]

              at com.sun.jmx.mbeanserver.JmxMBeanServer.createMBean(JmxMBeanServer.java:316) [rt.jar:1.7.0]

              at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.createMBean(PluggableMBeanServerImpl.java:393)

              at org.jboss.as.jmx.PluggableMBeanServerImpl.createMBean(PluggableMBeanServerImpl.java:130)