Re: Application using Karaf - problems with packages not being exported by default configuration

2016-08-30 Thread thully
I figured out why that was happening - it turns out we had packages listed in org.osgi.framework.system.packages.extra in custom.properties that were overriding the defaults in config.properties. As such, Xerces was never being exported, and org.apache.xerces.util isn't in boot delegation so we

Re: Karaf 4.0.6

2016-08-30 Thread AndyPhillips404
thanks! Let me know what i can do to help... -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-6-tp4047757p4047766.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf 4.0.5 prerequisite feature not installed with correct version

2016-08-30 Thread Markus Rathgeb
By the way: Also for Maven a version 1.0 generally means 1.0 or a later version, if 1.0 is not available. https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#MAVEN402 2016-08-30 21:59 GMT+02:00 Jean-Baptiste Onofré : > By the way: it's the OSGi convention. The

Re: Karaf 4.0.5 prerequisite feature not installed with correct version

2016-08-30 Thread oski_bear
I see. Well, I guess if it is the OSGi convention it makes sense. It's surprising to me though. I've worked with OSGi and Karaf for years and I always assumed that if you specified an exact version it would look only for that version. Perhaps, because I've never had more than two versions of a

Re: Karaf 4.0.5 prerequisite feature not installed with correct version

2016-08-30 Thread Jean-Baptiste Onofré
By the way: it's the OSGi convention. The same apply to import package. Something like: Import-Package: com.foo;version="1.0.0" means [1.0.0,) If you want to narrow to 1.0.0 only then you have to use [1.0.0,1.0.0] Regards JB On 08/30/2016 09:24 PM, oski_bear wrote: Thanks Guillaume, The

Re: Karaf 4.0.6

2016-08-30 Thread Jean-Baptiste Onofré
OK, thanks. I remember I did a change on in feature (to be able to automatically generate corresponding cfg file). And I found an issue about factory at that time. Let me check. I keep you posted. Regards JB On 08/30/2016 09:04 PM, AndyPhillips404 wrote: Sorry, to be honest, i'm not sure.

Re: Karaf 4.0.5 prerequisite feature not installed with correct version

2016-08-30 Thread oski_bear
Thanks Guillaume, The version range helped. Though, I think it's confusing that explicitly setting a version translates to >=. After all I am using the "=" symbol not the ">=" symbol. I'm going to investigate the other issues a bit more and get back to you. Thanks again -- View this message

Re: Karaf 4.0.6

2016-08-30 Thread AndyPhillips404
Sorry, to be honest, i'm not sure. I know i tested this part of the code in the early 4.0.X (4.0.3 maybe?). I checked my SVN logs of this module and the last commit was Jan of 2016 when i know it was working properly. -- View this message in context:

Re: Karaf 4.0.6

2016-08-30 Thread Erwin Hogeweg
Yes, I have observed the same behavior. I assumed I was doing something wrong and removed the config from the feature.xml. Erwin > On Aug 30, 2016, at 11:39, AndyPhillips404 wrote: > > I have noticed in Karaf 4.0.5 and .6 that implementing configurations for >

Re: Karaf 4.0.6

2016-08-30 Thread Jean-Baptiste Onofré
Hi Andy, since when do you observe this behavior ? Thanks, Regards JB On 08/30/2016 05:39 PM, AndyPhillips404 wrote: I have noticed in Karaf 4.0.5 and .6 that implementing configurations for factoryConfigurations in the features resolver doesn't appear to work as expected anymore. When you

Karaf 4.0.6

2016-08-30 Thread AndyPhillips404
I have noticed in Karaf 4.0.5 and .6 that implementing configurations for factoryConfigurations in the features resolver doesn't appear to work as expected anymore. When you add a config to the feature xml, that is a factoryConfiguration, it creates two instances. I think this is because the

ApacheCon Seville CFP closes September 9th

2016-08-30 Thread Rich Bowen
It's traditional. We wait for the last minute to get our talk proposals in for conferences. Well, the last minute has arrived. The CFP for ApacheCon Seville closes on September 9th, which is less than 2 weeks away. It's time to get your talks in, so that we can make this the best ApacheCon yet.

Re: Karaf 4.0.5 prerequisite feature not installed with correct version

2016-08-30 Thread Guillaume Nodet
2016-08-30 7:04 GMT+02:00 oski_bear : > I'm having a hard time with feature installation in Karaf 4.0.5. The latest > issue seems to be that Karaf 4.0.5 disregards the version specified for a > prerequisite feature. E.g. > >