Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0B780200D51 for ; Wed, 22 Nov 2017 15:56:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 09CC7160BDA; Wed, 22 Nov 2017 14:56:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4F040160BFD for ; Wed, 22 Nov 2017 15:56:03 +0100 (CET) Received: (qmail 12246 invoked by uid 500); 22 Nov 2017 14:56:02 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 12235 invoked by uid 99); 22 Nov 2017 14:56:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Nov 2017 14:56:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C94ECC55E3 for ; Wed, 22 Nov 2017 14:56:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.011 X-Spam-Level: X-Spam-Status: No, score=-99.011 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KB_WAM_FROM_NAME_SINGLEWORD=0.2, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 3alu-ptdgqbD for ; Wed, 22 Nov 2017 14:56:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id F32B461056 for ; Wed, 22 Nov 2017 14:56:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8D215E0BCB for ; Wed, 22 Nov 2017 14:56:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4B08D255A3 for ; Wed, 22 Nov 2017 14:56:00 +0000 (UTC) Date: Wed, 22 Nov 2017 14:56:00 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3875) Karaf scheduler should wrap QuartzException in exported SchedulerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Nov 2017 14:56:04 -0000 [ https://issues.apache.org/jira/browse/KARAF-3875?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1626= 2741#comment-16262741 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-3875: --------------------------------------------- It has been fix with commit {{a8fed10b20fe5e06b78cef03637f466321527d6b}}. > Karaf scheduler should wrap QuartzException in exported SchedulerExceptio= n > -------------------------------------------------------------------------= - > > Key: KARAF-3875 > URL: https://issues.apache.org/jira/browse/KARAF-3875 > Project: Karaf > Issue Type: Bug > Components: karaf-scheduler > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > > I'd like to be able to use the Scheduler service that is registered. Unfo= rtunately it's not possible because the schedule method on that service thr= ows an org.quartz.Scheduler that is not exported by the Karaf Scheduler bun= dle. > 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 insta= nce will be generated from another class loader. -- This message was sent by Atlassian JIRA (v6.4.14#64029)