I'd like to correct an error I made in my earlier report of this problem. It turns out that the response delay in my
simple test JSP IS during compilation! I ran stat on the files in question, as well as looked at the time shown on the
response page (which is all the test JSP does). (I think I got confused by the output of the -verbose:class JVM option
earlier.)
Here's the file sequence from stat:
File: `test4.jsp'
Size: 146 Blocks: 8 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 7701336 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 500/ sam) Gid: ( 100/ users)
Access: 2009-02-20 13:39:29.000000000 -0600 <--- Tomcat accesses the file
Modify: 2009-02-20 10:39:09.000000000 -0600
Change: 2009-02-20 13:39:06.000000000 -0600
File:
`/usr/local/tomcat/work/Catalina/www.ims.net/_/org/apache/jsp/test4_jsp.class'
Size: 3520 Blocks: 8 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 10650578 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 501/ tomcat) Gid: ( 501/ tomcat)
Access: 2009-02-20 13:40:17.000000000 -0600 <--- the compiled class appears
almost a minute later
Modify: 2009-02-20 13:40:17.000000000 -0600
Change: 2009-02-20 13:40:17.000000000 -0600
The HTTP response came immediately after that, the page displaying: Fri Feb 20
13:40:17 CST 2009.
As before, jstack reveals that the thread is stalling on java.io.File.exists(), or specifically
java.io.UnixFileSystem.getBooleanAttributes(java.io.File).
On my other two servers, the exact same JSP as above is accessed, compiled and
responds within one second.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org