Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1310

OperationMetaData.getJavaMethod throws WSException: Ambiguous javaMethod

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jbossws-1.0.3
    • Fix Version/s: jbossws-1.0.4
    • Component/s: jbossws-native
    • Labels:
      None
    • Environment:

      Windows XP dual core processor

      Description

      Running two copies of a test client beating up on a few web-service methods produces "Ambiguous javaMethod: <method>" from org.jboss.ws.metadata.OperationMetaData(getJavaMethod) (line 203). There is no potential ambiguity since all methods have quite distinctive signatures and the problem is sporadic.

      I believe this a lack of synchronization between multiple threads simultaneously trying to resolve the javaMethod field. Both see that javaMethod has not yet been set and the second to finish finds the javaMethod field has already been set by the first and mis-interprets this as an ambiguous method situation. Running a dual core processor exacerbates the problem.

      Cannot use jboss with this bug.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rtomlinson Ray Tomlinson
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: