ds-create -dt ConnectionPoolDataSource not working?

2017-07-12 Thread JonFields
Hi, I am trying to upgrade to Karaf 4.1.1 which bundles pax-jdbc 1.0.1, from Karaf 4.0.4 and pax-jdbc 0.9.0. I understand that the way that connection pooled and XA data sources work in pax-jdbc 1 is changed... In the past, after feature:install jdbc transaction pax-jdbc pax-jdbc-config

karaf-maven-plugin feature verify and missing capabilities

2017-07-12 Thread matteor
In my project I have to maintain a bunch of capabilities elements within my custom features like this in order to get my features resolve (I'm using the karaf-maven-plugin with the verify goal). If I do not specify these capabilities elements I get missing requirement errors such as This is

Re: Features with conditional requirements

2017-07-12 Thread jeremie.bre...@gmail.com
Thanks to your help, I could reproduce my issue : the bundles in my had missing requirements. In this case, the conditional is not installed, without errors. Fixing the missing imports have resolved my issue. On 2017-07-12 15:20 (+0200), Guillaume Nodet wrote: > The best

Re: Features with conditional requirements

2017-07-12 Thread Guillaume Nodet
The best way is to produce a unit test with a minimal set of features / bundles. You can see such a test here: https://github.com/apache/karaf/blob/master/features/core/src/test/java/org/apache/karaf/features/internal/region/SubsystemTest.java#L191-L210 with the data:

Features with conditional requirements

2017-07-12 Thread jeremie.bre...@gmail.com
Hello, I am playing with conditionals features, but I am not able to do what I want. I have theses features (with Karaf 4.1.1 ): req:component.service.faultmanagement mvn:MyUIBundle ... component.service.faultmanagement When I install "ui" and "faultmanagement",