You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Vincent Massol (JIRA)" <ca...@jakarta.apache.org> on 2005/01/27 22:17:32 UTC

[jira] Updated: (CACTUS-67) cactifywar makes it worse without error if source web.xml does not conform to DTD

     [ http://issues.apache.org/jira/browse/CACTUS-67?page=history ]

Vincent Massol updated CACTUS-67:
---------------------------------

    Fix Version:     (was: 1.7)

> cactifywar makes it worse without error if source web.xml does not conform to DTD
> ---------------------------------------------------------------------------------
>
>          Key: CACTUS-67
>          URL: http://issues.apache.org/jira/browse/CACTUS-67
>      Project: Cactus
>         Type: Improvement
>   Components: Ant Integration
>     Versions: 1.5-rc1
>  Environment: Operating System: Other
> Platform: Other
>     Reporter: Brett Porter

>
> I had a web.xml where I had put a listener too early, so it did not conform to
> the DTD. As Tomcat treats this as a warning, I hadn't noticed.
> However, cactifying the WAR added:
>     <filter-mapping>
>         <filter-name>filterredirector</filter-name>
>         <url-pattern>/test/filterRedirector.jsp</url-pattern>
>     </filter-mapping>
> first (before the listener), which Tomcat didn't like very much because it
> hadn't seen the filter definition yet, and failed to start.
> cactifywar shouldn't have to correct other people's mistakes, but it would be
> good if it gave an error if the web.xml did not conform to the DTD, so that this
> mistake was not so well hidden :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org