1 Reply Latest reply on Nov 1, 2008 2:21 AM by jaikiran pai

    No container configured with name 'Stateless Bean''

    Nanda Kishore Newbie

      Hi i am trying to deploy ejb 3 application un jboss 5.0.0 Beta4. i am getting this error. I removed messaging files under deploy because it is trying to connect messaging services. can any one tell me how to over come this error and how to disable messaging service.



      12:18:53,452 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=iBlue' to JNDI name 'java:iBlue'
      12:18:53,520 INFO [RARDeployment] Required license terms exist, view vfsfile:/var/jboss-5.0.0.Beta4/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      12:18:53,601 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/var/jboss-5.0.0.Beta4/server/default/deploy/iBlue.ear state=PostClassLoader mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying iBlue-ejb.jar: No container configured with name 'Stateless Bean''
       at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:158)
       at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:88)
       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.doInstallParentFirst(DeployersImpl.java:853)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
       at org.jboss.Main.boot(Main.java:208)
       at org.jboss.Main$1.run(Main.java:534)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.RuntimeException: No container configured with name 'Stateless Bean''
       at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:247)
       at org.jboss.ejb3.Ejb3DescriptorHandler.getStatelessContainer(Ejb3DescriptorHandler.java:493)
       at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:143)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:528)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:488)
       at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:470)
       at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:436)
       at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:378)
       at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:145)
       ... 22 more
      12:18:53,733 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
      12:18:53,894 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      *** CONTEXTS IN ERROR: Name -> Error12:18:53,452 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=iBlue' to JNDI name 'java:iBlue'
      12:18:53,520 INFO [RARDeployment] Required license terms exist, view vfsfile:/var/jboss-5.0.0.Beta4/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      12:18:53,601 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/var/jboss-5.0.0.Beta4/server/default/deploy/iBlue.ear state=PostClassLoader mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying iBlue-ejb.jar: No container configured with name 'Stateless Bean''
       at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:158)
       at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:88)
       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.doInstallParentFirst(DeployersImpl.java:853)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
       at org.jboss.Main.boot(Main.java:208)
       at org.jboss.Main$1.run(Main.java:534)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.RuntimeException: No container configured with name 'Stateless Bean''
       at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:247)
       at org.jboss.ejb3.Ejb3DescriptorHandler.getStatelessContainer(Ejb3DescriptorHandler.java:493)
       at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:143)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:528)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:488)
       at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:470)
       at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:436)
       at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:378)
       at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:145)
       ... 22 more
      12:18:53,733 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
      12:18:53,894 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      *** CONTEXTS IN ERROR: Name -> Error


        • 1. Re: No container configured with name 'Stateless Bean''
          jaikiran pai Master

           

          "nanda_kishore" wrote:
          Hi i am trying to deploy ejb 3 application un jboss 5.0.0 Beta4.


          Any specific reason for using JBoss-5 Beta 4? The latest version of JBoss-5 is JBoss-5.0 CR2. There have been a lot of bug fixes in this newer version and many people (including me) have now stopped using Beta-4. So if you run into any issue, i don't think you will get some good feedback on this version.

          "nanda_kishore" wrote:

          I removed messaging files under deploy because it is trying to connect messaging services.


          Just curious - Why not let it deploy the messaging services? Why do you want to disable it?

          "nanda_kishore" wrote:

          can any one tell me how to over come this error


          I haven't done this myself - not on JBoss-5. So i don't know what might have gone wrong. And more over you did not mention the exact files/folders you removed.

          "nanda_kishore" wrote:

          and how to disable messaging service.


          This wiki http://www.jboss.org/community/docs/DOC-10217 has the steps for JBoss-4.x and JBoss-3.x. The steps for JBoss-5 aren't yet there.