Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9471F10BAF for ; Tue, 4 Feb 2014 14:32:17 +0000 (UTC) Received: (qmail 35432 invoked by uid 500); 4 Feb 2014 14:32:15 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 35023 invoked by uid 500); 4 Feb 2014 14:32:11 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 34993 invoked by uid 99); 4 Feb 2014 14:32:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Feb 2014 14:32:09 +0000 Date: Tue, 4 Feb 2014 14:32:09 +0000 (UTC) From: "Mark Thomas (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DBCP-363) dbcp bundle should use DynamicImport MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DBCP-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Thomas resolved DBCP-363. ------------------------------ Resolution: Won't Fix See DBCP-389 for the enhancement request to provide a DataSourceFactory > dbcp bundle should use DynamicImport > ------------------------------------ > > Key: DBCP-363 > URL: https://issues.apache.org/jira/browse/DBCP-363 > Project: Commons Dbcp > Issue Type: Bug > Affects Versions: 1.3, 1.4 > Reporter: Felix Mayerhuber > Fix For: 1.4.1 > > > The bundle provided in the maven central of the commons.dbcp doesn't have a DynamicImport defined. This resolves in following error: > If you want to use a BasicDataSource class as dataSource and the class is provided by the osgi environment (equinox, ...) the dataSource is not able to be created due to a ClassNotFoundException. If the bundle would have set DynamicImport it works. (I had to change from your bundle to the commons.dbcp bundle provided by servicemix, because there the DynamicImport is set) -- This message was sent by Atlassian JIRA (v6.1.5#6160)