Re: Unable to deploy jna 4.3.0 in Karaf 4.1.1 or 4.0.9

2017-06-06 Thread Guillaume Nodet
Fwiw, the "java.lang.IllegalStateException: No inital startlevel yet" exception is a felix framework issue, FELIX-5649. 2017-06-06 8:23 GMT+02:00 Shyalika Benthotage < shyalika.benthot...@medialinksaustralia.com.au>: > Hi, > > I think the issue is in the container, not jna. I tried to install

Re: Unable to deploy jna 4.3.0 in Karaf 4.1.1 or 4.0.9

2017-06-06 Thread Jean-Baptiste Onofré
Thanks for the update. I just tried and it worked. Let me check if I can reproduce the issue. Regards JB On 06/06/2017 08:23 AM, Shyalika Benthotage wrote: Hi, I think the issue is in the container, not jna. I tried to install cxf and it gives me the same exception causing karaf to exit.

Re: Unable to deploy jna 4.3.0 in Karaf 4.1.1 or 4.0.9

2017-06-06 Thread Shyalika Benthotage
Hi, I think the issue is in the container, not jna. I tried to install cxf and it gives me the same exception causing karaf to exit. The steps I used are *karaf*@root()> feature:repo-add cxf Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/RELEASE/xml/features *karaf*@root()>

Re: Unable to deploy jna 4.3.0 in Karaf 4.1.1 or 4.0.9

2017-06-02 Thread Guillaume Nodet
JNA is an optional dependency on JLine (used by the shell), so if you install JNA, it will refresh jline, hence the karaf shell. However, the shell should come back immediately in a usable state. You can reproduce using: > install mvn:net.java.dev.jna/jna/RELEASE > refresh org.jline On

Re: Unable to deploy jna 4.3.0 in Karaf 4.1.1 or 4.0.9

2017-06-01 Thread Shyalika Benthotage
Hi JB, For our application we deploy it through a feature file. But we can recreate the issue by getting a fresh karaf 4.1.1 and directly coping the bundle jna 4.3.0 to deploy folder there. The log I had attached was from this scenario. Note the karaf startup logs at the end, it kind of

Re: Unable to deploy jna 4.3.0 in Karaf 4.1.1 or 4.0.9

2017-06-01 Thread Jean-Baptiste Onofré
Hi, do you directly deploy the JNA bundle ? Can you describe a bit the steps you do ? Thanks ! Regards JB On 06/02/2017 07:10 AM, Shyalika Benthotage wrote: Hi, We have been using 3.0.3 for some time now and trying to migrate to karaf 4.x. As a part of our application, when I try to deploy