Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3338

Deployment of a WAR archive with malformed web.xml ends up in undefined state

    XMLWordPrintable

Details

    Description

      Deployment of a WAR archive with malformed web.xml ends up in undefined state. The undeploy operation of the malformed archive is triggered however it is rolled back. As a result, the deployment is not available however it is listed in the configuration model.

      15:05:15,997 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.unit."deployment2.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."deployment2.war".PARSE: Failed to process phase PARSE of deployment "deployment2.war"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0_b147-icedtea]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0_b147-icedtea]
      at java.lang.Thread.run(Thread.java:722) [:1.7.0_b147-icedtea]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/content/deployment2.war/WEB-INF/web.xml" at [1,1]
      at org.jboss.as.web.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:112)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      ... 5 more

      15:05:16,001 INFO [org.jboss.as.server] (management-handler-threads - 3) JBAS015856: Undeploy of deployment "deployment2.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"deployment2.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"deployment2.war\".PARSE: Failed to process phase PARSE of deployment \"deployment2.war\""}}
      15:05:16,005 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) Stopped deployment deployment2.war in 3ms
      15:05:16,006 INFO [org.jboss.as.controller] (management-handler-threads - 3) JBAS014774: Service status report
      JBAS014777: Services which failed to start: service jboss.deployment.unit."deployment2.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."deployment2.war".PARSE: Failed to process phase PARSE of deployment "deployment2.war"

      Attachments

        Issue Links

          Activity

            People

              olubyans@redhat.com Alexey Loubyansky
              dpospisil Dominik Pospisil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: