Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-21118

remove reference to deprecated Jetty socket linger time soLingerTime

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.18.1, 3.26.0
    • Fix Version/s: 3.27.0
    • Component/s: Logging, Transport
    • Labels:
      None

      Description

      jetty-http.xml and jetty-https.xml have this line:

              <Set name="soLingerTime"><Property name="jetty.http.soLingerTime" default="-1"/></Set>
      

      On startup this produces a WARN message in NXRM versions before 3.26.0:

      2019-09-11 11:54:35,043-0300 WARN [FelixStartLevel] *SYSTEM org.eclipse.jetty.server.AbstractConnector - Ignoring deprecated socket close linger time

      In NXRM 3.26.0, this is now recorded at ERROR level:

      ERROR [jetty-main-1] *SYSTEM org.eclipse.jetty.util.log.StdErrLog - 2020-08-12 08:43:29.261:WARN:oejs.AbstractConnector:jetty-main-1: Ignoring deprecated socket close linger time

      Expected

      The setting should be removed, as the config is being ignored anyways and creates a WARN/ERROR in the logs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Joe Tom
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  tigCommentSecurity.panel-title