2012/4/17 James Lampert <jam...@touchtonecorp.com>:
> We are having a very frustrating error on one customer box, with a Tomcat
> version and a WAR file that are working perfectly elsewhere.
>
> That same WAR file runs perfectly on this same box, if expanded from the
> command line.
>
> Can anybody here shed any light on this?
>
> --
> James H. H. Lampert
> Touchtone Corporation
>
> SEVERE: Error deploying web application archive
> /wintouch/tomcat/webapps/ROOT.war
> Throwable occurred: java.lang.IllegalArgumentException: The archive
> [jar:file:/wintouch/tomcat/webapps/ROOT.war!/] is malformed and will be
> ignored: an entry contains an illegal path [META-INF/MANIFEST.MF] which was
> not expanded to [/WINTOUCH/TOMCAT/webapps/ROOT//META-INF/MANIFEST.MF] since
> that is outside of the defined docBase [/wintouch/tomcat/webapps/ROOT/]

1. Tomcat version = ?
2. OS = ?

3. It is security check against CVE-2009-2693

In essence it checks that File.getCanonicalPath() of (webapp root
directory + archive entry) is as expected.

>   at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:122)


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to