Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-17425

camel-quartz - OSGi compatibility is broken for loading resources from classloader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.13.0, 3.14.0
    • 3.14.1, 3.15.0
    • osgi
    • Unknown
    • Regression

    Description

      It seems like this commit broke the OSGi compatibility by loading resources from another classloader:

      https://github.com/apache/camel/commit/11bd8012743868712904b449024344bcf8130d2b#diff-8514339d35970f5c1e68df154846a293656b9a482d332b7f4423755ba0d2b0f9

      For example, when upgrading to Camel 3.14.0, we have this error when starting a quartz route endpoint:

      Caused by: java.lang.RuntimeException: org.quartz.SchedulerException: Quartz properties file not found in classpath: org/quartz/quartz.properties 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fpapon Francois Papon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: