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

OperationMetaData.getJavaMethod throws WSException: Ambiguous javaMethod

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jbossws-1.0.4
    • jbossws-1.0.3
    • jbossws-native
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rtomlinson_jira Ray Tomlinson (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: