[jboss-user] [EJB 3.0] - Re: [JBoss 5.0.0.Beta4] JBossXBException: Failed to parse so

mathiasarens3 do-not-reply at jboss.com
Mon Mar 17 12:08:18 EDT 2008


I am sorry but it doesn't seem to help. Now I get the following error:

anonymous wrote : 
  | 16:42:51,243 WARN  [CollectionPropertyHandler] ClassInfo.getDeclaredConstructor(null) didn't work for org.jboss.metadata.ejb.spec.InterceptorClassesMetaData, found the default ctor in ClassInfo.getDeclaredConstructors()
  | 16:42:52,664 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/applications/jboss-5.0.0.Beta4/server/default/deploy/core-ear-0.3-SNAPSHOT.ear state=Not Installed mode=Manual requiredState=Parse
  | org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/applications/jboss-5.0.0.Beta4/server/default/deploy/core-ear-0.3-SNAPSHOT.ear/core-riskengine-0.3-SNAPSHOT.jar
  |         at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:232)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:199)
  |         at org.jboss.deployment.JBossEjbParsingDeployer.createMetaData(JBossEjbParsingDeployer.java:105)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:162)
  |         at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
  |         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
  |         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
  |         at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
  |         at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
  |         at org.jboss.Main.boot(Main.java:208)
  |         at org.jboss.Main$1.run(Main.java:534)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: QName {http://www.jboss.com/xml/ns/javaee}resource-ref error adding org.jboss.metadata.javaee.spec.ResourceReferenceMetaData at 15b5219 to collection org.jboss.metadata.javaee.spec.ResourceReferencesMetaData at 6b258d
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:193)
  |         at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:153)
  |         at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:120)
  |         at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:86)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:223)
  |         ... 22 more
  | Caused by: java.lang.RuntimeException: QName {http://www.jboss.com/xml/ns/javaee}resource-ref error adding org.jboss.metadata.javaee.spec.ResourceReferenceMetaData at 15b5219 to collection org.jboss.metadata.javaee.spec.ResourceReferencesMetaData at 6b258d
  |         at org.jboss.xb.builder.runtime.CollectionPropertyHandler.handle(CollectionPropertyHandler.java:154)
  |         at org.jboss.xb.builder.runtime.AbstractPropertyHandler.doHandle(AbstractPropertyHandler.java:98)
  |         at org.jboss.xb.builder.runtime.BeanHandler.setParent(BeanHandler.java:197)
  |         at org.jboss.xb.binding.group.ValueListHandler$FACTORY$1.newInstance(ValueListHandler.java:401)
  |         at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endRepeatableParticle(SundayContentHandler.java:853)
  |         at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:221)
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:379)
  |         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
  |         at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
  |         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
  |         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
  |         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  |         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  |         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  |         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:189)
  |         ... 26 more
  | Caused by: java.lang.IllegalArgumentException: No resource ref name
  |         at org.jboss.metadata.javaee.support.AbstractMappedMetaData.add(AbstractMappedMetaData.java:119)
  |         at org.jboss.metadata.javaee.support.AbstractMappedMetaData.add(AbstractMappedMetaData.java:37)
  |         at org.jboss.xb.builder.runtime.CollectionPropertyHandler.handle(CollectionPropertyHandler.java:150)
  |         ... 43 more
I reinstalled JBoss-5.0.0.Beta4 again to make sure that I have a clean installation. I also ran JBoss with different JDKs (5u13 and 6u5). But I get always the same error. I also tried JBoss 5.0.0.Beta3 but I got the same error with JDK5u13.

Is there a way to disable xml validation?



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

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



More information about the jboss-user mailing list