tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pedro salazar" <pedro-b-sala...@ptinovacao.pt>
Subject Re: getSession(true) takes more than 20 seconds????
Date Wed, 18 Jul 2001 08:59:08 GMT
Well, I shouldn't reply just for thanks, but, the relief you gave me here
compels me to do it!, since I'm trying to exhibit (and prove) the Java
technology (and other good partnerships as linux) to some people here...
Thank you very much! :-)

pedro salazar

[to all: forgive me this useless and somehow kind of spam in this "heavy"
distribution list]

----- Original Message -----
From: "Endre StĂžlsvik" <Endre@Stolsvik.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, July 18, 2001 8:30 AM
Subject: Re: getSession(true) takes more than 20 seconds????


> On Tue, 17 Jul 2001, psalazar wrote:
>
> | How can it be?? 20 seconds to get (create) a session object?? The first
> | time I create a session object it takes 20 seconds!!
>
> bcoz it uses SecureRandom. It only happens the first time (first
> getSession()), when the secure stuff initializes. God knows what it's
> doing, but the next calls to random goes much faster, just try to log in
> another user, and you'll see.
>
> You can, for development sake, use another random class, you set this in
> tomcat-conf.xml thingy.
>
> |
> | I really, really appreciate any help on this....
>
> Happy? ;)
>
>
> --
> Mvh,
> Endre



Mime
View raw message