tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Problem with deployment of a WAR file from Manager
Date Tue, 17 Apr 2012 16:02:09 GMT
2012/4/17 James Lampert <jamesl@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message