tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51580] Severe error deploying WAR application (ExpandWar error)
Date Thu, 25 Aug 2011 15:18:55 GMT

--- Comment #11 from Christopher Schultz <> 2011-08-25 15:18:55
UTC ---
Interestingly enough, Apache Ant's "zip" and "jar" tasks both have an
"encoding" attribute to control the charset used for filenames, but they have a
subtle difference in their default configurations.

The <zip> task defaults to the platform's default encoding while the <jar> task
defaults to UTF-8 with a *strong* warning not to change the default <jar>
encoding unless you know what you're doing.

So it looks like Cleon must have used <zip> instead of the much more
appropriate <war> task to create his WAR file.

Still, I think it's a good idea to throw a different kind of exception. NPEs
make it look like there is an actual bug in Tomcat which is certainly not the

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message