Re: 3.0.1 snapshot : Unable to connect to container using bin/client or ssh

2014-07-15 Thread sprinz
I found the solution. It had nothing to do with ssh itself. We have build a custom distribution and put a custom /bin/karaf file in filtered-resources. Our build server builds this custom distribution and installs it on an external system. The problem was, that the build server replaced the

Re: 3.0.1 snapshot : Unable to connect to container using bin/client or ssh

2014-07-15 Thread Jean-Baptiste Onofré
Thanks for the update. As I wasn't able to reproduce your issue, I suspected something related to your environment ;) Regards JB On 07/15/2014 09:53 AM, sprinz wrote: I found the solution. It had nothing to do with ssh itself. We have build a custom distribution and put a custom /bin/karaf

Re: Karaf 2.3.5 Set the log Level programmatically

2014-07-15 Thread xav
Hi JB, Thanks, I used LogService, it's works. Thanks for your help. Regards Xav -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-2-3-5-Set-the-log-Level-programmatically-tp4034161p4034222.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf 2.3.5 Set the log Level programmatically

2014-07-15 Thread Jean-Baptiste Onofré
Hi Xav, no problem, we are dedicated for you guys ;) Regards JB On 07/15/2014 12:15 PM, xav wrote: Hi JB, Thanks, I used LogService, it's works. Thanks for your help. Regards Xav -- View this message in context:

Can I use a Karaf Feature as my Maven dependencies somehow?

2014-07-15 Thread David Bosschaert
Hi all, Just wondering whether this is possible. I'm using a Karaf feature at runtime and want to make sure that at build time I'm picking up all the dependencies exactly like they are in the feature (i.e. same bundles at compile time as at runtime). So I was wondering is there a way to use a

Re: Can I use a Karaf Feature as my Maven dependencies somehow?

2014-07-15 Thread Jean-Baptiste Onofré
Hi David, the features-maven-plugin/karaf-maven-plugin, with the add-features-to-repo resolves the features and populate a system repo with bundles. Regards JB On 07/15/2014 06:46 PM, David Bosschaert wrote: Hi all, Just wondering whether this is possible. I'm using a Karaf feature at

Re: Can I use a Karaf Feature as my Maven dependencies somehow?

2014-07-15 Thread David Bosschaert
Thanks JB! This is useful, but it doesn't really put the features in my maven dependency tree, AFAICS. What I'm looking for is a way to simply refer to a Karaf feature instead of specifying dependency entries in my pom. So that I'm sure that what I'm building with maven has the same dependencies

Re: Can I use a Karaf Feature as my Maven dependencies somehow?

2014-07-15 Thread Jean-Baptiste Onofré
Oh ok. You can create a kar based on the features and reference the kar in dependency/. Not sure it will work exactly as you expect. Regards JB On 07/15/2014 07:15 PM, David Bosschaert wrote: Thanks JB! This is useful, but it doesn't really put the features in my maven dependency tree,

Re: Custom karaf.main.lock.Lock implementation - is it possible?

2014-07-15 Thread jhammer03
Thanks for the confirmation, JB. I had newbishly/foolishly assumed that any jar dropped in the $KARAF_HOME/lib directory would be auto-magically added to the classpath. One of the things that tripped me up was the less-than-informative message: Exception instantiating lock class..., which I was

Re: Can I use a Karaf Feature as my Maven dependencies somehow?

2014-07-15 Thread Michael Täschner
Hi David, I don't know if this if helpful for you: In Servicemix (last checked with SMX 4.5) the features are generated inside a separate module based on declarations in dependencyManagement section of the pom. I use this to import the pom of this module into my project to gain access to all

Re: Can I use a Karaf Feature as my Maven dependencies somehow?

2014-07-15 Thread Charlie Mordant
Hi David, A good thing could be to declare all your feature's dependencies on the feature's pom with an exclusion*/ on them. Then, you can reference that features pom on your business module Example: * In the feature's pom artIdfeatArtId/artId depMngmt depcom.mycom:mydep:${myversion} excl*/excl