1 Reply Latest reply on Dec 21, 2006 12:37 PM by Adam Warski

    JBoss 4.0.5 + EJB3 rc9 patch 1 + load-time weaving

    Adam Warski Master

      Hello,
      I downloaded jboss as 4.0.5, installed ejb3 rc9 patch 1 in the "all" configuration and enabled load-time weaving in aop, and here is the exception I get:

      18:24:14,921 WARN [ServiceController] Problem creating service jboss.aop:service=AspectManager
      java.lang.NoClassDefFoundError: org/jboss/mx/loading/HeirarchicalLoaderRepository3
       at org.jboss.aop.deployment.JBossScopedClassLoaderHelper.isScopedClassLoader(JBossScopedClassLoaderHelper.java:64)
       at org.jboss.aop.deployment.JBossScopedClassLoaderHelper.ifScopedDeploymentGetScopedParentUclForCL(JBossScopedClassLoaderHelper.java:44)
       at org.jboss.aop.AspectManager.instance(AspectManager.java:334)
       at org.jboss.aop.AspectManager.instance(AspectManager.java:255)
       at org.jboss.aop.AspectXmlLoader.deployXML(AspectXmlLoader.java:1232)
       at org.jboss.aop.AspectXmlLoader.deployXML(AspectXmlLoader.java:1217)
       at org.jboss.aop.deployment.AspectManagerService.baseAop(AspectManagerService.java:141)
       at org.jboss.aop.deployment.AspectManagerService.createService(AspectManagerService.java:132)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
       at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
       at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.create()V(Unknown Source)
       at org.jboss.system.ServiceController.create(ServiceController.java:330)
       at org.jboss.system.ServiceController.create(ServiceController.java:273)
       at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
       at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      


      It works without load-time weaving enabled, as well as it worked on 4.0.4 with ejb3 rc8.

      --
      Regards,
      Adam