Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9432

Deployments fail when there is no WEB-INF directory in a .war

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.1.0
    • 6.0.0.Final
    • Deployers
    • None

    Description

      Some test suite regressions occurred since this commit:
      http://source.jboss.org/changelog/JBossAS6/?cs=111852

      The issues are related to deployment failures when a .war archive does not contain a WEB-INF directory in the .war file but the deployer expects to find one:
      2011-08-01 14:36:07,211 INFO [org.jboss.deployment.MainDeployer] (RMI TCP Connection(2)-127.0.0.1) deploy, url=file:/NotBackedUp/TRUNK/trunk/testsuite/output/lib/jbas8528.ear
      2011-08-01 14:36:07,240 WARN [org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder] (RMI TCP Connection(2)-127.0.0.1) Error populating deployment vfs:///NotBackedUp/TRUNK/trunk/testsuite/output/lib/jbas8528.ear: org.jboss.deployers.spi.DeploymentException: Unable to find class path entry ClassPathEntryImpl

      {path=jbas8528.war/WEB-INF}

      from jbas8528.ear
      at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:193) [:2.2.2.GA]
      at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:139) [:2.2.2.GA]
      at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:92) [:2.2.2.GA]
      at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:89) [:2.2.2.GA]
      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1106) [:2.2.2.GA]
      at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:417) [:2.2.2.GA]
      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:367) [:2.2.2.GA]
      at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:277) [:2.2.2.GA]
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:379) [:6.1.0-SNAPSHOT]

      Attachments

        Issue Links

          Activity

            People

              ajustin@redhat.com Ales Justin
              smcgowan@redhat.com Shelly McGowan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: