Servlets for virtual hosting is not working with us ,while running from
/servlet .we are getting internal server error problem.so if you can provide
us with the details of configuring it.please send steps involved.
thanks
skq
----- Original Message -----
From: "Kurt Bernhard Pruenner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 31, 2001 12:55 AM
Subject: Re: Delay in invoking first servlet
> Rachel Gollub wrote:
> > 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?
>
> To quote myself from a message I sent a few days ago:
>
> > >When the getSession line is reached in the code it freezes
> > >for around 9-10 seconds before returning a session, leading
> > >the user to think theyre not going to get anything back...
> >
> > That's because of the secure random number generator that's used to
create the
> > session ID - it takes quite some time to initialize.
> >
> > You could try adding
> >
> > -dtomcat.sessionid.randomclass=java.util.Random
> >
> > to the JVM's command line (i.e. add the above string to TOMCAT_OPTS)
which makes
> > Tomcat use the standard JAVA random number generator... I guess they're
using the
> > SecureRandom generator because it'll make guessing the next session ID
harder based
> > on the current one, but I think that that's not needed for development
purposes,
> > especially with that speed hit incurred by using the SecureRandom
generator...
>
> That should fix your startup delay, but don't use this on production
> servers, as it would allow evil-minded individuals to semi-"guess"
> session IDs...
>
> --
> Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
> .......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
> np: Pole - Lachen (1)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]