Re: Karaf 4.2.0 fails when installing a feature with a configfile tag

2018-07-31 Thread Jean-Baptiste Onofré
Hi Martin, What are your boot feature ? If your own feature is part of the boot feature, it should be started in stage 2, after the framework. So basically, you should have bootFeatures=(framework,...),your-feature Regards JB On 31/07/2018 14:05, Martin Nielsen wrote: > It is a runtime

Re: Karaf 4.2.0 fails when installing a feature with a configfile tag

2018-07-31 Thread Erwin Hogeweg
Hi Martin, Try building your feature module separately before building your distribution. There appears to be a timing issue when building both form Maven. It could happened that the feature.xml is not completely written to disk yet before the distro is build. Ever since we took the feature

Re: Karaf 4.2.0 fails when installing a feature with a configfile tag

2018-07-31 Thread Martin Nielsen
It is a runtime problem. The feature verifies and every other feature in the feature.xml can be installed. This is really odd. It seems it might be a problem with my custom distro. When i download the Karaf 4.2.0 zip and install the feature there, there is no exception. Any idea how a custom

Re: Karaf 4.2.0 fails when installing a feature with a configfile tag

2018-07-31 Thread Jean-Baptiste Onofré
Hi Martin, do you have this error at runtime or when you verify the feature using the karaf-maven-plugin. It's weird, as we use in the war feature for instance. Regards JB On 31/07/2018 13:08, Martin Nielsen wrote: > I am getting an exception when i am attempting to install a feature >

Karaf 4.2.0 fails when installing a feature with a configfile tag

2018-07-31 Thread Martin Nielsen
I am getting an exception when i am attempting to install a feature containing a configuration file. The feature looks like this: aries-blueprint mvn:dk.netdesign.common/karaf-security/4.0.1-SNAPSHOT/cfg/jaas