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=26275>. 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=26275 Problems extracting WAR file when file names are latin 1 encoded Summary: Problems extracting WAR file when file names are latin 1 encoded Product: Tomcat 4 Version: 4.1.29 Platform: Other OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I create a WAR file using an Ant task like this: <war destfile="my.war" webxml="resources/web.xml" encoding="ISO-8859-1"> Some of the file names include german Umlauts. When I drop the WAR file into the TomCat webapps directory, it fails to extract the contents. Running TomCat with debug level 3 in StandardHost yields the following message. (Note the german Umlaut in the file name.) I have also tried to use UTF-8 encoding for the file names. However, in that case the created file names are wrong and match the UTF-8 encoded file name (two bytes for the Umlaut) and not the latin-1 encoded. Creating expanded file WEB-INF/bausteine/gericht/Arztanfragen/Anfrage EU_BU mi t Akten³bersendung.xml HostConfig[localhost] Exception while expanding web application archive test4.wa r java.lang.NullPointerException at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:275) at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:226) at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:140) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:490 ) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400 ) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :358) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363 ) at org.apache.catalina.core.StandardService.start(StandardService.java:4 97) at org.apache.catalina.core.StandardServer.start(StandardServer.java:219 0) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]