0 Replies Latest reply on Dec 24, 2010 4:10 AM by Manoj Jain

    Application deployment failed migrating from JBoss 4.3 to 5.1

    Manoj Jain Newbie

      Hi All,

       

           I am trying to upgrade my application from jboss 4.3 to 5.1, I have downloade and installed Jboss 5.1. When I deployed my application in default server of jboss 5.1. I am getting deployment failed error.  Please suggest me some solution to this

       

      13:57:54,866 ERROR [AbstractKernelController] Error installing to Parse: name=vf
      szip:/D:/jboss-5.0.1.GA/server/default/deploy/XYZ.war/ state=Not Installed mode=
      Manual requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for v
      fszip:/D:/jboss-5.0.1.GA/server/default/deploy/XYZ.war/
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
      ion(DeploymentException.java:49)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
      utput.createMetaData(AbstractParsingDeployerWithOutput.java:337)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
      utput.createMetaData(AbstractParsingDeployerWithOutput.java:297)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
      utput.createMetaData(AbstractParsingDeployerWithOutput.java:269)
              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO
      utput.deploy(AbstractParsingDeployerWithOutput.java:230)
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
      Wrapper.java:171)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
      sImpl.java:1439)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
      rst(DeployersImpl.java:1157)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
      Impl.java:1098)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
      ctControllerContext.java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
      oller.java:1598)
              at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
      ctController.java:934)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:1062)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
      actController.java:984)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
      ller.java:822)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
      ller.java:553)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
      Impl.java:781)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
      rImpl.java:698)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
      ofile(ProfileServiceBootstrap.java:304)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
      ProfileServiceBootstrap.java:205)
              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
      405)
              at org.jboss.Main.boot(Main.java:209)
              at org.jboss.Main$1.run(Main.java:547)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: cvc-co
      mplex-type.2.4.a: Invalid content was found starting with element 'url-pattern'.
      One of '{"http://java.sun.com/xml/ns/j2ee":dispatcher}' is expected. @ vfszip:/
      D:/jboss-5.0.1.GA/server/default/deploy/XYZ.war/WEB-INF/web.xml[113,16]
              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
      er.java:203)
              at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java
      :168)
              at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBos
      sXBDeployerHelper.java:199)
              at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBos
      sXBDeployerHelper.java:170)
              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sch
      emaResolverDeployer.java:132)
              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sch