axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Locator and Stub thread safe
Date Thu, 23 Dec 2004 00:53:58 GMT
Is there a JIRA bug on that or some demonstrated code? I've never seen that behavior. I use
the singleton pattern when I do things that could create conflict between threads, so if something
jumps the lock that generally will stop it from causing mischief.  -- Andy

>>> 12/22/04 05:33PM >>>
I have seen one threading related problem with Axis 1.1, If there are a
number of threads that attempt to create the very first client stub in a
given process concurrently, then I've seen NPE's from deep in the bowls
of the AxisEngine class, have never had the time to pin down exactly
what causes it.


> -----Original Message-----
> Sent: Wednesday, December 22, 2004 4:30 PM
> To: 
> Subject: Re: Locator and Stub thread safe
> I don't know the formal answer but as far as I can tell the 
> answer is yes, the generated code is thread safe. I make use 
> of a number of J2EE's threading features in my generated 
> service stubs and I've not seen any conflicts...or I've been 
> extremely lucky. It's on a four-way SMP system, so I'd be 
> likely to trigger them. -- Andy
> >>> 12/22/04 06:58AM >>>
> If I use WSDL2Java (from Axis 1.1) to create a client, will 
> the generated Locator be thread safe?
> What about the generated service Stub?

View raw message