axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <>
Subject Re: [BUG] Multithreaded client with multiple Call instances shares se ssions?
Date Thu, 05 Sep 2002 11:51:25 GMT

SessionTestServerServiceLocator seems to be missing...Can you please send all code needed
reproduce the problem?


--- "Volanis, Alexander" <> wrote:
> Hello everyone,
> I have a peculiar problem that I think may be a bug. I have attached a
> sample service class (, a multithreaded client class
> ( and a deployment WSDD file (deploy.wsdd). The service is
> supposed to be deployed as a session scoped service. When the client is
> running as a multithreaded client all threads appear to be sharing one
> session. Each thread creates its own instance of the Call class via the
> WSDL2Java generated Service Locator class. Within each thread a number of
> calls to the service method happen in parallel with other threads. I
> expected that for each instance of the Call class a separate session would
> be maintained by the client engine. Instead I can see that they appear to
> share the same session. If I run several separate client processes with one
> thread each the problem goes away which indicates that the server class is
> not the problem. If I turn off the maintainSession option I can also see
> that the problem is eliminated but that defeats the purpose of the session.
> Anybody have any insight on this problem? Am I doing something wrong? Am I
> mistaken in expecting each instance of the Call class in each thread to
> maintain a separate session?
> Thank you in advance for any advice you may have.
> Alex Volanis
> Consulting Engineer
> e-mail:
> _______________________________________
> The Most Trusted Name in e-Security
> 174 Middlessex Tpke, Bedford, MA 01730 USA

> ATTACHMENT part 2 application/octet-stream name=deploy.wsdd

> ATTACHMENT part 3 application/octet-stream

> ATTACHMENT part 4 application/octet-stream

Davanum Srinivas -

Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

View raw message