[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Axis2 Stub are thread safe?
From:       <Markus.Breuer () materna ! de>
Date:       2011-12-22 20:19:04
Message-ID: DAE692177CCBC94C807D3445E6A0CEC20638AE01 () taxis ! buc ! materna ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic