Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-2139

Update jaxrs tests to support Tomcat 9.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13.0.0, 4.2.11, 5.6.0
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Turing
    • Sprint:
      Turing Sprint 192

      Description

      The org.apache.catalina Context addServletMapping method was deprecated in Tomcat 8 and removed in Tomcat 9.0.

      To be able to run the tests with Tomcat 9 update addServletMapping to addServletMappingDecoded

      From the JavaDoc

      /**

      • Add a new servlet mapping, replacing any existing mapping for
      • the specified pattern.{{ *}}
      • @param pattern URL pattern to be mapped. The pattern will be % decoded
      • using UTF-8
      • @param name Name of the corresponding servlet to execute{{ *}}
      • @deprecated Will be removed in Tomcat 9. Use
      • {{ {@link #addServletMappingDecoded(String, String)}

        }}{{ */}}{{ @Deprecated}}{{ public void addServletMapping(String pattern, String name);}}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abanck Arent-Jan Banck
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: