carloc - 2014-05-03

Hi,

I noticed that JOSSO is reusing Axis Client Stubs which are known to be not thread safe...
If I checked the code, the Web Service stubs are initialized during agent startup. The same stub is reused by different threads. I've read on several forums that stubs should NOT be shared across different threads..

If you would look at the source code, you would see that stubs are generated only once. I tried using two threads to access and I have indeed verified that the stub is being reused.

Can anyone shed light on this ? I think axis stubs should be initialized per thread or better yet should be pooled...

Thanks

 
Last edit: carloc 2014-05-03