You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Victor Fang (JIRA)" <ji...@apache.org> on 2009/09/01 04:27:32 UTC
[jira] Updated: (GERONIMO-4646) Warn during a war deployment, if no
WEB-INF/web.xml file is found
[ https://issues.apache.org/jira/browse/GERONIMO-4646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Victor Fang updated GERONIMO-4646:
----------------------------------
Attachment: GERONIMO-4646 2.patch
> Warn during a war deployment, if no WEB-INF/web.xml file is found
> -----------------------------------------------------------------
>
> Key: GERONIMO-4646
> URL: https://issues.apache.org/jira/browse/GERONIMO-4646
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Affects Versions: 2.1.4, 2.2
> Reporter: Kevan Miller
> Fix For: 2.1.5, 2.2
>
> Attachments: GERONIMO-4646 2.patch, GERONIMO-4646 2.patch, GERONIMO-4646.patch, GERONIMO-4646.patch, GERONIMO-4646.PNG
>
>
> Per the specs, a WAR without a WEB-INF/web.xml is a valid WAR file. However, it's also an indication of a poorly formatted WAR. It seems like it would be useful to log a warning, if we don't find a WEB-INF/web.xml file, just like we log a WARN, if a geronimo-web.xml file is not found:
> 2009-05-25 22:13:12,535 WARN [TomcatModuleBuilder] Web application . does not contain a WEB-INF/geronimo-web.xml deployment plan. This may or may not be a problem, depending on whether you have things like resource references that need to be resolved. You can also give the deployer a separate deployment plan file on the command line.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.