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

          Anuj Bhatia created issue -
          Anuj Bhatia made changes -
          Field Original Value New Value
          Link This issue relates to AXIS2-3218 [ AXIS2-3218 ]
          Anuj Bhatia made changes -
          Attachment template.patch [ 12428418 ]
          Anuj Bhatia made changes -
          Attachment template.patch [ 12428418 ]
          Anuj Bhatia made changes -
          Comment [ I propose the attached patch (template.patch) as a fix to this issue ]
          Anuj Bhatia made changes -
          Attachment template.patch [ 12428426 ]
          Andreas Veithen made changes -
          Fix Version/s 1.5.4 [ 12315568 ]
          Andreas Veithen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.6 [ 12313622 ]
          Resolution Fixed [ 1 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development