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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          366d 3h 36m 1 Andreas Veithen 19/Dec/10 12:43
          Andreas Veithen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.6 [ 12313622 ]
          Resolution Fixed [ 1 ]
          Hide
          Andreas Veithen added a comment -

          Applied the patch to the trunk (r1050819) and to the 1.5 branch (r1050833).

          Show
          Andreas Veithen added a comment - Applied the patch to the trunk (r1050819) and to the 1.5 branch (r1050833).
          Andreas Veithen made changes -
          Fix Version/s 1.5.4 [ 12315568 ]
          Anuj Bhatia made changes -
          Attachment template.patch [ 12428426 ]
          Hide
          Anuj Bhatia added a comment - - edited

          I propose the attached patch (template.patch) as a fix to this issue

          Show
          Anuj Bhatia added a comment - - edited I propose the attached patch (template.patch) as a fix to this issue
          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 [ 12428418 ]
          Anuj Bhatia made changes -
          Attachment template.patch [ 12428418 ]
          Hide
          Anuj Bhatia added a comment -

          A similar problem existed in java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl and was resolved by issue AXIS2-3218

          Show
          Anuj Bhatia added a comment - A similar problem existed in java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl and was resolved by issue AXIS2-3218
          Anuj Bhatia made changes -
          Field Original Value New Value
          Link This issue relates to AXIS2-3218 [ AXIS2-3218 ]
          Anuj Bhatia created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development