Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 52912 invoked from network); 20 Jan 2004 11:43:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Jan 2004 11:43:40 -0000 Received: (qmail 73387 invoked by uid 500); 20 Jan 2004 11:43:33 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 73364 invoked by uid 500); 20 Jan 2004 11:43:33 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 73351 invoked from network); 20 Jan 2004 11:43:33 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 20 Jan 2004 11:43:33 -0000 Received: (qmail 13706 invoked by uid 50); 20 Jan 2004 11:43:42 -0000 Date: 20 Jan 2004 11:43:42 -0000 Message-ID: <20040120114342.13705.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 26275] New: - Problems extracting WAR file when file names are latin 1 encoded X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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: tomcat-dev@jakarta.apache.org ReportedBy: jochen@apache.org I create a WAR file using an Ant task like this: 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: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org