Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 32204 invoked from network); 15 Aug 2000 17:54:53 -0000 Received: from adsl-63-198-47-229.dsl.snfc21.pacbell.net (HELO costin.dnt.ro) (63.198.47.229) by locus.apache.org with SMTP; 15 Aug 2000 17:54:53 -0000 Received: from localhost (costin@localhost) by costin.dnt.ro (8.9.3+Sun/8.9.1) with ESMTP id KAA03177 for ; Tue, 15 Aug 2000 10:56:02 -0700 (PDT) From: cmanolache@yahoo.com X-Authentication-Warning: costin.dnt.ro: costin owned process doing -bs Date: Tue, 15 Aug 2000 10:56:02 -0700 (PDT) X-Sender: costin@costin.dnt.ro To: tomcat-dev@jakarta.apache.org Subject: Re: Tomcat startup time In-Reply-To: <10F82FC788E0D311AB820060083EAE1E081795@mail.netbeans.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N +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 >