[jboss-user] [JBoss Microcontainer] New message: "Re: Info required about jboss-classloading.xml"

null null do-not-reply at jboss.com
Thu Jan 21 10:44:26 EST 2010


User development,

A new message was posted in the thread "Info required about jboss-classloading.xml":

http://community.jboss.org/message/521473#521473

Author  : null null
Profile : http://community.jboss.org/people/deanhiller

Message:
--------------------------------------------------------------
I had used that first posting already which didn't work or seem to be enough.  I like that second article....THANKS.
 
anyone have an existing jar that deploys successfully in 5.1.0 that i can compare mine with.
 
Also, Do I have to use the new classloading.xml way for that example I gave.....I assume yes?
 
I am however still running into a NullPointerException.  I removed my wars and just deploy my EJB3 jar with this file
 
<classloading xmlns="urn:jboss:classloading:1.0">
  <capabilities>
    <module name="xcore3.jar"/>
  </capabilities>
</classloading>
 
I just want this xcore3.jar to be a supplier to two other war files basically, but just deploying this one jar, I get the below exception in jboss 5.1.0......
 
2010-01-21 08:33:56,590 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) N/A Error installing to Real: name=vfszip:/home/jboss/jboss-5.1.0.GA/server/all/deploy/xcore3.jar/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying xcore3.jar: failed to initialize bean container 
    at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)
    at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)
    at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
    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.RuntimeException: failed to initialize bean container 
    at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:253)
    at org.jboss.ejb3.session.SessionContainer.<init>(SessionContainer.java:119)
    at org.jboss.ejb3.session.SessionSpecContainer.<init>(SessionSpecContainer.java:69)
    at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer.java:112)
    at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:310)
    at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:203)
    at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:718)
    at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:669)
    at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:651)
    at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:614)
    at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:491)
    at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182)
    ... 33 more
Caused by: java.lang.IllegalStateException: Null beannMetaData
    at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:315)
    at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.initialise(BeanInterceptorMetaDataBridge.java:235)
    at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.<init>(BeanInterceptorMetaDataBridge.java:138)
    at org.jboss.ejb3.interceptors.metadata.AdditiveBeanInterceptorMetaDataBridge.<init>(AdditiveBeanInterceptorMetaDataBridge.java:48)
    at org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:194)
    at org.jboss.ejb3.EJBContainer.<init>(EJBContainer.java:249)
    ... 44 more
Caused by: java.lang.NullPointerException
    at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:268)
    ... 49 more

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/521473#521473




More information about the jboss-user mailing list