Re: Camel CXF cannot be loaded to Karaf 4.0.0

2015-08-11 Thread Daniel Kulp

The problem is that CXF the 3.0.x features file (which is pulled in via Camel 
2.15.2) doesn’t support Karaf 4.   CXF only supports Karaf 4 starting with CXF 
3.1.

Thus, when the Karaf resolver is trying to resolve the camel-cxf feature file, 
it has a problem with the jetty 8 feature as CXF 3.0.x needs Jetty 8, not the 
Jetty 9 that Karaf 4 provides.

You can “work around” this by doing: 

feature:install camel-core camel-spring
install -s mvn:org.apache.camel/camel-cxf-transport/2.15.2
install -s mvn:org.apache.camel/camel-cxf/2.15.2

which should work fine.   If you look at the features file for camel-cxf, it’s 
really the same as the above but wouldn’t attempt to look at the 3.0.x versions 
of CXF.


That said, this MAY be a bug in Karaf’s resolver.   The Camel feature file 
specifies a version range of [2.7,4.0) for CXF and CXF 3.1.1 would already be 
installed and resolved so I have no idea why it’s even looking at the 3.0.5 
features.

Dan


 On Aug 10, 2015, at 3:52 PM, bocamel johnz...@gmail.com wrote:
 
 Just a heads up.  Tried the latest Karaf 4.0.0.  Cannot load camel-cxf
 feature (Camel 2.15.2/CXF 3.1.1).  Below is the error - looks like someone
 needs to bump up Jetty dependency.
 
 
 karaf@root() feature:repo-add cxf 3.1.1
 Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/3.1.1/xml/features
 karaf@root() feature:install cxf cxf-rt-security
 karaf@root() feature:repo-add camel 2.15.2
 Adding feature url
 mvn:org.apache.camel.karaf/apache-camel/2.15.2/xml/features
 karaf@root() feature:install camel-core camel-spring camel-cxf
 Error executing command: Unable to resolve root: missing requirement [root]
 osgi
 .identity; osgi.identity=jetty; type=karaf.feature; version=[7.0.0,9.0.0)
 karaf@root()
 
 
 
 --
 View this message in context: 
 http://camel.465427.n5.nabble.com/Camel-CXF-cannot-be-loaded-to-Karaf-4-0-0-tp5770537.html
 Sent from the Camel - Users mailing list archive at Nabble.com.

-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com



Re: Camel CXF cannot be loaded to Karaf 4.0.0

2015-08-11 Thread Christian Müller
Thanks for the detailed explanation!

Best,
Christian
Am 11.08.2015 14:51 schrieb Daniel Kulp dk...@apache.org:


 The problem is that CXF the 3.0.x features file (which is pulled in via
 Camel 2.15.2) doesn’t support Karaf 4.   CXF only supports Karaf 4 starting
 with CXF 3.1.

 Thus, when the Karaf resolver is trying to resolve the camel-cxf feature
 file, it has a problem with the jetty 8 feature as CXF 3.0.x needs Jetty 8,
 not the Jetty 9 that Karaf 4 provides.

 You can “work around” this by doing:

 feature:install camel-core camel-spring
 install -s mvn:org.apache.camel/camel-cxf-transport/2.15.2
 install -s mvn:org.apache.camel/camel-cxf/2.15.2

 which should work fine.   If you look at the features file for camel-cxf,
 it’s really the same as the above but wouldn’t attempt to look at the 3.0.x
 versions of CXF.


 That said, this MAY be a bug in Karaf’s resolver.   The Camel feature file
 specifies a version range of [2.7,4.0) for CXF and CXF 3.1.1 would already
 be installed and resolved so I have no idea why it’s even looking at the
 3.0.5 features.

 Dan


  On Aug 10, 2015, at 3:52 PM, bocamel johnz...@gmail.com wrote:
 
  Just a heads up.  Tried the latest Karaf 4.0.0.  Cannot load camel-cxf
  feature (Camel 2.15.2/CXF 3.1.1).  Below is the error - looks like
 someone
  needs to bump up Jetty dependency.
 
 
  karaf@root() feature:repo-add cxf 3.1.1
  Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/3.1.1/xml/features
  karaf@root() feature:install cxf cxf-rt-security
  karaf@root() feature:repo-add camel 2.15.2
  Adding feature url
  mvn:org.apache.camel.karaf/apache-camel/2.15.2/xml/features
  karaf@root() feature:install camel-core camel-spring camel-cxf
  Error executing command: Unable to resolve root: missing requirement
 [root]
  osgi
  .identity; osgi.identity=jetty; type=karaf.feature;
 version=[7.0.0,9.0.0)
  karaf@root()
 
 
 
  --
  View this message in context:
 http://camel.465427.n5.nabble.com/Camel-CXF-cannot-be-loaded-to-Karaf-4-0-0-tp5770537.html
  Sent from the Camel - Users mailing list archive at Nabble.com.

 --
 Daniel Kulp
 dk...@apache.org - http://dankulp.com/blog
 Talend Community Coder - http://coders.talend.com




Re: Camel CXF cannot be loaded to Karaf 4.0.0

2015-08-10 Thread Christian Müller
Apache Camel 2.15.2 was build and tested with CXF 3.0.4 [1] - and not 3.1.1.
Any reason why you have to use CXF 3.1.1?

Camel 2.16.0 will use CXF 3.1.2 (or later) [2].

[1]
https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=parent/pom.xml;h=f2b12514025554cdca72f32f3c78df32cf890526;hb=f27cda0a7a8132259e8caad043f0d63809bd901d
[2]
https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=parent/pom.xml;h=2c1af666471bb6a851bbb81cc92522ec8562ff59;hb=HEAD

Best,

Christian
-

Software Integration Specialist

Apache Member
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer
Apache Incubator PMC Member

https://www.linkedin.com/pub/christian-mueller/11/551/642

On Mon, Aug 10, 2015 at 9:52 PM, bocamel johnz...@gmail.com wrote:

 Just a heads up.  Tried the latest Karaf 4.0.0.  Cannot load camel-cxf
 feature (Camel 2.15.2/CXF 3.1.1).  Below is the error - looks like someone
 needs to bump up Jetty dependency.


 karaf@root() feature:repo-add cxf 3.1.1
 Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/3.1.1/xml/features
 karaf@root() feature:install cxf cxf-rt-security
 karaf@root() feature:repo-add camel 2.15.2
 Adding feature url
 mvn:org.apache.camel.karaf/apache-camel/2.15.2/xml/features
 karaf@root() feature:install camel-core camel-spring camel-cxf
 Error executing command: Unable to resolve root: missing requirement [root]
 osgi
 .identity; osgi.identity=jetty; type=karaf.feature; version=[7.0.0,9.0.0)
 karaf@root()



 --
 View this message in context:
 http://camel.465427.n5.nabble.com/Camel-CXF-cannot-be-loaded-to-Karaf-4-0-0-tp5770537.html
 Sent from the Camel - Users mailing list archive at Nabble.com.



Camel CXF cannot be loaded to Karaf 4.0.0

2015-08-10 Thread bocamel
Just a heads up.  Tried the latest Karaf 4.0.0.  Cannot load camel-cxf
feature (Camel 2.15.2/CXF 3.1.1).  Below is the error - looks like someone
needs to bump up Jetty dependency.


karaf@root() feature:repo-add cxf 3.1.1
Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/3.1.1/xml/features
karaf@root() feature:install cxf cxf-rt-security
karaf@root() feature:repo-add camel 2.15.2
Adding feature url
mvn:org.apache.camel.karaf/apache-camel/2.15.2/xml/features
karaf@root() feature:install camel-core camel-spring camel-cxf
Error executing command: Unable to resolve root: missing requirement [root]
osgi
.identity; osgi.identity=jetty; type=karaf.feature; version=[7.0.0,9.0.0)
karaf@root()



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-cannot-be-loaded-to-Karaf-4-0-0-tp5770537.html
Sent from the Camel - Users mailing list archive at Nabble.com.


RE: Camel CXF cannot be loaded to Karaf 4.0.0

2015-08-10 Thread bocamel
Hi Christian,

 

Thank you for your response.   The reason why we have to use CXF 3.1.1 is
that the previous versions of CXF do not allow the disablement of SSLv3
while still supporting Java 1.6 clients who have to use SSLv2Hello.  In CXF
3.1.1, a feature was added so that the server can disable SSLv3 and enable
SSLv2Hello.  We have tried CXF 3.1.1 with Camel 2.15.2 and Karaf 3.0.3
successfully.

 

I guess Karaf 4.0.0 now has a Jetty dependency = 9.0.0 but CXF/Camel
require Jetty  9.0.0.

 

 

From: Christian Mueller [via Camel]
[mailto:ml-node+s465427n5770538...@n5.nabble.com] 
Sent: Monday, August 10, 2015 4:02 PM
To: bocamel johnz...@gmail.com
Subject: Re: Camel CXF cannot be loaded to Karaf 4.0.0

 

Apache Camel 2.15.2 was build and tested with CXF 3.0.4 [1] - and not 3.1.1.

Any reason why you have to use CXF 3.1.1? 

Camel 2.16.0 will use CXF 3.1.2 (or later) [2]. 

[1] 
https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=parent/pom.xml;
h=f2b12514025554cdca72f32f3c78df32cf890526;hb=f27cda0a7a8132259e8caad043f0d6
3809bd901d
[2] 
https://git-wip-us.apache.org/repos/asf?p=camel.git;a=blob;f=parent/pom.xml;
h=2c1af666471bb6a851bbb81cc92522ec8562ff59;hb=HEAD

Best, 

Christian 
- 

Software Integration Specialist 

Apache Member 
V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer 
Apache Incubator PMC Member 

https://www.linkedin.com/pub/christian-mueller/11/551/642

On Mon, Aug 10, 2015 at 9:52 PM, bocamel [hidden email] wrote: 


 Just a heads up.  Tried the latest Karaf 4.0.0.  Cannot load camel-cxf 
 feature (Camel 2.15.2/CXF 3.1.1).  Below is the error - looks like someone

 needs to bump up Jetty dependency. 
 
 
 karaf@root() feature:repo-add cxf 3.1.1 
 Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/3.1.1/xml/features 
 karaf@root() feature:install cxf cxf-rt-security 
 karaf@root() feature:repo-add camel 2.15.2 
 Adding feature url 
 mvn:org.apache.camel.karaf/apache-camel/2.15.2/xml/features 
 karaf@root() feature:install camel-core camel-spring camel-cxf 
 Error executing command: Unable to resolve root: missing requirement
[root] 
 osgi 
 .identity; osgi.identity=jetty; type=karaf.feature;
version=[7.0.0,9.0.0) 
 karaf@root() 
 
 
 
 -- 
 View this message in context: 

http://camel.465427.n5.nabble.com/Camel-CXF-cannot-be-loaded-to-Karaf-4-0-0-
tp5770537.html
 Sent from the Camel - Users mailing list archive at Nabble.com. 
 

 

  _  

If you reply to this email, your message will be added to the discussion
below:

http://camel.465427.n5.nabble.com/Camel-CXF-cannot-be-loaded-to-Karaf-4-0-0-
tp5770537p5770538.html 

To unsubscribe from Camel CXF cannot be loaded to Karaf 4.0.0, click here
http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscrib
e_by_codenode=5770537code=am9obnp5aW5AZ21haWwuY29tfDU3NzA1Mzd8Mjk3Mjc3MTQ4
 .
 
http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_view
erid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNa
mespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.No
deNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_ema
ils%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml NAML 





--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-cannot-be-loaded-to-Karaf-4-0-0-tp5770537p5770544.html
Sent from the Camel - Users mailing list archive at Nabble.com.