Axis2
  1. Axis2
  2. AXIS2-4586

JiBX Client Stub not cleaning up HTTP connections after each operation

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.4, 1.6.0
    • Component/s: databinding
    • Labels:
      None
    • Environment:
      Windows XP, Java 5

      Description

      It seems that java/modules/jibx/src/org/apache/axis2/jibx/template/JibXDatabindingTemplate.xsl has a bug. The Stub classes generated for a service using JiBX data binding do not make a call to the method _messageContext.getTransportOut().getSender().cleanup(_messageContext); after each operation. This method is being called in the client stubs generated for services using ADB binding.

      Not calling this method results in the HTTP connection not getting released if the MultiThreadedHttpConnectionManager is being used.

      1. template.patch
        3 kB
        Anuj Bhatia

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Anuj Bhatia
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development