You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2009/06/17 20:20:07 UTC

[jira] Resolved: (AXIS2-4391) JAX-WS: Two Services Cannot Have the Same Name Error

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

Rich Scheuerle resolved AXIS2-4391.
-----------------------------------

    Resolution: Fixed

Committed 785748

> 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
>   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.