Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-12640

Move servlet-api and jetty-schemas to jetty-bundle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-M2
    • Core Framework
    • None

    Description

      Following framework upgrades to Jetty 12, the servlet-api and jetty-schemas JAR libraries can be relocated to the nifi-jetty-bundle NAR instead of the application lib directory.

      NiFi 1.2.0 moved servlet-api and jetty-schemas to the root lib directory due to Jetty loading issues with the AnnotationConfiguration class. Jetty 12 logs an informational message when attempting to load the Logback ServletContainerInitializer, but does not have any runtime issues. NiFi uses a configured shutdown hook instead of the ServletContainerInitializer, so loading the Logback implementation is not required, allowing the servlet-api JAR to be relocated.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m