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*@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 root: missing requirement
[root] osgi.identity; osgi.identity=cxf-http-jetty; type=karaf.feature;
version=3.0.2 [caused by: Unable to resolve cxf-http-jetty/3.0.2:
missing requirement [cxf-http-jetty/3.0.2] osgi.identity;
osgi.identity=org.apache.cxf.cxf-rt-transports-http-jetty;
type=osgi.bundle; version="[3.0.2,3.0.2]"; resolution:=mandatory [caused
by: Unable to resolve org.apache.cxf.cxf-rt-transports-http-jetty/3.0.2:
missing requirement [org.apache.cxf.cxf-rt-transports-http-jetty/3.0.2]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.eclipse.jetty.continuation)(version>=7.6.0)(!(version>=8.2.0)))"]]
*karaf*@root()>
On Jun 20, 2015, at 15:11, Jean-Baptiste Onofré <[email protected]
<mailto:[email protected]>> wrote:
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 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=3.0.2 [caused by: Unable to resolve cxf-http-jetty/3.0.2:
missing requirement [cxf-http-jetty/3.0.2] osgi.identity;
osgi.identity=org.apache.cxf.cxf-rt-transports-http-jetty;
type=osgi.bundle; version="[3.0.2,3.0.2]"; resolution:=mandatory [caused
by: Unable to resolve org.apache.cxf.cxf-rt-transports-http-jetty/3.0.2:
missing requirement [org.apache.cxf.cxf-rt-transports-http-jetty/3.0.2]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=javax.servlet)(version>=0.0.0)(!(version>=4.0.0)))"]]
*karaf*@root()>
Regards,
Erwin
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 KARAF-3333 cannot find any documentation
on which version I should use.
*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: Error
*karaf*@root()>
Please advise.
Thanks,
Erwin
--
Jean-Baptiste Onofré
[email protected]
<mailto:[email protected]><mailto:[email protected]>
http://blog.nanthrax.net <http://blog.nanthrax.net/>
Talend -http://www.talend.com <http://www.talend.com/>
--
Jean-Baptiste Onofré
[email protected] <mailto:[email protected]>
http://blog.nanthrax.net <http://blog.nanthrax.net/>
Talend -http://www.talend.com <http://www.talend.com/>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com