DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24479>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24479

cactifywar makes it worse without error if source web.xml does not conform to DTD

           Summary: cactifywar makes it worse without error if source
                    web.xml does not conform to DTD
           Product: Cactus
           Version: 1.5-rc1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Ant Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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 :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to