geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Closed: (GERONIMO-4646) Warn during a war deployment, if no WEB-INF/web.xml file is found
Date Wed, 28 Oct 2009 00:59:59 GMT


David Jencks closed GERONIMO-4646.

       Resolution: Fixed
    Fix Version/s:     (was: 2.1.5)

2.2 rev 830415.  Not fixed in 2.1.5.  Not appropriate for trunk since 3.0 encourages annotations
instead of web.xml.

> Warn during a war deployment, if no WEB-INF/web.xml file is found
> -----------------------------------------------------------------
>                 Key: GERONIMO-4646
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1.4, 2.2
>            Reporter: Kevan Miller
>             Fix For: 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.

View raw message