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 14:56:00 GMT

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

Jean-Baptiste Onofré commented on KARAF-3875:

It has been fix with commit {{a8fed10b20fe5e06b78cef03637f466321527d6b}}.

> 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é
> 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

View raw message