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 24A56200BFF for ; Tue, 17 Jan 2017 18:41:37 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 23E60160B52; Tue, 17 Jan 2017 17:41:37 +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 6ECF2160B46 for ; Tue, 17 Jan 2017 18:41:36 +0100 (CET) Received: (qmail 50682 invoked by uid 500); 17 Jan 2017 17:41:35 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 50670 invoked by uid 99); 17 Jan 2017 17:41:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2017 17:41:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 0C866C0922 for ; Tue, 17 Jan 2017 17:41:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id poEneXd21DoT for ; Tue, 17 Jan 2017 17:41:30 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 189115FCB7 for ; Tue, 17 Jan 2017 17:41:30 +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 8B82CE8693 for ; Tue, 17 Jan 2017 17:41:28 +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 B372525298 for ; Tue, 17 Jan 2017 17:41:26 +0000 (UTC) Date: Tue, 17 Jan 2017 17:41:26 +0000 (UTC) From: "Eric Norman (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JCR-4099) Export org.apache.jackrabbit.jcr2spi package from jackrabbit-jcr2spi bundle MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 17 Jan 2017 17:41:37 -0000 [ https://issues.apache.org/jira/browse/JCR-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826465#comment-15826465 ] Eric Norman commented on JCR-4099: ---------------------------------- For clarity, below is the specific error it reports when jackrabbit-jcr2spi doesn't fully export the org.apache.jackrabbit.jcr2spi package from the jackrabbit-jcr2spi bundle : Caused by: java.lang.ClassNotFoundException: org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory$RepositoryConfigImpl cannot be found by org.apache.jackrabbit.jackrabbit-jcr2dav_2.12.6 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:389) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 50 more > Export org.apache.jackrabbit.jcr2spi package from jackrabbit-jcr2spi bundle > --------------------------------------------------------------------------- > > Key: JCR-4099 > URL: https://issues.apache.org/jira/browse/JCR-4099 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-jcr2spi > Affects Versions: 2.12.6, 2.14.0 > Reporter: Eric Norman > > The code in the jackrabbit-jcr2dav library requires additional code from org.apache.jackrabbit.jcr2spi package to be visible to the classloader. > So for usage of the jackrabbit DavEx remoting in an OSGi environment, the jackrabbit-jcr2spi bundle would need to more fully export the package so an OSGi bundle version of the jackrabbit-jcr2dav library can import that package to produce a working BundleWiring solution. -- This message was sent by Atlassian JIRA (v6.3.4#6332)