Re: How to Define a Feature Configuration in Maven Project?

2015-06-20 Thread Jean-Baptiste Onofré
Hi Erwin, for config/configfile, you have to create the features XML by hand. Regards JB On 06/20/2015 11:50 PM, Erwin Hogeweg wrote: Hi, I would like to include something like this: myProperty = myValue in a Maven generated feature.xml. How/where do I specify that? The documentation

Re: Karaf Integration Testing

2015-06-20 Thread Stephen Kahmann
May be related to: https://ops4j1.jira.com/browse/PAXURL-288 On 6/20/15, 6:23 PM, "Stephen Kahmann" wrote: >JB, > >Thank you for your reply. Looks like the issue was in my pax-url-aether >version. I upgraded from 2.3.0 to 2.4.1 and it looks like I get a little >further. Now I am having an is

Re: Karaf Integration Testing

2015-06-20 Thread Stephen Kahmann
JB, Thank you for your reply. Looks like the issue was in my pax-url-aether version. I upgraded from 2.3.0 to 2.4.1 and it looks like I get a little further. Now I am having an issue when Karaf starts: 2015-06-20 18:18:54,166 | WARN | FelixStartLevel | FeaturesServiceImpl | 20 - org.

How to Define a Feature Configuration in Maven Project?

2015-06-20 Thread Erwin Hogeweg
Hi, I would like to include something like this: myProperty = myValue in a Maven generated feature.xml. How/where do I specify that? The documentation here: http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin-features-generate-descriptor.html

Re: 4.0.0.M3 error installing cxf feature - User Error?

2015-06-20 Thread Erwin Hogeweg
Hi JB, Ok, thanks. I was wondering about that Jetty error. So I switched back to Karaf 3 since I need CXF-DOSGi, and, AFAIK, that requires CXF < 3.0.0. Although I get the error below, it seems to work, and the remote services are registered. karaf@root()> feature:repo-add cxf 2.7.8 Adding feat

Re: 4.0.0.M3 error installing cxf feature - User Error?

2015-06-20 Thread Jean-Baptiste Onofré
Hi Erwin, Karaf 4.x comes with Jetty 9 (not 8). So, you have to update your CXF version (3.11 for instance) or downgrade to Karaf 3 (which provides Jetty 8). Regards JB On 06/20/2015 09:28 PM, Erwin Hogeweg wrote: From a fresh installation: *karaf*@root()> feature:install http *karaf*@roo

Re: 4.0.0.M3 error installing cxf feature - User Error?

2015-06-20 Thread Erwin Hogeweg
From a fresh installation: karaf@root()> feature:install http karaf@root()> feature:repo-add cxf 3.0.2 Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/3.0.2/xml/features karaf@root()> feature:install -v cxf/3.0.2 Adding features: cxf/[3.0.2,3.0.2] Error executing command: Unable to resolve

Re: 4.0.0.M3 error installing cxf feature - User Error?

2015-06-20 Thread Jean-Baptiste Onofré
Can you first try to install the http feature before the cxf one: feature:install http feature:install cxf The http feature should install the servlet-api bundle. Regards JB On 06/20/2015 08:59 PM, Erwin Hogeweg wrote: I guess the same happens with a simple feature:install cxf ? Yeah ,that d

Re: 4.0.0.M3 error installing cxf feature - User Error?

2015-06-20 Thread Erwin Hogeweg
> I guess the same happens with a simple feature:install cxf ? Yeah ,that doesn’t seem to work quite right either. karaf@root()> feature:install cxf Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=cxf-http-jetty; type=karaf.feature; version

Re: 4.0.0.M3 error installing cxf feature - User Error?

2015-06-20 Thread Jean-Baptiste Onofré
I guess the same happens with a simple feature:install cxf ? Regards JB On 06/20/2015 08:02 PM, Erwin Hogeweg wrote: Hi - Trying to install cxf feature in 4.0.0.M3, following the steps in the Cookbook, I am getting the errors below. I assume this is a user error, but apart from the Jira issue

Re: Karaf Integration Testing

2015-06-20 Thread Jean-Baptiste Onofré
Hi Stephen the org.apache.karaf.tooling.exam is now deprecated and only valid for Karaf 2.3.x. If you use 2.4.x, 3.0.x (or 4.0.x), you can directly use pax-exam, which provide now natively the Karaf container support. You can take a look on Karaf or Cellar itest for example. I will update

Re: 4.0.0.M3 error installing cxf feature - User Error?

2015-06-20 Thread Erwin Hogeweg
FYI - I see this in the log file… 2015-06-20 13:57:33,420 | ERROR | nsole user karaf | ShellUtil | 42 - org.apache.karaf.shell.core - 4.0.0.M3 | Exception caught while executing command org.apache.karaf.features.internal.util.MultiException: Error at org.apache.k

4.0.0.M3 error installing cxf feature - User Error?

2015-06-20 Thread Erwin Hogeweg
Hi - Trying to install cxf feature in 4.0.0.M3, following the steps in the Cookbook, I am getting the errors below. I assume this is a user error, but apart from the Jira issue KARAF- cannot find any documentation on which version I should use. karaf@root()> feature:repo-add cxf 3.0.2 Add

Karaf Integration Testing

2015-06-20 Thread Stephen Kahmann
Hi, I am trying to write integration tests for Karaf and I am following https://karaf.apache.org/manual/latest/developers-guide/writing-tests.html. That page says to include: org.apache.karaf.tooling.exam org.apache.karaf.tooling.exam.container 3.0.3-SNAPSHOT test But I can't find t