RE: Slow session creating Tomcat 3.2.1

2001-05-25 Thread Marc Saegesser

The initialization of Tomcat's Psuedo Random Number Generator (PRNG) can
take several seconds on some platforms.  The PRNG is initialized when the
first session is created (its used to generate the session IDs).  There are
some hacks you can use in 3.2.1 to avoid this, but the best solution will be
to upgrade to Tomcat 3.2.2 which should be released shortly.  The PRNG
initialization is fast enough in this release to not be noticable.

 -Original Message-
 From: Strubinski,Waldemar W [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 3:46 PM
 To: '[EMAIL PROTECTED]'
 Subject: Slow session creating Tomcat 3.2.1


  I've noticed that Tomcat  3.2.1  takes a long time to create
  a session for the first time.
 
  I think it only takes  a long time the very first time it's asked to
  create
  a session (when the first person logs in after restarting Tomcat).
 
 Do you have any suggestions how to fix it or where I
  can find any documentation on  that?
 
  Thanks,
 Waldemar





RE: Slow session creating Tomcat 3.2.1

2001-05-25 Thread Dave Oxley

I think you'll find that this has been fixed in 3.2.2 which is due to be 
released very shortly (hopefully!!).

Dave
[EMAIL PROTECTED]

From: Martin van den Bemt [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Slow session creating Tomcat 3.2.1
Date: Fri, 25 May 2001 03:51:33 +0200

As far as I know it is because tomcat needs to init classes on first use.

Mvgr,
Martin van den Bemt

  -Original Message-
  From: Strubinski,Waldemar W [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, May 24, 2001 10:46 PM
  To: '[EMAIL PROTECTED]'
  Subject: Slow session creating Tomcat 3.2.1
 
 
   I've noticed that Tomcat  3.2.1  takes a long time to create
   a session for the first time.
  
   I think it only takes  a long time the very first time it's asked to
   create
   a session (when the first person logs in after restarting Tomcat).
  
  Do you have any suggestions how to fix it or where I
   can find any documentation on  that?
  
   Thanks,
  Waldemar
 
 
 

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




RE: Slow session creating Tomcat 3.2.1

2001-05-25 Thread Martin van den Bemt

It isn't a problem.. We always look after a restart if everything still
works, so we allways are the first to encounter it.. Is there already a
tomcat 3.2.2 branch where I can check out that version from? And does this
also contain any fixes towards the mod_jk instability (within one hour our
Proliant, 1GB, 1Ghz, dual pentium III is out of everything ;-)) (even
sendmail stops accepting connection on port 25...). Or is the best way to go
back to mod_jserv?

Mvgr,
Martin

 -Original Message-
 From: Dave Oxley [mailto:[EMAIL PROTECTED]]
 Sent: Friday, May 25, 2001 8:18 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Slow session creating Tomcat 3.2.1


 I think you'll find that this has been fixed in 3.2.2 which is due to be
 released very shortly (hopefully!!).

 Dave
 [EMAIL PROTECTED]

 From: Martin van den Bemt [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: RE: Slow session creating Tomcat 3.2.1
 Date: Fri, 25 May 2001 03:51:33 +0200
 
 As far as I know it is because tomcat needs to init classes on first use.
 
 Mvgr,
 Martin van den Bemt
 
   -Original Message-
   From: Strubinski,Waldemar W [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, May 24, 2001 10:46 PM
   To: '[EMAIL PROTECTED]'
   Subject: Slow session creating Tomcat 3.2.1
  
  
I've noticed that Tomcat  3.2.1  takes a long time to create
a session for the first time.
   
I think it only takes  a long time the very first time it's asked to
create
a session (when the first person logs in after restarting Tomcat).
   
   Do you have any suggestions how to fix it or where I
can find any documentation on  that?
   
Thanks,
   Waldemar
  
  
  

 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.






RE: Slow session creating Tomcat 3.2.1

2001-05-24 Thread Martin van den Bemt

As far as I know it is because tomcat needs to init classes on first use. 

Mvgr,
Martin van den Bemt

 -Original Message-
 From: Strubinski,Waldemar W [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 24, 2001 10:46 PM
 To: '[EMAIL PROTECTED]'
 Subject: Slow session creating Tomcat 3.2.1
 
 
  I've noticed that Tomcat  3.2.1  takes a long time to create
  a session for the first time.  
  
  I think it only takes  a long time the very first time it's asked to
  create
  a session (when the first person logs in after restarting Tomcat).
  
 Do you have any suggestions how to fix it or where I
  can find any documentation on  that? 
  
  Thanks,
 Waldemar