I am using Sun's JDK 1.3 on Solaris
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)
SunOS belinda 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-450
I have just tried the same thing with other version of Tomcat (everything
else the same)
1) Tomcat 3.1.1 - 4 secs
2) Tomcat 3.2.1 - 17 secs
3) Tomcat 3.3-m1 - 30 secs
So it seems to get worse with each release :)
Fergus
>Which JVM are you using ?
>
>I find that the first load time depends on the version of JVM, 1.1.6 is
>very slow while 1.3 is much faster. (note: This is NT2000)
>
>Andy C
>Editor R2
>Project
>http://www.r2-dvd.org
>
>
>----- Original Message -----
>
>
>>I find that the first call to each JSP is very slow under Tomcat
>>3.2.1. I initially assumed that the compilation was slow, but even when
>>I precompile with jspc, I find that it's still VERY slow.
>>
>>The offending line is the auto-generated:
>>
>> pageContext = _jspxFactory.getPageContext(this, request, response,
>> "com.acme.TestErrorPage", true, 8192, true);
>>
>>which takes about 22 secs (on a Sun E450!) the first time around.
>>
>>Any suggestions?
>>
>>Fergus
>>
>>(
>> Solaris 7
>> Sun JDK 1.3 (default hotspot, etc)
>> Tomcat 3.2.1
>>)
--
Fergus Gallagher
Orbis
http://www.orbisuk.com/
+44-(0)20-8987 0717