karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3875) Karaf scheduler should wrap QuartzException in exported SchedulerException
Date Wed, 22 Nov 2017 15:05:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-3875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16262749#comment-16262749
] 

Jean-Baptiste Onofré commented on KARAF-3875:
---------------------------------------------

Cherry picked on `karaf-4.1.x`: https://gitbox.apache.org/repos/asf?p=karaf.git;a=commit;h=af032857a7c7ea787a74453461406000fda478d3

> Karaf scheduler should wrap QuartzException in exported SchedulerException
> --------------------------------------------------------------------------
>
>                 Key: KARAF-3875
>                 URL: https://issues.apache.org/jira/browse/KARAF-3875
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-scheduler
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.4, 4.2.0.M1, 4.2.0
>
>
> I'd like to be able to use the Scheduler service that is registered. Unfortunately it's
not possible because the schedule method on that service throws an org.quartz.Scheduler that
is not exported by the Karaf Scheduler bundle.
> Maybe the exception should be wrapped into a new Exception defined by the bundle instead
? Because even if it is re-imported from another bundle I'm guessing there will be problems
with class loading because the class instance will be generated from another class loader.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message