1 2 Previous Next 23 Replies Latest reply on Nov 25, 2010 4:15 AM by jaikiran pai

    Failed to resolve schema nsURI= location=JBoss

    mike just Master

      While I am deploying my project in Jboss 5.1.0, it reports an error of "Failed to parse source: Failed to resolve schema nsURI= location=JBoss". I googled many times but only got disussions about the item which contains the string "location=persistence". Can anybody help me our of this problem? More log information pasted below. Note: globalsight.ear/cxe-ejb.jar/ is my jar directory. The project was working under JBoss 4.0.3.

       

      10:36:57,093 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/tmp/Global
      Sight_7.1/jboss/jboss_server/server/default/deploy/globalsight.ear/ state=Not Installed mode=Manual
      requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/tmp/Globa
      lSight_7.1/jboss/jboss_server/server/default/deploy/globalsight.ear/cxe-ejb.jar/
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentExcept
      ion.java:49)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData
      (AbstractParsingDeployerWithOutput.java:362)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData
      (AbstractParsingDeployerWithOutput.java:322)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData
      (AbstractParsingDeployerWithOutput.java:294)
              at org.jboss.deployment.JBossEjbParsingDeployer.createMetaData(JBossEjbParsingDeployer.java:
      95)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(Abstrac
      tParsingDeployerWithOutput.java:234)
              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.ja
      va:1157)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
      va:1210)
              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:93
      4)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
      082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
      84)
              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(MainDeploye
      rAdapter.java:117)
              at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDepl
      oyAction.java:70)
              at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractP
      rofileAction.java:53)
              at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Abstract
      ProfileService.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:93
      4)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
      082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
      84)
              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(ProfileServiceBootst
      rap.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: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema n
      sURI= location=JBoss
              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.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
              at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.
      java:137)
              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.
      java:121)
              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSP
      arsingDeployer.java:256)
              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingD
      eployer.java:188)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData
      (AbstractParsingDeployerWithOutput.java:348)
              ... 35 more
      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema nsURI= location=JB
      oss
              at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContent
      Handler.java:281)
              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(Sa
      xJBossXBParser.java:401)
              at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
              at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
              at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
              at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(U
      nknown 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:199)
              ... 43 more

        1 2 Previous Next