Karaf stuck at startup in org.apache.felix.resolver.ResolverImpl.resolve

2017-05-30 Thread Martin Lichtin
Having a particular situation at startup where Karaf (4.0.9) is stuck and not able to install the feature. It seems to (forever) hang in: "pool-2-thread-1" #48 prio=5 os_prio=0 tid=0x1c9b5800 nid=0x1680 runnable [0x21ffe000] java.lang.Thread.State: RUNNABLE at

Re: Weird behaviour when uninstalling feature with fragment

2017-05-30 Thread Steinar Bang
> Steinar Bang : > Achim Nierbeck : >> Not sure, but at first glance this reminds me of a system.exit >> somewhere in the code. May it be that something in your code fires >> this on a "change" or Bundle stop? > My own code, by itself does not

Re: Weird behaviour when uninstalling feature with fragment

2017-05-30 Thread Steinar Bang
> Castor : > That's weird, i'm using the liquibase-slf4j as a fragment for quite > sometime and i don't have this problem. but i'm using Karaf 4.0.8, and > if i'm correct karaf 4.1.x changed some stuff related to logging, > could be the cause of the problem. Could

Re: Weird behaviour when uninstalling feature with fragment

2017-05-30 Thread Castor
That's weird, i'm using the liquibase-slf4j as a fragment for quite sometime and i don't have this problem. but i'm using Karaf 4.0.8, and if i'm correct karaf 4.1.x changed some stuff related to logging, could be the cause of the problem. Well, instead using the liquibase-slf4j as a fragment

Re: strange issue with karaf-maven-plugin

2017-05-30 Thread Guillaume Nodet
When the plugin creates the assembly, it needs to compute what resources are needed for boot features. Startup features are pre-installed, so the resolution happens at build time, however, boot features are resolved at startup time by the FeaturesService, which means it needs all the input files.

RE: strange issue with karaf-maven-plugin

2017-05-30 Thread Siano, Stephan
Hi, one update: After I added the boot following boot features pax-war-tomcat/6.0.4 pax-http-whiteboard/6.0.4 pax-http-tomcat/6.0.4 pax-war/6.0.4 it works, so I have a workaround for now, however it

strange issue with karaf-maven-plugin

2017-05-30 Thread Siano, Stephan
Hi, I am trying to build a custom karaf distribution with the karaf-maven-plugin. In my pom, I have defined compile time dependencies to the framework kar and the standard feature xml and runtime dependencies to the framework, spring and enterprise feature xmls. The karaf -maven-plugin