[jcifs] authorization problems in a mulitthreading environment
Josef.Kammerloher at softlab.de
Tue Nov 6 23:55:29 EST 2001
I run Linux/Apache/Tomcat and test web-stress situations.
I start simultanously up to 50 threads, each of them uses
jCifs for user authorization ( similar to the 'isAuthorized()' example).
Up to 20 threads everything runs okay, with 30 threads or more
the authorization fails in some threads.
When I run 'isAuthorized()' as a synchronized method,
I have no problems.
Thanks for youe help,
More information about the jcifs