Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1588

http_response_writer.c - failed to write to streamstring of length 2

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: transport/http
    • Labels:
    • Environment:
      Linux RHEL5.64
      2.6.18-164.el5
      #1 SMP
      x86_64 GNU/Linux

      Description

      Hi,
      I am using normal request response mechanism using AXIS2C API. during one of the calls the server has received an error which produces a trace as follows:
      [Sun Mar 11 08:31:57 2012] [info] Request served in 36.208 seconds
      [Sun Mar 11 08:31:57 2012] [debug] http_worker.c(200) Client HTTP version HTTP/1.1
      [Sun Mar 11 08:31:57 2012] [debug] soap_builder.c(945) identified soap version is soap12
      [Sun Mar 11 08:31:57 2012] [debug] phase.c(210) Invoke the handler request_uri_based_dispatcher within the phase Transport
      [Sun Mar 11 08:31:57 2012] [debug] req_uri_disp.c(100) Checking for service using target endpoint address : http://127.0.0.1:50150/axis/services/hicapisvc
      [Sun Mar 11 08:31:57 2012] [debug] req_uri_disp.c(121) Service found using target endpoint address
      [Sun Mar 11 08:31:57 2012] [debug] phase.c(210) Invoke the handler AddressingInHandler within the phase Transport
      [Sun Mar 11 08:31:57 2012] [info] Starting addressing in handler
      [Sun Mar 11 08:31:57 2012] [debug] phase.c(210) Invoke the handler addressing_based_dispatcher within the phase Transport
      [Sun Mar 11 08:31:57 2012] [debug] addr_disp.c(179) Checking for operation using WSA Action : http://127.0.0.1:50150/axis/services/hicapisvchicapisvc
      [Sun Mar 11 08:31:57 2012] [debug] phase.c(210) Invoke the handler rest_dispatcher within the phase Dispatch
      [Sun Mar 11 08:31:57 2012] [debug] phase.c(210) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch
      [Sun Mar 11 08:31:57 2012] [debug] soap_body_disp.c(231) Checking for operation using SOAP messagebody's first child's local name : hicapisvc
      [Sun Mar 11 08:31:57 2012] [debug] soap_body_disp.c(240) Operation found using SOAP message body's first child's local name
      [Sun Mar 11 08:31:57 2012] [debug] phase.c(210) Invoke the handler soap_action_based_dispatcher within the phase Dispatch
      [Sun Mar 11 08:31:57 2012] [debug] phase.c(210) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch
      [Sun Mar 11 08:31:57 2012] [debug] phase.c(210) Invoke the handler context_handler within the phase PostDispatch
      [Sun Mar 11 08:33:09 2012] [debug] phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut
      [Sun Mar 11 08:33:09 2012] [info] Starting addressing out handler
      [Sun Mar 11 08:33:09 2012] [error] http_response_writer.c(156) failed to write to streamstring Date: Sun Mar 11 08:31:57 2012 GMT^M
      of length 36
      [Sun Mar 11 08:33:09 2012] [error] http_response_writer.c(156) failed to write to streamstring Server: Axis2C/1.6.0 (Simple Axis2 HTTP Server)^M
      of length 49
      [Sun Mar 11 08:33:09 2012] [error] http_response_writer.c(156) failed to write to streamstring Content-Type: application/soap+xml;charset=UTF-8^M
      of length 50
      [Sun Mar 11 08:33:09 2012] [error] http_response_writer.c(156) failed to write to streamstring Content-Length: 2585^M
      of length 22
      [Sun Mar 11 08:33:09 2012] [error] http_response_writer.c(156) failed to write to streamstring ^M
      of length 2
      [Sun Mar 11 08:33:09 2012] [error] http_response_writer.c(156) failed to write to streamstring <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header xmlns :wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><wsa:Action>http://127.0.0.1:50150/axis/services/hicapisvchicapisvc</wsa:Action><wsa:From> <wsa:Address>http://127.0.0.1:50150/axis/services/hicapisvc</wsa:Address></wsa:From><wsa:MessageID>urn:uuid:31419f74-6b76-1e11-3580-00155d240b09</wsa:MessageID><wsa:RelatesTo wsa:Relationshi pType="http://www.w3.org/2005/08/addressing/reply" xmlns:wsa="http://www.w3.org/2005/08/addressing">urn:uuid:314166d0-6b76-1e11-2edf-00155d240b09</wsa:RelatesTo></soapenv:Header><soapenv:Bod y><ns1:hicapiGetSession xmlns:ns1="http://127.0.0.1:50150/axis2/services/hicapisvc"> ... (The request continues...)

      My axis.xml file is the default that comes into installation.
      I am really not sure if I am missing something or have I hit a bug.
      Request you to please look into the issue.

      Regards,
      Pradyumna.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prady_80 Pradyumna Saraph

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment