However, thank you for the pointer :) 2015-06-14 18:49 GMT+02:00 Charlie Mordant <[email protected]>:
> Hi Harald, > > It looks like it's not a ds-data issue: pax-jpa and pax-cdi integration > leads to the same behaviour (for me). > I'll make a self contained itest (but with karaf, I'm very accommodated > with its feature mechanism), try to see what's wrong and continue to ask on > the ops4j mailing list. > > Best regards, > Charlie, > > 2015-06-14 16:05 GMT+02:00 Harald Wellmann <[email protected]>: > >> This is a bit too broad. You don't mention the used versions or a specific >> test. Can you provide a self-contained test that does not include any >> dependencies other than DS, Pax CDI, Pax JPA and their prerequisites - >> i.e. >> no Karaf, Lombok, Osgiliath or anything else? >> >> There is a working example: >> >> https://github.com/ops4j/org.ops4j.pax.cdi/blob/cdi-1.0.0.RC1/itest/src/it/itest-standalone/src/test/java/org/ops4j/pax/cdi/test/TransactionalTest.java >> >> Regards, >> Harald >> >> >> 2015-06-14 15:36 GMT+02:00 Charlie Mordant <[email protected]>: >> >> > Hi, >> > I tried to integrate DS-Data with OSGI, Pax-JPA, but unfortunately I >> hit a >> > NPE. >> > Did anyone succeed this integration? >> > >> > If someone is interested on the test, here are the links: >> > >> > * The CDI-Data karaf feature: >> > >> > >> https://github.com/OsgiliathEnterprise/net.osgiliath.parent/blob/master/net.osgiliath.framework/net.osgiliath.features.karaf-features/net.osgiliath.features.karaf-features-jpa/src/main/resources/net.osgiliath.features.karaf-features-jpa.xml >> > >> > * The entity tested module: >> > >> > >> https://github.com/OsgiliathEnterprise/net.osgiliath.parent/tree/master/net.osgiliath.framework/net.osgiliath.features.karaf-features/net.osgiliath.features.karaf-features.itests/net.osgiliath.features.karaf-features.itests.jpa.cdi.entities >> > >> > * The tested data module: >> > >> > >> https://github.com/OsgiliathEnterprise/net.osgiliath.parent/tree/master/net.osgiliath.framework/net.osgiliath.features.karaf-features/net.osgiliath.features.karaf-features.itests/net.osgiliath.features.karaf-features.itests.jpa.cdi.daos >> > >> > Best regards, >> > >> > Charlie >> > >> > >> > -- >> > Charlie Mordant >> > >> > Full OSGI/EE stack made with Karaf: >> > https://github.com/OsgiliathEnterprise/net.osgiliath.parent >> > >> > > > > -- > Charlie Mordant > > Full OSGI/EE stack made with Karaf: > https://github.com/OsgiliathEnterprise/net.osgiliath.parent > -- Charlie Mordant Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent
