From tomcat-dev-return-35185-apmail-jakarta-tomcat-dev-archive=jakarta.apache.org@jakarta.apache.org Wed Oct 08 12:15:30 2003 Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 10052 invoked from network); 8 Oct 2003 12:15:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Oct 2003 12:15:29 -0000 Received: (qmail 63512 invoked by uid 500); 8 Oct 2003 12:15:19 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 63474 invoked by uid 500); 8 Oct 2003 12:15:19 -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 63455 invoked from network); 8 Oct 2003 12:15:18 -0000 Received: from unknown (HELO sid.armstrong.com) (204.74.20.252) by daedalus.apache.org with SMTP; 8 Oct 2003 12:15:18 -0000 Received: from joedog.org (fnord.armstrong.com [204.74.20.14]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id h98C5rC0026576 for ; Wed, 8 Oct 2003 07:05:53 -0500 Message-ID: <3F83FFD4.2050809@joedog.org> Date: Wed, 08 Oct 2003 08:15:16 -0400 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: [5] Unable to initialize TldLocationsCache: zip file closed References: <3F831E64.4050204@joedog.org> <3F83AC11.8030405@apache.org> In-Reply-To: <3F83AC11.8030405@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 No luck. I have had trouble in the past with HP JVMs and this is an old JVM. No errors are output when the webapp is loaded. Just when the first JSP tries to get compiled. As a sanity check, I removed the precompile mappings for the JSP examples and most examples worked fine. But then one of the pages got an error (jsp-examples/xml/xml.jsp), then nothing worked for jsp-examples. I deleted work/Catalina/localhost/jsp-examples/ and had multiple tomcat restarts with no luck. My first todo will be to get a newer JVM (1.3 or 1.4) for that machine and see how things go. I am not going to pull my hair out on this one until I can reproduce this with a newer JVM for that box. (Something I'll not be allowed to do soon for that machine :( ) -Tim Remy Maucherat wrote: > Tim Funk wrote: > >> Quick summary: >> >> In o.a.jasper.xmlparserParserUtils.java, line 129 is >> DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); >> >> Does anyone know how DocumentBuilderFactory.newInstance() can throw >> "java.lang.IllegalStateException: zip file closed"? > This happens when attempting to open a JAR from common/lib (or > common/endorsed). This code hasn't changed for a long while. > However, this CL (since it loads stuff which doesn't need to be updated) > opens the URL without setting caches to false (BTW, whay isn't there a > $%%$#%#%$#%$ global setting for this ???). > > I never got this error before. Maybe we should set the caches to false > in StdCL.getResourceAsStream ? Does that fix it in your case ? --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org