commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject [all] OSGI bundle info - WAS [jira] [Created] (DBCP-363) dbcp bundle should use DynamicImport
Date Sat, 11 Jun 2011 07:50:18 GMT
This is over my head.  For all I know this may apply to all of our
components, since I think the metadata comes from Commons Parent. 
Can someone knowledgeable in OSGI please have a look and comment on
the ticket and post back here if there is something we need to
change in Commons Parent?

Thanks!

Phil

-------- Original Message --------
Subject: 	[jira] [Created] (DBCP-363) dbcp bundle should use
DynamicImport
Date: 	Thu, 9 Jun 2011 18:41:58 +0000 (UTC)
From: 	Felix Mayerhuber (JIRA) <jira@apache.org>
Reply-To: 	issues@commons.apache.org
To: 	issues@commons.apache.org



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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message