0 Replies Latest reply on Sep 7, 2015 3:14 PM by Juan Manuel Pereyra Echeverz

    Error creating ejb container

    Juan Manuel Pereyra Echeverz Newbie

      Hi everyone!

       

      I´m using a Jboss 5.1 enviroment.

      I try to deploy a Web Service from a ejb project.

      I do a session bean without an local. I got an error because this. But I erase the session bean and the error are still here.

       

      I leave the error stacktrace here.

       

      Error installing to Real: name=vfszip:/C:/JBOSS%205.1/server/default/deploy/TUMI_EAR.ear/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Error deploying TUMI_EJB.jar: Error creating ejb container Services: Bean Class Managers.Services has no local, webservice, or remote interfaces defined and does not implement at least one business interface: Services

          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)

          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)

          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:171)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)

          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          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:781)

          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

          at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

          at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

          at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

          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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

          at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

          at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

          at org.jboss.Main.boot(Main.java:221)

          at org.jboss.Main$1.run(Main.java:556)

          at java.lang.Thread.run(Thread.java:662)

      Caused by: org.jboss.deployers.spi.DeploymentException: Error creating ejb container Services: Bean Class Managers.Services has no local, webservice, or remote interfaces defined and does not implement at least one business interface: Services

          at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:732)

          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)

          ... 34 more

      Caused by: java.lang.RuntimeException: Bean Class Managers.Services has no local, webservice, or remote interfaces defined and does not implement at least one business interface: Services

          at org.jboss.ejb3.proxy.factory.ProxyFactoryHelper.getLocalAndBusinessLocalInterfaces(ProxyFactoryHelper.java:255)

          at org.jboss.ejb3.proxy.factory.ProxyFactoryHelper.getLocalBusinessInterfaces(ProxyFactoryHelper.java:550)

          at org.jboss.ejb3.session.SessionContainer.resolveBusinessInterfaces(SessionContainer.java:192)

          at org.jboss.ejb3.EJBContainer.instantiated(EJBContainer.java:1564)

          at org.jboss.ejb3.session.SessionContainer.instantiated(SessionContainer.java:182)

          at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:726)

          ... 39 more

      16:00:46,594 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfszip:/C:/JBOSS%205.1/server/default/deploy/TUMI_EAR.ear/" is in error due to the following reason(s): java.lang.RuntimeException: Bean Class Managers.Services has no local, webservice, or remote interfaces defined and does not implement at least one business interface: Services

       

      Any ideas about it?

       

      Thanks in advance!