commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Mayerhuber (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DBCP-363) dbcp bundle should use DynamicImport
Date Thu, 09 Jun 2011 18:41:58 GMT
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.4, 1.3
            Reporter: Felix Mayerhuber


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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message