Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-375

DeploymentException: Module was not a war: console-standard-SNAPSHOT.war

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-M4
    • deployment, web
    • None

    Description

      If the web.xml file inside the war is malformed then the following. not very helpful exception is printed:

      org.apache.geronimo.deployment.DeploymentException: Module was not a war: console-standard-SNAPSHOT.war
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:467)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:205)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:110)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:83)
      at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:231)
      at org.apache.geronimo.system.main.CommandLine.<init>(CommandLine.java:106)
      at org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:64)

      Please can we reports that the DD is invalid and ideally explain why. For example, repoting that taglib elements need to be inside a jsp-config tag (like when a 2.3 document is changed to a 2.4 schema)

      Attachments

        Activity

          People

            djencks David Jencks
            jboynes Jeremy Boynes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: