[ 
https://issues.apache.org/jira/browse/AXIS-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615516#comment-14615516
 ] 

Hudson commented on AXIS-2850:
------------------------------

SUCCESS: Integrated in axis-trunk #284 (See 
[https://builds.apache.org/job/axis-trunk/284/])
Fix another concurrency issue similar to AXIS-2850 and ensure that stubs are 
thread safe. (veithen: rev 1689477)
* 
/axis/axis1/java/trunk/axis-rt-core/src/main/java/org/apache/axis/client/Stub.java
* 
/axis/axis1/java/trunk/integration/src/test/java/test/wsdl/multithread/MultithreadTestCase.java


> org.apache.axis.client.Service method createCall() may return same Call to 
> simultaneous calls.
> ----------------------------------------------------------------------------------------------
>
>                 Key: AXIS-2850
>                 URL: https://issues.apache.org/jira/browse/AXIS-2850
>             Project: Axis
>          Issue Type: Bug
>          Components: Basic Architecture
>    Affects Versions: 1.4
>         Environment: Any code running on any OS/network/etc. where multiple 
> calls to single Service method createCall() are may occur in different 
> threads.
>            Reporter: Raymond Naseef
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.4.1
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Easy 5-minute fix: change createCall() to return the call instance it 
> created, not field (instance variable) "_call".  New Call is created in the 
> method, then set to field, and then field is returned.
> This causes silent error, and that shows up when the callers to this method 
> try to run the same call for their needs.
> Please consider changing this, as it looks there is zero cost to that change, 
> and the problems it causes will be solved.
> I have found I can create Call() by hand, passing by this issue; that is not 
> reason to say "no" to this request.
> If there is more to this, please let me know.
> Thank you,
> Raymond Naseef



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to