4 Replies Latest reply on Mar 13, 2006 8:16 AM by Kabir Khan

    Problems after migrate to embedded Alpha5

    Jacek Olszak Newbie

      Hi... I've just migrated to Alpha5 release of embedded EJB3. I've fixed annotations but still have errors:

      09:48:49,809 ERROR AbstractKernelController:350 - Error installing to Start: name=jboss.j2ee:service=EJB3,jar=ksiegi,name=GrupaVatBean state=Create
      java.lang.RuntimeException: NOT ALLOWED
       at org.jboss.ejb3.interceptor.EJB3InterceptorsFactory.createPerClass(EJB3InterceptorsFactory.java:114)
       at org.jboss.aop.advice.AspectFactoryDelegator.createPerClass(AspectFactoryDelegator.java:107)
       at org.jboss.aop.Advisor.addPerClassAspect(Advisor.java:556)
       at org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedInterceptorFactory.java:72)
       at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:604)
       at org.jboss.aop.Advisor.pointcutResolved(Advisor.java:865)
       at org.jboss.aop.Advisor.resolveMethodPointcut(Advisor.java:635)
       at org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.java:240)
       at org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:112)
       at org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:54)
       at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:508)
       at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:82)
       at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:80)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:96)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:476)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:171)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
       at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:79)
       at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:73)
       at org.jboss.ejb3.MCKernelAbstraction.install(MCKernelAbstraction.java:86)
       at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:414)
       at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:463)
       at org.jboss.ejb3.embedded.EJB3StandaloneDeployer.start(EJB3StandaloneDeployer.java:450)
       at org.jboss.ejb3.embedded.ServletBootstrapListener.contextInitialized(ServletBootstrapListener.java:198)
       at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:497)
       at org.mortbay.util.Container.start(Container.java:72)
       at org.mortbay.http.HttpServer.doStart(HttpServer.java:755)
       at org.mortbay.util.Container.start(Container.java:72)
       at Main.main(Main.java:12)
      
      


      Any ideas what it means and how to fix it?
      Thanks in advance,
      Jacek