2 Replies Latest reply on Jan 5, 2009 8:50 PM by Alexander Bell

    Problems with installing WebBeans

    Alexander Bell Newbie
      Hi,

      I got some problems with installing the web beans alpha release.
      I adjusted the jboss-as/build.properties and executed the update-ant-task.
      Afterwards I get the following exception during the startup from the jboss-as:

      12:08:41,453 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/Apps/jboss-5.0.0.GA/server/default/deployers/ejb3.depl
      oyer/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying: vfsfile:/C:/Apps/jboss-5.0.0.GA/server/default/deployers/ejb3.deployer/
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
              at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
              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.install(DeployersImpl.java:1098)
              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:781)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:297)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
              at org.jboss.Main.boot(Main.java:209)
              at org.jboss.Main$1.run(Main.java:547)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.IllegalArgumentException: Exception loading class for ScopeKey addition.
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:67)
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
              ... 23 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.ejb3.common.resolvers.spi.EjbReferenceResolver from BaseClassLoader@79ec3264{VFSClassLoa
      derPolicy@1e081c5{name=vfsfile:/C:/Apps/jboss-5.0.0.GA/server/default/deployers/ejb3.deployer/ domain=ClassLoaderDomain@4355d3a3{name=DefaultDo
      main parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@6cf84386} roots=[MemoryContextHandler@979873145[path= context=vfsme
      mory://5c4o1b-10h9qa-fn4ftx0h-1-fn4fu5i1-8 real=vfsmemory://5c4o1b-10h9qa-fn4ftx0h-1-fn4fu5i1-8], FileHandler@1823342819[path=ejb3.deployer con
      text=file:/C:/Apps/jboss-5.0.0.GA/server/default/deployers/ real=file:/C:/Apps/jboss-5.0.0.GA/server/default/deployers/ejb3.deployer/], Delegat
      ingHandler@331116243[path=ejb3.deployer/jboss-ejb3-deployer.jar context=file:/C:/Apps/jboss-5.0.0.GA/server/default/deployers/ real=file:/C:/Ap
      ps/jboss-5.0.0.GA/server/default/deployers/ejb3.deployer/jboss-ejb3-deployer.jar], DelegatingHandler@940566724[path=ejb3.deployer/jboss-ejb3-ii
      op.jar context=file:/C:/Apps/jboss-5.0.0.GA/server/default/deployers/ real=file:/C:/Apps/jboss-5.0.0.GA/server/default/deployers/ejb3.deployer/
      jboss-ejb3-iiop.jar]]  delegates=null exported=[org.jboss.as.javaee, org.jboss.ejb3.clientmodule, org.jboss.ejb3.deployers, org.jboss.ejb3.depl
      oyers.tmp, org.jboss.ejb3.iiop, org.jboss.as.jpa.resolvers, META-INF] <IMPORT-ALL>NON_EMPTY}}
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:385)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:63)
              ... 24 more
      12:08:44,734 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      12:08:44,734 INFO  [NativeServerConfig] 3.0.4.SP1
      12:08:48,187 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}

      The jboss works fine without installing webbeans.
      Can anybody help me?

      Regards, Alex