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:14:07 UTC

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

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


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.


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

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIS2-4391:
-----------------------------------

    Fix Version/s: 1.6

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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Resolution: Fixed

Second Revision:786126

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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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.