Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 50768 invoked from network); 20 Feb 2009 20:45:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2009 20:45:28 -0000 Received: (qmail 94547 invoked by uid 500); 20 Feb 2009 20:45:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 94515 invoked by uid 500); 20 Feb 2009 20:45:16 -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 94504 invoked by uid 99); 20 Feb 2009 20:45:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 12:45:16 -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 (athena.apache.org: domain of sam@ims.net designates 66.170.6.6 as permitted sender) Received: from [66.170.6.6] (HELO atmail.ims.net) (66.170.6.6) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2009 20:45:07 +0000 Received: from vpn.ims.net ([66.170.6.14] helo=[192.168.0.41]) by atmail.ims.net with esmtp (Exim 4.69) (envelope-from ) id 1LacEp-0004Rm-Al for users@tomcat.apache.org; Fri, 20 Feb 2009 14:44:47 -0600 Message-ID: <499F1630.5010209@ims.net> Date: Fri, 20 Feb 2009 14:44:32 -0600 From: Sam Hokin User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: very slow class loading on initial JSP/servlet request after restart References: <499DEA05.4040501@ims.net> <499EB1D6.7020302@christopherschultz.net> <499ED728.4080909@ims.net> <0AAE5AB84B013E45A7B61CB66943C17215B8312EDE@USEA-EXCH7.na.uis.unisys.com> <499EE439.2060102@ims.net> <499EF07B.8050607@christopherschultz.net> <499EF641.30403@ims.net> <0AAE5AB84B013E45A7B61CB66943C17215B836FC4F@USEA-EXCH7.na.uis.unisys.com> <499F0CF0.5000302@ims.net> In-Reply-To: <499F0CF0.5000302@ims.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Chuck's comment about JSP to Java translation done by Jasper reminded me that I should have included the time on the Java source file created during JSP compilation. It shows that the Java source file was created immediately, but accessed again six seconds later (!), presumably by the compiler. File: `/usr/local/tomcat/work/Catalina/www.ims.net/_/org/apache/jsp/test4_jsp.java' Size: 2333 Blocks: 8 IO Block: 4096 regular file Device: fd00h/64768d Inode: 10650454 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 501/ tomcat) Gid: ( 501/ tomcat) Access: 2009-02-20 13:39:35.000000000 -0600 Modify: 2009-02-20 13:39:29.000000000 -0600 Change: 2009-02-20 13:39:29.000000000 -0600 In summary: test4.jsp accessed at 13:39:29; test4_jsp.java created at 13:39:29; test4_jsp.java accessed at 13:39:35; test4_jsp.class created at 13:40:17; HTTP response at 13:40:17. I'm going to play with File.exists() in this and the other servers to see if there is some generic problem with file access on the slow server. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org