0 Replies Latest reply on Mar 26, 2013 5:27 AM by Debashis Mishra

    ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/D:/uLBP%20Software/jboss-5.0.1.GA/server/default/deploy/StrutsPractice1.war/ state=Not Installed mode=Manual requiredState=Parse

    Debashis Mishra Newbie

      when ever i try to run my simple struts application in eclipse using JBoss v5.0 4 getting the following error.

      ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/D:/uLBP%20Software/jboss-5.0.1.GA/server/default/deploy/StrutsPractice1.war/ state=Not Installed mode=Manual requiredState=Parse

      org.jboss.deployers.spi.DeploymentException

       

      : Error creating managed object for vfszip:/D:/uLBP%20Software/jboss-5.0.1.GA/server/default/deploy/StrutsPractice1.war/

      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(

      DeploymentException.java:49)

      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(

      AbstractParsingDeployerWithOutput.java:337)

      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(

      AbstractParsingDeployerWithOutput.java:297)

      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(

      AbstractParsingDeployerWithOutput.java:269)

      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(

      AbstractParsingDeployerWithOutput.java:230)

      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.hotdeploy.HDScanner.scan(

      HDScanner.java:290)

      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(

      HDScanner.java:221)

      at java.util.concurrent.Executors$RunnableAdapter.call(

      Executors.java:441)

      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(

      FutureTask.java:317)

      at java.util.concurrent.FutureTask.runAndReset(

      FutureTask.java:150)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(

      ScheduledThreadPoolExecutor.java:98)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(

      ScheduledThreadPoolExecutor.java:181)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(

      ScheduledThreadPoolExecutor.java:205)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(

      ThreadPoolExecutor.java:886)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(

      ThreadPoolExecutor.java:908)

      at java.lang.Thread.run(

      Thread.java:619)

      Caused by:

      org.jboss.xb.binding.JBossXBException: Failed to parse source: TargetNamespace.1: Expecting namespace 'http://java.sun.com/xml/ns/j2ee', but the target namespace of the schema document is 'http://java.sun.com/xml/ns/javaee'. @ http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd[8,20]

      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:199)

      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.parseAndInit(

      AbstractVFSParsingDeployer.java:256)

      at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(

      AbstractVFSParsingDeployer.java:188)

      at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(

      AbstractParsingDeployerWithOutput.java:323)

      ... 27 more

      Caused by:

      org.xml.sax.SAXException: TargetNamespace.1: Expecting namespace 'http://java.sun.com/xml/ns/j2ee', but the target namespace of the schema document is 'http://java.sun.com/xml/ns/javaee'. @ http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd[8,20]

      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(

      SaxJBossXBParser.java:426)

      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(

      ErrorHandlerWrapper.java:134)

      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(

      XMLErrorReporter.java:384)

      at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(

      XSDHandler.java:2537)

      at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(

      XSDHandler.java:2528)

      at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.constructTrees(

      XSDHandler.java:768)

      at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(

      XSDHandler.java:569)

      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(

      XMLSchemaLoader.java:552)

      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(

      XMLSchemaValidator.java:2436)

      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(

      XMLSchemaValidator.java:1781)

      at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(

      XMLSchemaValidator.java:705)

      at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.startElement(

      XIncludeHandler.java:908)

      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(

      XMLNSDocumentScannerImpl.java:400)

      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(

      XMLNSDocumentScannerImpl.java:626)

      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(

      XMLDocumentFragmentScannerImpl.java:3103)

      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(

      XMLDocumentScannerImpl.java:922)

      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(

      XMLDocumentScannerImpl.java:648)

      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(

      XMLNSDocumentScannerImpl.java:140)

      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(

      XMLDocumentFragmentScannerImpl.java:511)

      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(

      XML11Configuration.java:808)

      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(

      XML11Configuration.java:737)

      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(

      XMLParser.java:119)

      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(

      AbstractSAXParser.java:1205)

      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(

      SAXParserImpl.java:522)

      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(

      SaxJBossXBParser.java:199)

      ... 35 more

      14:51:47,378 WARN [HDScanner] Failed to process changes

      org.jboss.deployers.client.spi.IncompleteDeploymentException

       

      : Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS IN ERROR:

      Deployment "vfszip:/D:/uLBP%20Software/jboss-5.0.1.GA/server/default/deploy/StrutsPractice1.war/" is in error due to the following reason(s):

      org.xml.sax.SAXException: TargetNamespace.1: Expecting namespace 'http://java.sun.com/xml/ns/j2ee', but the target namespace of the schema document is 'http://java.sun.com/xml/ns/javaee'. @ http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd[8,20]

       

      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(

      DeployersImpl.java:863)

      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(

      MainDeployerImpl.java:806)

      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(

      HDScanner.java:293)

      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(

      HDScanner.java:221)

      at java.util.concurrent.Executors$RunnableAdapter.call(

      Executors.java:441)

      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(

      FutureTask.java:317)

      at java.util.concurrent.FutureTask.runAndReset(

      FutureTask.java:150)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(

      ScheduledThreadPoolExecutor.java:98)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(

      ScheduledThreadPoolExecutor.java:181)

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(

      ScheduledThreadPoolExecutor.java:205)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(

      ThreadPoolExecutor.java:886)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(

      ThreadPoolExecutor.java:908)

      at java.lang.Thread.run(

      Thread.java:619)

       

      Plz help.