While I haven't seen anything this bad (it's more like 10 seconds for me),
JProbe said the servlet spent all the first-call time in
SecureRandom.getLong() (generating the session key, I think).

We're currently using Tomcat 3.2.1.  The readme for 3.2.2b3 says that
version has:

>  -  Better initialization of psuedo-random number generator improves
>     response time for first request that generates a session.

I think this'll fix my problem, and possibly yours.

                                                            -- Bill K.


> -----Original Message-----
> From: Gerrit Schimpf [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 12, 2001 2:47 AM
> To: [EMAIL PROTECTED]
> Subject: first getSession after tomcat start
> 
> 
> hi,
> 
> I've some problems with SessionHandling. The first time i 
> call getSession
> after i've started tomcat. I have to wait about 60 seconds 
> until the page will
> be shown. I have this problem im my own servlets, and in the 
> examples from
> tomcat!
> 
> sy
> Gerrit
> 
> -- 
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> 

Reply via email to