Re: PAX CDI not bootstrapping

2015-07-31 Thread Tom Barber
Haha! I didn't see that one yesterday. Whoop, but late though :) https://themagicaltrout.wordpress.com/2015/07/30/accessing-your-beans-in-a-serviceendpoint-class-using-apache-karaf/ this late night blog rambling explains my current solution, although CDI would be nicer. Thanks Andreas. Tom On

dev:create-dump KarafMBeanServerBuilder not initialized

2015-07-31 Thread Piet Molenaar
Hi, To investigate possible memory issues I want to create a heap dump. A zipped file is created but no heapdump.txt is present in there (). The log produces the following warning: 2015-07-31 11:10:30,667 [Karaf Console Local for user karaf] WARN

A unit tests where the test runs --- outside --- karaf

2015-07-31 Thread Benson Margulies
I'd like to use the pax exam karaf support to launch karaf, but then run a unit test where the test itself is plain old java code that is not OSGi and not inside the container. The point here is to talk to a web service inside the container from outside. Is there a model for this?

Re: A unit tests where the test runs --- outside --- karaf

2015-07-31 Thread Christian Schneider
The pax exam server mode should help with that. https://ops4j1.jira.com/wiki/display/PAXEXAM4/Server+Mode Christian On 31.07.2015 17:07, Benson Margulies wrote: I'd like to use the pax exam karaf support to launch karaf, but then run a unit test where the test itself is plain old java code

Re: dev:create-dump KarafMBeanServerBuilder not initialized

2015-07-31 Thread jb
Hi Piet, what's the Karaf version ? Regards JB Le 2015-07-31 15:25, Piet Molenaar a écrit : Hi, To investigate possible memory issues I want to create a heap dump. A zipped file is created but no heapdump.txt is present in there (). The log produces the following warning: 2015-07-31

Re: dev:create-dump KarafMBeanServerBuilder not initialized

2015-07-31 Thread Piet Molenaar
That's karaf.version : 3.0.2 On Fri, Jul 31, 2015 at 5:52 PM, jbonofre [via Karaf] ml-node+s922171n4041752...@n3.nabble.com wrote: Hi Piet, what's the Karaf version ? Regards JB Le 2015-07-31 15:25, Piet Molenaar a écrit : Hi, To investigate possible memory issues I want to create

Re: PAX CDI not bootstrapping

2015-07-31 Thread Andreas Kuhtz
Hi, Just found this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=453834 Your CDI-problem with websocket could be solved with jetty-9.3.x :-) Regards, Andreas 2015-07-30 20:00 GMT+02:00 Tom Barber tom.bar...@meteorite.bi: Yeah I had one in there as well. CDI does run by there is a

get bundle version in pax exam test

2015-07-31 Thread Marco Westermann
Hi, I try to test if my feature works as expected via pax exam. Imagine my project structure as follows: | |-my.bundle |-features |-itests |-pom.xml so I have a parent pom which defines the version for all child poms. the feature contains the installation of the my.bundle with version

Karaf 4.0.0 and Integration Tests

2015-07-31 Thread Serge Huber
Hello Karaf-ers, I am trying to setup integration tests using Karaf 4.0.0 and I’m basing my code on the itests project in the Karaf source code. I was having an issue at startup that looked like this : --- T E S T S