Axis2
  1. Axis2
  2. AXIS2-4582

WARNING: Cannot set header. Response already committed. is logged when ever a Axis2 based webservice is called

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2, 1.3, 1.4, 1.4.1
    • Fix Version/s: 1.5.5, 1.6.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      WebSphere 5.1.1.19
      HP UX operating system

      Description

      This has already been reported in JIRA as a bug. Please see below for reference.

      https://issues.apache.org/jira/browse/AXIS2-3005

      It says, it has been fixed in v1.3 but that is not the case. Issue still exist in 1.4 as well.

      ----------------------------------------

      We have implemented Web Services using Axis2 and facing the below mentioned problem when ever the a request is made to Web Service:

      We now installed WebSphere 5.1.1.19
      In the logs we still see below error-messages filling our logs. So the fixpack did not solve this issue. Can you please arrange that these
      messages do not appear anymore in the logs?

      [7/12/07 9:09:32:923 CEST] 82d122f SRTServletRes W WARNING: Cannot set header. Response already committed.

      Our Finding:
      WebSphere logs the warning message "SRTServletRes W WARNING: Cannot set header. Response already committed." in SystemOut.log due to Axis2. Axis2 processes the incomming request sends the response and then tries to set a header property in response. Because at this point WebSphere has already committed the response so it logs a warning in the log.

        Issue Links

          Activity

          Andreas Veithen made changes -
          Summary AXIS2-3005 - WARNING: Cannot set header. Response already committed. is logged when ever a Axis2 based webservice is called WARNING: Cannot set header. Response already committed. is logged when ever a Axis2 based webservice is called
          Andreas Veithen made changes -
          Link This issue duplicates AXIS2-3005 [ AXIS2-3005 ]
          Andreas Veithen made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.5.5 [ 12316011 ]
          Fix Version/s 1.6 [ 12313622 ]
          Fix Version/s 1.7 [ 12316136 ]
          Resolution Fixed [ 1 ]
          Andreas Veithen made changes -
          Assignee Andreas Veithen [ veithen ]
          Ruwan Linton made changes -
          Fix Version/s 1.7 [ 12316136 ]
          Fix Version/s 1.6 [ 12313622 ]
          Samisa Abeysinghe made changes -
          Field Original Value New Value
          Fix Version/s 1.6 [ 12313622 ]
          Fix Version/s 1.3 [ 12312476 ]
          Usman Chaudhry created issue -

            People

            • Assignee:
              Andreas Veithen
              Reporter:
              Usman Chaudhry
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development