>>>>> Achim Nierbeck <[email protected]>: > 2017-04-15 19:39 GMT+02:00 Steinar Bang <[email protected]>:
[snip!} >> Now I'm back to the issue of why the pax-jdbc feature isn't found: >> 1. It's found in a regular karaf instance >> 2. It didn't help specifying the feature repository containing the >> feature pax-jdbc in my feature file > Did you also reference the pax-jdbc feature in your feature file? Yes I did. More specifically: I've referenced the pax-jdbc feature from by my derby database feature, for as long as I've been using karaf features...:-) https://github.com/steinarb/ukelonn/blob/using-vaadin/ukelonn.bundle.test.db/src/main/feature/feature.xml#L4 What did eventually make the pax exam test with the karaf container work for me, was to load the pax-jdbc feature repository in the configuration of the karaf container for the pax exam test: https://github.com/steinarb/ukelonn/blob/using-vaadin/ukelonn.tests/src/test/java/no/priv/bang/ukelonn/tests/UkelonnServiceIntegrationTest.java#L48 As I've said in a different message in this thread, I don't need to specifically load the pax-jdbc feature repository when using a regular karaf 4.0.7 or 4.0.9 container. In that case it is enough to just reference the feature. > You'll need to declare that dependency to be installed. I know. :-)
