[webbeans-issues] [JBoss JIRA] Created: (WBRI-189) ClassNotFoundException in JBossAS 5.1.0.Beta1: org.jboss.webbeans.integration.jbossas.bootstrap.JBossWebBeanDiscovery
Juergen Zimmermann (JIRA)
jira-events at lists.jboss.org
Mon Mar 16 02:07:22 EDT 2009
ClassNotFoundException in JBossAS 5.1.0.Beta1: org.jboss.webbeans.integration.jbossas.bootstrap.JBossWebBeanDiscovery
---------------------------------------------------------------------------------------------------------------------
Key: WBRI-189
URL: https://jira.jboss.org/jira/browse/WBRI-189
Project: Web Beans
Issue Type: Bug
Components: Bootstrap
Affects Versions: 1.0.0.BETA1
Environment: JBossAS 5.1.0.Beta1
Reporter: Juergen Zimmermann
I converted just 1 managed bean (JSF) into a session-scoped web bean and added an empty META-INF/beans.xml to the EAR's web module. When starting JBoss I get the following stacktrace.
06:54:21,678 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: vfsfile:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.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: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:698)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:59)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:355)
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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:310)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:241)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:216)
at org.jboss.Main$1.run(Main.java:546)
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.integration.jbossas.bootstrap.JBossWebBeanDiscovery from BaseClassLoader at 10b0fd{VFSClassLoaderPolicy at 1d3c9ab{name=vfsfile:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/ domain=ClassLoaderDomain at 9fea8a{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader at 19dfbff} roots=[MemoryContextHandler at 22880106[path= context=vfsmemory://3j001-uciy84-fscqpihp-1-fscqpxu2-23 real=vfsmemory://3j001-uciy84-fscqpihp-1-fscqpxu2-23], DelegatingHandler at 12165444[path=hska.ear/lib/commons-collections-3.2.1.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/lib/commons-collections-3.2.1.jar], DelegatingHandler at 17472943[path=hska.ear/lib/dbunit-2.4.4.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/lib/dbunit-2.4.4.jar], DelegatingHandler at 32931310[path=hska.ear/lib/junit-4.5.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/lib/junit-4.5.jar], DelegatingHandler at 29742564[path=hska.ear/lib/log4j-1.2.15.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/lib/log4j-1.2.15.jar], DelegatingHandler at 22901715[path=hska.ear/lib/slf4j-api-1.5.6.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/lib/slf4j-api-1.5.6.jar], DelegatingHandler at 6235237[path=hska.ear/lib/slf4j-log4j12-1.5.6.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/lib/slf4j-log4j12-1.5.6.jar], FileHandler at 5144787[path=hska.ear context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/], FileHandler at 32226195[path=hska.ear/hskaEJB.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/hskaEJB.jar/], DelegatingHandler at 23581633[path=hska.ear/testHskaClient.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/testHskaClient.jar], FileHandler at 25125157[path=hska.ear/testHskaEJB.jar context=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/ real=file:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/testHskaEJB.jar/]] delegates=null exported=[, org.apache.commons.collections.keyvalue, de.hska.kundenverwaltung.db, org.junit.experimental.theories.suppliers, org.dbunit.dataset.common.handlers, org.apache.log4j, de.hska.test.util, org.junit.experimental.theories, org.junit.experimental.theories.internal, org.junit.internal, org.junit.internal.runners, org.apache.log4j.lf5.config, org.apache.log4j.spi, org.dbunit.ant, junit.framework, org.apache.commons.collections.bag, org.apache.log4j.chainsaw, org.dbunit.ext.db2, org.apache.commons.collections.list, org.dbunit.assertion, org.hamcrest.internal, org.dbunit.database, org.apache.log4j.lf5.util, org.apache.log4j.jdbc, de.hska.util.jboss, org.apache.commons.collections, org.dbunit.operation, junit.runner, org.dbunit.dataset.stream, org.dbunit.util.search, junit.textui, org.slf4j.spi, org.apache.log4j.lf5, de.hska.test, org.dbunit.ext.h2, org.dbunit.util.concurrent, de.hska.bestellverwaltung.awk, org.apache.commons.collections.set, org.apache.log4j.lf5.viewer.images, de.hska.artikelverwaltung.db, org.apache.commons.collections.functors, org.junit.internal.builders, org.slf4j, org.junit.internal.matchers, org.junit.internal.requests, org.hamcrest.core, org.dbunit.dataset.filter, org.apache.log4j.varia, org.dbunit.dataset.csv, de.hska.util, org.junit.internal.runners.statements, org.apache.log4j.lf5.viewer.configure, org.dbunit.dataset.sqlloader, org.dbunit.ext.oracle, org.apache.commons.collections.bidimap, org.apache.log4j.nt, org.junit.internal.runners.model, org.apache.commons.collections.collection, org.dbunit.dataset, org.junit.runner.manipulation, META-INF.maven.log4j.log4j, org.apache.commons.collections.map, org.apache.log4j.xml, org.junit.runner, org.junit.runners, org.dbunit.dataset.excel, org.junit.matchers, de.hska.nls, de.hska.artikelverwaltung.awk, org.dbunit.dataset.datatype, META-INF.maven.org.dbunit.dbunit, org.dbunit.util.xml, org.apache.log4j.lf5.viewer.categoryexplorer, org.junit, org.apache.log4j.or, org.apache.commons.collections.buffer, org.dbunit.ext.mssql, org.dbunit.dataset.xml, org.junit.runners.model, org.dbunit, org.apache.log4j.net, org.apache.log4j.lf5.viewer, org.apache.log4j.jmx, org.apache.commons.collections.comparators, org.apache.log4j.config, org.apache.log4j.helpers, org.dbunit.util, org.dbunit.database.search, org.apache.log4j.or.jms, junit.extensions, org.apache.commons.collections.iterators, META-INF.maven.org.slf4j.slf4j-log4j12, org.slf4j.impl, org.dbunit.ext.hsqldb, org.slf4j.helpers, org.dbunit.ext.mysql, META-INF.maven.commons-collections.commons-collections, org.hamcrest, de.hska.bestellverwaltung.db, de.hska.kundenverwaltung.awk, org.junit.runner.notification, org.junit.experimental.results, org.apache.log4j.or.sax, META-INF, org.junit.experimental.runners, META-INF.maven.org.slf4j.slf4j-api, org.dbunit.database.statement] <IMPORT-ALL>NON_EMPTY}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:422)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:63)
... 35 more
--
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