Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 98836 invoked from network); 1 Dec 2005 11:48:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Dec 2005 11:48:35 -0000 Received: (qmail 31456 invoked by uid 500); 1 Dec 2005 11:48:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 31305 invoked by uid 500); 1 Dec 2005 11:48:13 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 31294 invoked by uid 99); 1 Dec 2005 11:48:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 03:48:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of funkman@joedog.org designates 204.74.20.252 as permitted sender) Received: from [204.74.20.252] (HELO sid.armstrong.com) (204.74.20.252) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2005 03:49:40 -0800 Received: from [10.38.20.134] (tafunk-lt.americas.armstrong.com [10.38.20.134]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id jB1BrmuH004357 for ; Thu, 1 Dec 2005 06:53:49 -0500 Message-ID: <438EE2DB.2040109@joedog.org> Date: Thu, 01 Dec 2005 06:47:39 -0500 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Recursive Tagfile and JSP Precompilation References: <6d5c6d1a0511301655x1a426c0an278ca7a4832240d0@mail.gmail.com> <6d5c6d1a0511301758o5cf6b92ak77bd5cbaae9fa66e@mail.gmail.com> In-Reply-To: <6d5c6d1a0511301758o5cf6b92ak77bd5cbaae9fa66e@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N IIRC - this is fixed in 5.5. I'm not sure if it was fixed with 5.5.12 - but 5.5.13 was just tagged and should be available soon. BUT it hasn't been voted how stable it is yet. (beta, alpha, stable) -Tim Peter L wrote: > Hello, > I'm trying to precompile JSP's for a JBoss(4.0.1) / Tomcat(5.0) server > and everything is cool except I get a ClassNotFoundException when a > Recursive Tagfile is encountered.... > > [jasper2] SEVERE: ERROR-the file > '\WEB-INF\pages\templates\resolveResultsDialog.jsp' generated the > following general exception: > [jasper2] java.lang.ClassNotFoundException: > org.apache.taglibs.standard.tlv.JstlCoreTLV > [jasper2] at java.net.URLClassLoader$1.run(URLClassLoader.java:199) > [jasper2] at java.security.AccessController.doPrivileged(Native Method) > [jasper2] at java.net.URLClassLoader.findClass(URLClassLoader.java:187) > [jasper2] at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > [jasper2] at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > [jasper2] at > org.apache.jasper.compiler.TagLibraryInfoImpl.createValidator(TagLibraryInfoImpl.java:645) > [jasper2] at > org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:246) > [jasper2] at > org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:162) > > > If I comment out the actual line of recursion inside the tag file I > can generate, compile, deploy and use all the servlets just fine > (except for the missing functionality). > > I understand we use a jstl.jar and a standard.jar that are a little > suspect. But given that there are no other similar jars available > during the process then it should be fine (That and I upgraded them to > 1.1.2 temporarily and got the same result). > > Questions: > - Why does dynamic compilation work? What is Tomcat doing differently? > - Is there a Jasper configuration inside Tomcat I can inspect? (I > couldn't find it in server.xml) > > Bonus Questions: > - Is there an easy way to precompile jsp's (for error checking and > initial speed) and retain runtime customizability? > - Will this rash ever go away? > > Thank you in advance for your consideration / help, > Pete > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org