You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ma...@materna.de on 2011/12/22 21:19:04 UTC

Axis2 Stub are thread safe?

We are using an axis2 xmlbeans based client stub in multithreaded environment. A single stub is used by several threads. In some cases tcp connections are left in state close_wait. Severals articles on axis2 explain that generated stub are not thread safe at all. The axis2 docs do not cover this aspect.

My questions are these:

1.) Are axis2 generated stubs (xmlbeans) thread safe? Any links to axis2 docs?

2.) How to create thread safe axis2 client code? IMHO ConfigurationContext is expensive, should it be reused?

 

regards, Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org