axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Salmi" <per.sa...@syzito.com>
Subject Re: Generated stubs are not thread safe
Date Wed, 09 Jan 2002 13:08:26 GMT
I am using some generated stubs for calling a SOAP service from within a
servlet
running under Tomcat. When I put some load on the servlet I get exceptions
from the
stub or Call object saying something about wrong number of parameters.

Is this a typical sign that I have hit this problem with non thread safe
stubs?

/Per Salmi

----- Original Message -----
From: "Russell Butek" <butek@us.ibm.com>
To: <axis-dev@xml.apache.org>
Sent: Monday, January 07, 2002 8:00 PM
Subject: Generated stubs are not thread safe


> Our generated stubs each have a single Call object which is reused in each
> method.  The way this Call object is used is not thread safe.  We have to
> do one of the following:
>
> 1.  synchronize each method.
> 2.  instantiate a new call object in each method.
> 3.  any other options?
>
> Do folks have a preference?
>
> Russell Butek
> butek@us.ibm.com
>
>


Mime
View raw message