Hi!
Rick Horowitz wrote:
> I think it is due to the use of secure random number generator, which is
> the default, and apparently takes a lot of time to initialize. I have
> switched to a non-secure number generator by adding
> -Dtomcat.sessionid.randomclass=java.util.Random to the java VM params to
> tell Tomcat to use the standard Java random nbr generator. See server.xml
> in Tomcat for more info, and see Tomcat User mailing list archive in past
> couple of days for other msgs on this subject.
Putting this in jboss.properties works as well.
I have added this line to jboss.properties in CVS, but commented.
Uncomment to speed things up.
/Rickard
>
> Rick
>
> At 10:45 AM 1/24/01 -0600, you wrote:
>
> >hi,
> >
> >when testing my app i'v noticed that the first call to request.getSession()
> >is very slow 45-60 secs. This only occurs after restarting jboss_tomcat.
> >Subsequent calls to getSession() are snappy. does anyone know what this
> >might be?
> >
> >regards,
> >
> >todd
> >
> >
> >
> >--
> >--------------------------------------------------------------
> >To subscribe: [EMAIL PROTECTED]
> >To unsubscribe: [EMAIL PROTECTED]
> >List Help?: [EMAIL PROTECTED]
>
> --------------------
> Rick Horowitz
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
Rickard Öberg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]