[webbeans-issues] [JBoss JIRA] Updated: (WBINT-16) Ear Deployment fails

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jun 29 09:15:56 EDT 2009


     [ https://jira.jboss.org/jira/browse/WBINT-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated WBINT-16:
---------------------------

      Component/s: Deployer
    Fix Version/s: 5.2.0.Beta4


> Ear Deployment fails
> --------------------
>
>                 Key: WBINT-16
>                 URL: https://jira.jboss.org/jira/browse/WBINT-16
>             Project: Web Beans Integration
>          Issue Type: Bug
>          Components: Deployer
>         Environment: JBoss 5.1.0.GA (for java 1.5) with the webbeans that comes with that
>            Reporter: Martin Eigenbrodt
>            Assignee: Pete Muir
>             Fix For: 5.2.0.Beta4
>
>
> I've build the numberguess example and it runs fine if deployed as war.
> I've then wrapped the war in an ear that contains nothingh but the war. Deploying this ear fails:
> http://services.grp.haufemg.com:9090/epwiki/Build%20Guideline#preview
> 15:05:26,718 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
> 15:05:26,875 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/Programme/Java/jboss-5.1.0.GA/server/default/deploy/webbeans-numberguess.ear/ state=PreReal mode=Manual required
> State=Real
> org.jboss.deployers.spi.DeploymentException: Error deploying: vfszip:/C:/Programme/Java/jboss-5.1.0.GA/server/default/deploy/webbeans-numberguess.ear/
>         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.AbstractComponentDeployer.deployComponents(AbstractComponentDeployer.java:102)
>         at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:82)
>         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: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: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)
>         ... 34 more
> Caused by: java.lang.ClassNotFoundException: org.jboss.webbeans.bootstrap.WebBeansBootstrap from BaseClassLoader at f1c18{VFSClassLoaderPolicy at 1fd96c5{name=vfszip:/C:/Programme/Java/jboss-5.1.0.GA/server
> /default/deploy/webbeans-numberguess.ear/ domain=ClassLoaderDomain at eb67e8{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader at 1dd7056} roots=[MemoryContextHand
> ler at 28669459[path= context=vfsmemory://5c4o22s-3vjcoj-fwj7bm70-1-fwj7cfjv-2a real=vfsmemory://5c4o22s-3vjcoj-fwj7bm70-1-fwj7cfjv-2a], DelegatingHandler at 5956743[path=webbeans-numberguess.ear context=fi
> le:/C:/Programme/Java/jboss-5.1.0.GA/server/default/deploy/ real=file:/C:/Programme/Java/jboss-5.1.0.GA/server/default/deploy/webbeans-numberguess.ear]]  delegates=null exported=[] <IMPORT-ALL>NON_EMP
> TY}}
>         at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>         at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:63)
>         ... 35 more
> 15:05:26,921 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list