axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4391) JAX-WS: Two Services Cannot Have the Same Name Error
Date Wed, 17 Jun 2009 18:14:07 GMT
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.


Mime
View raw message