You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Francois Papon <fr...@openobject.fr> on 2022/01/03 16:35:45 UTC
Camel load resource from classloader broken
Hi,
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
Regards,
Francois
Re: Camel load resource from classloader broken
Posted by Francois Papon <fr...@openobject.fr>.
Hi JB,
Sure, here the Jira:
https://issues.apache.org/jira/browse/CAMEL-17425
Thanks for your help!
Regards,
François
On 03/01/2022 18:06, Jean-Baptiste Onofré wrote:
> Hi François,
>
> thanks for pointing this.
>
> That's a *huge* regression impacting camel-karaf.
> Definitely we have to fix that (I consider this regression as
> blocker/critical).
>
> Can you create a Jira about that, I will fix that ?
>
> Thanks,
> Regards
> JB
>
> On 03/01/2022 17:35, Francois Papon wrote:
>> Hi,
>>
>> 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
>>
>> Regards,
>>
>> Francois
>>
Re: Camel load resource from classloader broken
Posted by Francois Papon <fr...@openobject.fr>.
Hi JB,
Sure, here the Jira:
https://issues.apache.org/jira/browse/CAMEL-17425
Thanks for your help!
Regards,
François
On 03/01/2022 18:06, Jean-Baptiste Onofré wrote:
> Hi François,
>
> thanks for pointing this.
>
> That's a *huge* regression impacting camel-karaf.
> Definitely we have to fix that (I consider this regression as
> blocker/critical).
>
> Can you create a Jira about that, I will fix that ?
>
> Thanks,
> Regards
> JB
>
> On 03/01/2022 17:35, Francois Papon wrote:
>> Hi,
>>
>> 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
>>
>> Regards,
>>
>> Francois
>>
Re: Camel load resource from classloader broken
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi François,
thanks for pointing this.
That's a *huge* regression impacting camel-karaf.
Definitely we have to fix that (I consider this regression as
blocker/critical).
Can you create a Jira about that, I will fix that ?
Thanks,
Regards
JB
On 03/01/2022 17:35, Francois Papon wrote:
> Hi,
>
> 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
>
> Regards,
>
> Francois
>
Re: Camel load resource from classloader broken
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi François,
thanks for pointing this.
That's a *huge* regression impacting camel-karaf.
Definitely we have to fix that (I consider this regression as
blocker/critical).
Can you create a Jira about that, I will fix that ?
Thanks,
Regards
JB
On 03/01/2022 17:35, Francois Papon wrote:
> Hi,
>
> 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
>
> Regards,
>
> Francois
>