Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 55005 invoked from network); 13 Nov 2001 18:37:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Nov 2001 18:37:57 -0000 Received: (qmail 29502 invoked by uid 97); 13 Nov 2001 18:37:19 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 29486 invoked by uid 97); 13 Nov 2001 18:37:18 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 29475 invoked from network); 13 Nov 2001 18:37:17 -0000 Message-ID: <09b001c16c72$2f3d90c0$0100a8c0@DELL800> From: "Gerry Duhig" To: "Tomcat Users List" , "David Wall" References: <097601c16c6d$6ea72f50$0100a8c0@DELL800> <007301c16c6e$2fc7a520$5a2b7ad8@expertrade.com> Subject: Re: cryptography - slow starting???? Date: Tue, 13 Nov 2001 18:36:55 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I guessed as much! How do I force it to happen at startup? Gerry ----- Original Message ----- From: "David Wall" To: "Tomcat Users List" Sent: Tuesday, November 13, 2001 6:08 PM Subject: Re: cryptography - slow starting???? > It's the SecureRandom initialization. You could just force such an > initialization at startup so that startup has a bit of a slowdown, but then > it runs fast the rest of the time. > > David > > > ----- Original Message ----- > From: "Gerry Duhig" > To: > Sent: Tuesday, November 13, 2001 10:02 AM > Subject: cryptography - slow starting???? > > > Hi! > > I have successfully built a servlet that uses JCE to encrypt data and > deployed it under JBoss Tomcat 2.4.1-3.2.2. > > The very first access is VERY slow as the cryptography classes do some sort > of initialisation. I don't know what. > > Subsequent actions seem very quick. > > Is this to be expected? Can I speed it up? Can I get this initialisation to > take place at start-up before a user accesses the servlet? > > Gerry > > > > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > -- To unsubscribe: For additional commands: Troubles with the list: