Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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)
FWIW. Connectors report DD errors as you would expect, so I guess we need to get the web deployer to do that too.