Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-5128

Invalid HTTP status code - 14

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.5.22
    • None
    • None
    • RHEL 7.9, JBoss EAP 7.1.6, Open JDK 1.8.0.201

    Description

      I have an application that is returning an HTTP status code of 14 instead of 200 in some cases.  It happens for one specific URL in the application.  It is not consistent between servers.  The same ear file and even the same app server can be copied to a different host and work correctly.  

      So far using Byteman I'm seeing that:

      1. 14 is passed to the org.apache.struts2.result.HttpHeaderResult construtor.
      2. When com.opensymphony.xwork2.DefaultActionInvocation.createResult() is entered the value of DefaultActionInvocation.getResultCode() is "success", which I beleive is correct.

      Attached is a partial stack trace at that point.

      Attachments

        1. http14.log
          25 kB
          Joe Schmidt

        Activity

          People

            Unassigned Unassigned
            joeschmidt Joe Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: