Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 20643 invoked from network); 11 Feb 2011 20:05:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2011 20:05:21 -0000 Received: (qmail 29250 invoked by uid 500); 11 Feb 2011 20:05:21 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 29091 invoked by uid 500); 11 Feb 2011 20:05:20 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 29084 invoked by uid 99); 11 Feb 2011 20:05:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 20:05:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Feb 2011 20:05:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 78AC11A00A6 for ; Fri, 11 Feb 2011 20:04:57 +0000 (UTC) Date: Fri, 11 Feb 2011 20:04:57 +0000 (UTC) From: "Jarek Gawor (JIRA)" To: dev@geronimo.apache.org Message-ID: <232544131.11378.1297454697491.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <6739028.39901293516165110.JavaMail.jira@thor> Subject: [jira] Updated: (GERONIMO-5744) bundle urls and 3rd party libraries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarek Gawor updated GERONIMO-5744: ---------------------------------- Attachment: GERONIMO-5744.patch Another fix. Override ClassLoader.findResources() instead of getResources() as JVMs call different methods to search for resources. > bundle urls and 3rd party libraries > ----------------------------------- > > Key: GERONIMO-5744 > URL: https://issues.apache.org/jira/browse/GERONIMO-5744 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 3.0-M2 > Reporter: Jarek Gawor > Attachments: GERONIMO-5744.patch > > > Resource lookup in Geronimo 3.0 returns "bundle" type of urls. However, a lot of Geronimo code and a number of third party libraries assumes that urls returned by resource lookup return "jar" or "file" type of urls. Because of this difference a lot of applications might not work properly on Geronimo 3.0. The Geronimo specific code has mostly been updated to use OSGi-friendly ways to look for resources. However, we can't expect every 3rd party library to be updated to be OSGi friendly. So we might need a solution that can return "jar" or "file" urls that works with most libraries. > One possible solution is to use the BundleResourceClassLoader in the xbean-bundleutils project (currently used in the OpenJPA plugin). That solution could be enhanced with Equinox-specific extension (URLConverter service) that can convert "bundle" urls directly into "jar" or "file" urls (using the jars in its bundle cache). -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira