Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

fix: make Jettys threads use gravitee context class loader #222

Merged
merged 1 commit into from Nov 3, 2021

Commits on Nov 3, 2021

  1. fix: make Jettys threads use gravitee context class loader

    Jetty version has been upgraded in this commit : gravitee-io/gravitee-bom@6eb8566
    It introduced mutliple regressions in APIM.
    
    Since 9.4.37, Jettys threads classloaders have been refactored to fix a leak (see jetty/jetty.project#5894).
    After this fix, threads classpath is override with local classpath, so it does not contain gravitee context class loader nomore (see https://github.com/eclipse/jetty.project/pull/5894/files#diff-6f0181889aa765771dd358e58fc07e2a7d7bfa44c451359e34e3eea574a5a79cR696).
    
    Created a JettyQueuedThreadPool, to override Jetty's default QueuedThreadPool and give the gravitee context class loader to created threads.
    Marc committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    6edce3b View commit details
    Browse the repository at this point in the history