1 Reply Latest reply on Jul 2, 2007 11:41 AM by Bill Burke

    Embedded project still broken

    Adrian Brock Master

      I've updated the embedded project such that it now builds and the bootstrap tests work.
      But there looks to be a number of problems related to EJBs,
      most likely due to outdated configurations or classpath dependencies.

      e.g.

      ERROR 02-07 17:03:13,610 (DeployerWrapper.java:deploy:169) -Error during deploy: vfsfile:/home/ejort/jboss-head/embedded/output/test-lib/ejb-test.jar
      java.lang.NoClassDefFoundError: org/jboss/iiop/CorbaORBService
       at org.jboss.ejb3.EJBContainer.bindORB(EJBContainer.java:224)
       at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:217)
       at org.jboss.ejb3.SessionContainer.<init>(SessionContainer.java:83)
       at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer.java:77)
       at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:249)
       at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:142)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:498)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:451)
       at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:433)
       at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:399)
       at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:341)
       at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrationDeployer.java:158)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.deploy(AbstractVFSRealDeployer.java:45)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:164)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:657)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstall(DeployersImpl.java:623)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:587)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:304)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1257)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:685)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:813)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:735)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:573)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:374)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:426)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:340)
       at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:128)
       at org.jboss.embedded.Bootstrap.deploy(Bootstrap.java:322)
       at org.jboss.embedded.junit.ClasspathBasedTestServices.redeploy(ClasspathBasedTestServices.java:95)
       at org.jboss.test.JBossTestSetup.redeploy(JBossTestSetup.java:185)
       at org.jboss.test.JBossTestCase$1.setUp(JBossTestCase.java:305)
       at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.extensions.TestSetup.run(TestSetup.java:25)
       at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
       at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
       at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
      


      At least in this case, the ORB should be optional.
      If there is no ORB configured, it shouldn't fail.

      It should fail when the user tries to lookup the ORB.