tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmanola...@yahoo.com
Subject Re: Tomcat startup time
Date Tue, 15 Aug 2000 17:56:02 GMT
+1 !

It can be delayed until the first session is created. 
Or it can be done in a separate thread ( and all session creation will
wait for this to complete). 

Of course, server.xml option is great too.

Costin

On Tue, 15 Aug 2000, Petr Jiricka wrote:

> Hello,
> 
> I noticed that the time to serve the first servlet or a JSP has increased
> dramatically. I traced this down to the initialization of
> java.security.SecureRandom, which is used for generating the session IDs. On
> may machine the delay was about 5 seconds, which I consider quite
> inconvenent for the development environment, when the user is likely to want
> to restart the server often.
> 
> So I think it would be useful to allow disabling the use of SecureRandom and
> use Random instead, possibly by an option in server.xml or by a system
> property (or both).
> 
> What do you think ?
> 
> Petr
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 


Mime
View raw message