> I've made that change to ThreadContext and just committed it.  Peter, could
> you please update and test it out to ensure that it is a valid solution (I
> still have deployment problems with that .war and can't test it).  Also MO,
> if you check out jsecurity's trunk, you could build and deploy the created
> jsecurity-jdk14.jar file and see yourself.
> Please let me know what happens.
> Thanks,
> Les

Yup, that seems to work. Looking at the fix, that kind of makes sense.
If the ThreadContext is initialised by the parent thread of all the
request threads, then all the request threads will end up sharing the
same hash map - bad news! In fact, we should probably be creating a
new map every request and then removing it at the end. That's the
normal approach for safely working with thread pools, I think.

Cheers,

Peter

-- 
Software Engineer
G2One, Inc.
http://www.g2one.com/

Reply via email to