Apache Directory naming component

2005-01-09 Thread Phil Steitz
About 18 months ago (mid 2003), we extracted the in-memory JNDI provider from jakarta-tomcat-catalina and started a Jakarta Commons naming component. That component has moved to the Apache Directory project in the apache incubator . The naming component's w

Error in composeName() implementations

2003-11-28 Thread Phil Steitz
I have been working on commons-naming (extracted from catalina's org.apache.naming, soon to be moved to incubator-directory) and I have discovered a (apparently harmless to tomcat) bug in the composeName() implementation that is repeated in o.a.n.NamingContext, o.a.n.SelectorContext, o.a.n.reso

Re: Duplicate session IDs are *common*[GFI-T105-3E21F8D3D7B6FFDE]

2003-01-12 Thread Phil Steitz
Costin Manolache wrote: Could you make a small modification and run the same test with 20 concurent threads ? I checked the code and we have plenty of syncs, but you never know. OK -- for this I went to the horse's (or maybe I should say, "cat's") mouth with the same result -- collisions still

Re: Duplicate session IDs are *common*[GFI-T105-3E21F8D3D7B6FFDE]

2003-01-11 Thread Phil Steitz
Using a modified version of Tim Funk's "Collide.java", I ran the following dispersion test (using Sun's Linux jdk's 1.3.1_03 and 1.4.1_01): 1. Generate n session id's. 2. For each pair of generated id's, count the number of matching characters in the two strings (i.e., the number of positions wher

Re: Duplicate session IDs are *common*

2003-01-10 Thread Phil Steitz
Dirk-Willem van Gulik wrote: On 10 Jan 2003, Eric Rescorla wrote: There's nothing wrong with what you propose, but it's sort of like saying "maybe I should wear a helmet at all times because a meteor might drop on my head". Sure, it could happen, btu it's not the thing I'd worry about. Exce

Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session ManagerBase.java

2002-12-31 Thread Phil Steitz
[EMAIL PROTECTED] wrote: billbarker2002/12/30 19:45:48 Modified:catalina/src/share/org/apache/catalina/session ManagerBase.java Log: Make certain that the jvmRoute is attached to the session before comparing for uniqueness. Submitted by: Glenn Olander [E

Re: Duplicate session IDs?

2002-12-29 Thread Phil Steitz
Eric Rescorla wrote: "Schnitzer, Jeff" <[EMAIL PROTECTED]> writes: Yes that's true if the monotonically increasing value is added to the random number _before_ the hash... and even worse, there is nothing that guarantees that two numbers won't hash to the same value so we're back to the duplicat