Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6028

Bootstrap dependencies failure of ejb3 session beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • JBossAS-5.0.0.GA
    • JBossAS-5.0.0.CR2
    • EJB
    • None

      New BootstrapDependenciesTestCase uncovers a bug in bootstrap dependencies related to EJB3 Session beans. If an EJB3 Session bean is deployed before anything from /deploy the deployment fails in a dependency to the java:/TransactionManager:

      DEBUG [org.jboss.ejb3.deployers.Ejb3Deployer] (main) ********* Ejb3Deployer Begin Unit: Aaabootstrapdependencies-jbas5349.sar jar: Aaabootstrapdependencies-jbas5349.sar
      DEBUG [org.jboss.ejb3.Ejb3Deployment] (main) EJB3 deployment time took: 3
      DEBUG [org.jboss.ejb3.deployers.Ejb3Deployer] (main) ********* Ejb3Deployer Begin Unit: bootstrapdependencies-ejb3-sessionbean.jar jar: bootstrapdependencies-ejb3-sessionbean.jar
      DEBUG [org.jboss.ejb3.interceptors.metadata.InterceptorMetaDataBridge] (main) ======> Creating interceptor metadata bridge
      DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice InvocationContextInterceptor
      DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor
      DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice org.jboss.ejb3.BlockContainerShutdownInterceptor
      DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice org.jboss.ejb3.asynchronous.AsynchronousInterceptor
      DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice org.jboss.ejb3.ENCPropagationInterceptor
      DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice org.jboss.ejb3.security.AuthenticationInterceptorFactory
      DEBUG [org.jboss.ejb3.security.AuthenticationInterceptorFactory] (main) Creating interceptor with authentication manager 'null'
      DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice org.jboss.ejb3.security.RunAsSecurityInterceptorFactory
      DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (main) Creating advice org.jboss.aspects.tx.TxPropagationInterceptor
      DEBUG [org.jboss.tm.TransactionManagerLocator] (main) Unable to lookup: java:/TransactionManager
      javax.naming.NameNotFoundException: TransactionManager not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:564)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:572)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:578)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:317)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at org.jboss.tm.TransactionManagerLocator.tryJNDI(TransactionManagerLocator.java:120)
      at org.jboss.tm.TransactionManagerLocator.locate(TransactionManagerLocator.java:101)
      at org.jboss.aspects.tx.TxPropagationInterceptor.<init>(TxPropagationInterceptor.java:48)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:149)
      at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)
      at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)
      at org.jboss.beans.metadata.plugins.factory.GenericBeanFactory.createBean(GenericBeanFactory.java:90)
      at org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory.doCreate(GenericBeanAspectFactory.java:125)
      at org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory.createPerVM(GenericBeanAspectFactory.java:90)
      at org.jboss.aop.AspectManager.createPerVmAspect(AspectManager.java:1942)
      at org.jboss.aop.AspectManager.getPerVMAspect(AspectManager.java:1918)
      at org.jboss.aop.Domain.getPerVMAspect(Domain.java:788)
      at org.jboss.aop.Domain.getPerVMAspect(Domain.java:788)
      at org.jboss.aop.Domain.getPerVMAspect(Domain.java:788)
      at org.jboss.aop.Domain.getPerVMAspect(Domain.java:773)
      at org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedInterceptorFactory.java:69)
      at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:1318)
      at org.jboss.ejb3.interceptors.container.ManagedObjectAdvisor.createInterceptorChain(ManagedObjectAdvisor.java:141)
      at org.jboss.aop.Advisor.pointcutResolved(Advisor.java:1929)
      at org.jboss.aop.MethodMatchInfo.applyBinding(MethodMatchInfo.java:152)
      at org.jboss.aop.MethodMatchInfo.overridePopulateBindings(MethodMatchInfo.java:143)
      at org.jboss.aop.MethodMatchInfo.populateBindings(MethodMatchInfo.java:92)
      at org.jboss.aop.Advisor.finalizeMethodChain(Advisor.java:1540)
      at org.jboss.aop.ClassAdvisor.finalizeChains(ClassAdvisor.java:747)
      at org.jboss.aop.ClassAdvisor.createInterceptorChains(ClassAdvisor.java:607)
      at org.jboss.aop.ClassAdvisor$1.run(ClassAdvisor.java:304)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.aop.ClassAdvisor.attachClass(ClassAdvisor.java:274)
      at org.jboss.ejb3.interceptors.container.ManagedObjectAdvisor.initialize(ManagedObjectAdvisor.java:174)
      at org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor.initialize(ExtendedManagedObjectAdvisor.java:70)
      at org.jboss.ejb3.interceptors.container.AbstractContainer.initializeAdvisor(AbstractContainer.java:162)
      at org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:204)
      at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:240)
      at org.jboss.ejb3.session.SessionContainer.<init>(SessionContainer.java:116)
      at org.jboss.ejb3.session.SessionSpecContainer.<init>(SessionSpecContainer.java:91)
      at org.jboss.ejb3.stateful.StatefulContainer.<init>(StatefulContainer.java:113)
      at org.jboss.ejb3.Ejb3AnnotationHandler.getStatefulContainer(Ejb3AnnotationHandler.java:294)
      at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:209)
      at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:698)
      at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:658)
      at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:640)
      at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:603)
      at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:512)
      at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:195)
      at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:108)
      at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:544)
      at java.lang.Thread.run(Thread.java:595)

              rhn-engineering-cdewolf Carlo de Wolf
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: