Yes, this looks like a bug and should be fixed. Wanna provide a patch or I can do that if you prefer.
On Thu, Dec 11, 2008 at 11:21 AM, Adrian Trenaman <[EMAIL PROTECTED]> wrote: > 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. > > > > > > > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
