Hi,
My application throws a java.lang.Exception when it call ThreadLocal.set() method. This happens only during load
test with 1000 concurrent virtual users. I never got this error during development and could not reproduce in my development machine. So I guess the issue is with
thread management. Should I call this method in a thread safe manner?. What would happen if I did not synchronize the method?. Will the application throw java.lang.Exception if two threads try to update this value at the same time? Any help would be highly appreciated.
Thanks