3 Replies Latest reply on Jun 20, 2010 11:16 AM by jboss q

    Jboss 5.1.0 migration - Stateless Bean container

    Ken Helmes Newbie

      Hello,

       

      I am migrating from JBoss 4.2.3. to JBoss 5.1.0.  When trying to deploy a ear (that runs on 4.2.3) containg an ejb jar defined as a module in the application.xml, I get the following error:

       

      java.lang.RuntimeException: No container configured with name 'Stateless Bean''
          at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:307)
          at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:203)
          at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:718)
          at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:669)
          at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:651)
          at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:614)
          at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:491)
          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182)

       

       

      Has anyone run into this?

       

      Ken Helmes