[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss5 CR1 and org.jboss.xb.binding.JBossXBException

jimmycallaghan do-not-reply at jboss.com
Wed Jul 2 03:58:44 EDT 2008


I've been using JBoss5.0.0.Beta4 and have managed to get a new set of applications deploying and working very nicely. However, now that CR1 has been released I would very much like to use that instead. Problem is that when I try and deploy any of these same applications I get the following errors for each EAR that is being deployed:

07:37:53,841 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/home/jim/messaging-platform/jboss-5.0.0.CR1/server/custom1/deploy/webs/10.mpee.local.20080701.1742.ear state=Not Installed mode=Manual requiredState=Parse
  | org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/home/jim/messaging-platform/jboss-5.0.0.CR1/server/custom1/deploy/webs/10.mpee.local.20080701.1742.ear
  | 	at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:303)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:275)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:236)
  | 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
  | 	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
  | 	at org.jboss.Main.boot(Main.java:209)
  | 	at org.jboss.Main$1.run(Main.java:544)
  | 	at java.lang.Thread.run(Thread.java:595)
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI= location=persistence
  | 	at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
  | 	at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
  | 	at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:198)
  | 	at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
  | 	at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
  | 	at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
  | 	at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:128)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:329)
  | 	... 21 more

I've checked the forums and only found a little posing about adding the following to metadata-deployer-beans.xml:

<entry>
  |     <key>persistence_1_0.xsd</key>
  |     <value>org.jboss.metadata.jpa.spec.PersistenceMetaData</value>
  | </entry>
  | 

Any suggestions anyone?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161962#4161962

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161962



More information about the jboss-user mailing list