I believe we had a similar problem. I believe this occurred when we enabled reuse of the underlying http client (since we use SSL and we wanted to avoid the cost of establishing the secure channel)
http://axis.apache.org/axis2/java/core/docs/http-transport.html#reusing_httpclient_object I can't remember the details, I believe the requests that were occurring in several threads were being serialized in a single HTTP connection. Creating a stub per thread solved the problem. On Tue, Jan 25, 2011 at 5:12 PM, David Rees <[email protected]> wrote: > On Wed, Jan 19, 2011 at 11:53 PM, Dennis Sosnoski <[email protected]> wrote: >> The stubs are reusable, but not reentrant - so if you're running >> multiple threads you'll want to either create a new one each time >> (higher overhead), cache them per thread, or synchronize around each use >> (only if there's not much use, of course - in which case you're probably >> better off creating a new one each time anyway). > > Wait - so are you saying (stubs are not reentrant) that if you > maintain a common pool of stubs that gets used across multiple threads > - that is not supported? > > Because I've been doing that successfully for a LONG time now. > > -Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
