Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4586

JiBX Client Stub not cleaning up HTTP connections after each operation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5.4, 1.6.0
    • databinding
    • None
    • 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.

      Attachments

        1. template.patch
          3 kB
          Anuj Bhatia

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anbhatia Anuj Bhatia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: