axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <>
Subject Re: Generated stubs are not thread safe
Date Wed, 09 Jan 2002 13:52:23 GMT
If your client is multithreaded, then it's possible that you've hit a
multithreading problem.  Do the calls work if you're single threaded?  A
workaround until the stubs are thread-safe is to synchronize every remote
method call.

Russell Butek

"Per Salmi" <> on 01/09/2002 07:08:26 AM

Please respond to

To:   <>
Subject:  Re: Generated stubs are not thread safe

I am using some generated stubs for calling a SOAP service from within a
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

/Per Salmi

----- Original Message -----
From: "Russell Butek" <>
To: <>
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
> 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

View raw message