]
Prasad Gopal commented on WBINT-10:
-----------------------------------
Hi ,
I also getting the same problem of Classloader has not set in boot.log.
how to get rid of this exception.
I am using jboss-5.1.0.GA-jdk6 and jdk version is 1.6.0_14. tried in both windows and
linux.
5:56:43,478 DEBUG [ProfileServiceBootstrap] Created
ManagedComponent(KernelDeploymentManagedObjectCreator) of type: ComponentType{type=MCBean,
subtype=*} for MO: KernelDeploymentManagedObjectCreator, componentName:
KernelDeploymentManagedObjectCreator
05:56:43,478 DEBUG [AbstractDeploymentContext] Added component LogBridgeHandler to
file:/C:/jboss-5.1.0.GA/server/default/conf/bootstrap/logging.xml
05:56:43,481 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for:
AbstractKernelDeployment@850e8c{name=file:/C:/jboss-5.1.0.GA/server/default/conf/bootstrap/logging.xml
installed=true beanFactories=[AbstractBeanMetaData@17e319a{name=LogBridgeHandler
bean=org.jboss.logbridge.LogBridgeHandler properties= constructor=null
autowireCandidate=true}]}
org.jboss.deployers.spi.DeploymentException: Error deploying:
file:/C:/jboss-5.1.0.GA/server/default/conf/bootstrap/logging.xml
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.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:433)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:250)
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(Unknown Source)
Caused by: java.lang.IllegalStateException: ClassLoader has not been set
at
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)
at
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)
at
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
... 6 more
ClassNotFoundException in JBossAS 5.1.0.Beta1:
org.jboss.webbeans.integration.jbossas.bootstrap.JBossWebBeanDiscovery
---------------------------------------------------------------------------------------------------------------------
Key: WBINT-10
URL:
https://jira.jboss.org/jira/browse/WBINT-10
Project: Web Beans Integration
Issue Type: Bug
Components: Deployer
Affects Versions: 5.2.0.Beta1
Environment: JBossAS 5.1.0.Beta1
Reporter: Juergen Zimmermann
Assignee: Ales Justin
Attachments: boot-jdk6.log, boot.log, directory-listing.jpg, hska.ear.zip,
server.log
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@10b0fd{VFSClassLoaderPolicy@1d3c9ab{name=vfsfile:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/
domain=ClassLoaderDomain@9fea8a{name=DefaultDomain parentPolicy=BEFORE
parent=org.jboss.system.NoAnnotationURLClassLoader@19dfbff}
roots=[MemoryContextHandler@22880106[path=
context=vfsmemory://3j001-uciy84-fscqpihp-1-fscqpxu2-23
real=vfsmemory://3j001-uciy84-fscqpihp-1-fscqpxu2-23],
DelegatingHandler(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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(a)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: