Check out a recent thread in the Tomcat message archive...search for 
"Session creation speed" to find the thread...

 From one msg in that thread...

-Dtomcat.sessionid.randomclass=java.util.Random

used to change to use a non-secure Random nbr generator.  OK for 
development, suggest switching back for deployment for greater security.

Rick Horowitz

At 07:08 PM 1/30/01 +0100, you wrote:
>Hi Paul,
>
>in your answer toRachel you mention a "load-on-startup servlet". Do you
>have/know an example how to write and implement such a servlet?
>
>Greetings,
>Andreas
>
>
>Paul FitzPatrick wrote:
>
> > I'm not sure, but I've heard on the list that there is an expensive random
> > number seeding process that occurs on the first access to the server. This
> > could be what you are seeing. To make this less obtrusive, you could create
> > a load-on-startup servlet which makes a request to your server so that this
> > delay is incurred automatically and not by the first human user.
> >
> > Regards,
> > Paul
> >
> > -----Original Message-----
> > From: Rachel Gollub [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 30, 2001 11:32 AM
> > To: [EMAIL PROTECTED]
> > Subject: Delay in invoking first servlet
> >
> > I've got tomcat running with apache, and everything's working fine,
> > but when I invoke the first servlet from a browser, I get a 60-80
> > second delay.  Everything after that is fast -- it's just that first
> > servlet that's showing the delay.  It doesn't matter which servlet
> > I use, or whether I <load-on-startup> -- it still happens.  Anyone
> > know what's going on, or how to fix it?
> >
> > Thanks!
> > --
> > Rachel Gollub
> > [EMAIL PROTECTED]
> > http://www.equiltblocks.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]

--------------------
Rick Horowitz


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to