Hi there,

I was configuring yesterday a fragment of Spring for SMX4 to deploy an Oracle dataSource and expose it as an OSGi service (and so share it across all bundles in the container). Using the Postgres pooled data source works fine: however, using the Oracle dataSource I get a ClassNotFoundException.

This is because the commons-dbcp BasicDataSource is trying to dynamically load the Oracle driver: it would seem, however, that my wrapping of the commons-dbcp.jar has not added a DynamicImport- Packages attribute to the Manifest.MF.

Does the SMX4 bundles/commons-dbcp-1.2.2 wrapper add DynamicImport- Packages to the Manifest.MF? I've checked the pom, but I don't see it explicitly setting up DynamicImports.

Thanks in advance for any help!
Ade.








Reply via email to