[ 
https://issues.apache.org/jira/browse/AXIS2-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rich Scheuerle reopened AXIS2-4391:
-----------------------------------


Jeff Barrett has another fix for a slightly different scneario, but the same 
symptom.

His fix will prevent the different threads from using the same name.

I am working on the final testing of the fix.

> JAX-WS: Two Services Cannot Have the Same Name Error
> ----------------------------------------------------
>
>                 Key: AXIS2-4391
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4391
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>             Fix For: 1.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If a JAX-WS client runs over a long period of time, making many calls to 
> javax.xml.ws.Service.getPort(), an error likethis might occur:
> org.apache.axis2.AxisFault: Two services cannot have same
> name.  A service with the
> HelloWorldWebService.HelloWorldPort1517705846 name already exists in the 
> system.
> The error is due to multiple threads simultaneously calling  an internal 
> method in the JAX-WS engine. The solution is to     
> change the method to be synchronized so that only one thread at a time can 
> call it.         
> The solution was coded by Wendy Raschke, and Rich Scheuerle will be 
> committing the fix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to