You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/01/03 20:03:00 UTC
[jira] [Commented] (CAMEL-17425) OSGi compatibility is broken for loading resources from classloader
[ https://issues.apache.org/jira/browse/CAMEL-17425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468176#comment-17468176 ]
Claus Ibsen commented on CAMEL-17425:
-------------------------------------
You are welcome to send a PR that uses the old code in the quartz component that the code commented also mentioned it was on purpose
> OSGi compatibility is broken for loading resources from classloader
> -------------------------------------------------------------------
>
> Key: CAMEL-17425
> URL: https://issues.apache.org/jira/browse/CAMEL-17425
> Project: Camel
> Issue Type: Bug
> Components: osgi
> Affects Versions: 3.13.0, 3.14.0
> Reporter: Francois Papon
> Priority: Major
> Labels: osgi
> Fix For: 3.15.0, 3.14.1
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.1#820001)