[jboss-jira] [JBoss JIRA] Created: (JBAS-9432) Deployments fail when there is no WEB-INF directory in a .war

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Mon Aug 1 22:20:23 EDT 2011


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

                 Key: JBAS-9432
                 URL: https://issues.jboss.org/browse/JBAS-9432
             Project: Legacy JBoss Application Server 6 
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Shelly McGowan


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]


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list