Jon,
I thought the RNG only took around 5 seconds on that kind of machine.
Are you sure it's not classloading taking the time? I found removing the
manifest from my .jar files can make up to an order of magnitude difference
on some servlet engines...
Cheers
Geoff
----- Original Message -----
From: "Jon Stevens" <[EMAIL PROTECTED]>
To: "tomcat-dev" <[EMAIL PROTECTED]>
Cc: "Turbine" <[EMAIL PROTECTED]>
Sent: Monday, December 18, 2000 1:03 PM
Subject: [tomcat 4.0] Turning off random number seeding
> Sorry for the cross posting.
>
> See log file below.
>
> Ok, between "doGet() Start 1" and "doGet() Start 2" is essentially a call
to
> getServletConfig().
>
> Obviously, Tomcat must be initializing the RNG at that point because the
> next round doesn't produce that in the log and also it is quite fast.
>
> So: How the heck do I turn that off or at least speed it up? It is taking
> bloody forever (over a minute on a PIII 500mhz!)! I thought that this
> problem was related to Turbine's loading of Services or at least Tomcat's
> classloader, but now I see that the problem is definitely in the RNG! :-(
>
> :-(
>
> -jon
>
> 2000-12-17 17:56:28 StandardHost[localhost]: Deploying web application at
> context path /scarab from URL
file:e:\projects\scarab2\target\webapps\scarab
> 2000-12-17 17:56:29 ContextConfig[/scarab]: Configured an authenticator
for
> method BASIC
> 2000-12-17 17:56:29 StandardWrapper[/scarab:default]: Loading container
> servlet default
> 2000-12-17 17:56:29 default: init
> 2000-12-17 17:56:29 StandardWrapper[/scarab:invoker]: Loading container
> servlet invoker
> 2000-12-17 17:56:29 invoker: init
> 2000-12-17 17:56:29 jsp: init
> 2000-12-17 17:56:31 scarab: init
> 2000-12-17 17:56:31 scarab: Turbine: init() Start Initializing Services!
> 2000-12-17 17:56:32 scarab: Turbine: init() Finish Initializing Services!
> 2000-12-17 17:56:32 scarab: Turbine: ready to rumble!
> 2000-12-17 17:56:32 scarab: Turbine: doGet() Start 1!
> 2000-12-17 17:56:32 Manager[/scarab]: Seeding random number generator
class
> java.security.SecureRandom
> 2000-12-17 17:56:32 Manager[/scarab]: Seeding of random number generator
has
> been completed
> 2000-12-17 17:57:23 scarab: Turbine: doGet() Start 2!
> 2000-12-17 17:57:23 scarab: Turbine: doGet() Start Initializing Services!
> 2000-12-17 17:57:26 scarab: Turbine: doGet() Finish Initializing Services!
> 2000-12-17 17:57:26 scarab: Turbine: doGet() Start 3!
> 2000-12-17 17:57:27 scarab: Turbine: doGet() Start 1!
> 2000-12-17 17:57:27 scarab: Turbine: doGet() Start 2!
> 2000-12-17 17:57:27 scarab: Turbine: doGet() Start 3!
>
> --
> Honk if you love peace and quiet.
>
>
>