Re: Problem with multiple CXF services using the same https port

2015-01-30 Thread ychawla
Hi Christian, Can you provide an example of how to set this up? The situation I have is this, which I think is the exact same as you describe. I have a central broker server on it with many different bundles: bundle A bundle B bundle C Each bundle hosts a web service with a distinct WSDL and sc

Re: Problem with multiple CXF services using the same https port

2015-01-30 Thread ychawla
Hello all, I got a little further with my configuration and think I got it working. I looked at the camel-example-cxf-osgi and it looks like all you really have to do is remove the standalone jetty HTTP(s) listener and then provide your address as a relative path in your Camel CXF bean. Just remo

Re: Problem with multiple CXF services using the same https port

2012-02-09 Thread Daniel Kulp
On Thursday, February 09, 2012 5:47:09 AM snatera wrote: > Hello Dan! > > Thanks for taking your time to reply to me. > > In this link Fuse Source explains the way that I implemented: > http://fusesource.com/docs/esb/4.3/cxf_security/HTTPCompatible.html#i488847 Nice of them to promote the use of

Re: Problem with multiple CXF services using the same https port

2012-02-09 Thread snatera
Hello Dan! Thanks for taking your time to reply to me. In this link Fuse Source explains the way that I implemented: http://fusesource.com/docs/esb/4.3/cxf_security/HTTPCompatible.html#i488847 I was trying to use before, but I had this Exception: -- Exception in thread "SpringOsgiExtenderThre

Re: Problem with multiple CXF services using the same https port

2012-02-08 Thread Willem Jiang
As Dan suggested, CXF already does some hacking itself to setup a right class loader. You don't need to import lots of CXF related package in your bundle. On Thu Feb 9 03:25:38 2012, Daniel Kulp wrote: On Wednesday, February 08, 2012 11:10:35 AM snatera wrote: I could solve the last post, w

Re: Problem with multiple CXF services using the same https port

2012-02-08 Thread Daniel Kulp
On Wednesday, February 08, 2012 11:10:35 AM snatera wrote: > I could solve the last post, where I mention the Exception about 'cxf' > bean. > > In your beans.xml or camel-config.xml you have to put this source: > > Please do not do that. That's a surefire way to make sure you'll have

Re: Problem with multiple CXF services using the same https port

2012-02-08 Thread snatera
I could solve the last post, where I mention the Exception about 'cxf' bean. In your beans.xml or camel-config.xml you have to put this source: Then, go to pom.xml and put this dependendy and this import: Dependency: org.apache.camel camel-cxf

Re: Problem with multiple CXF services using the same https port

2012-02-08 Thread snatera
Thank you for share this link. I have a Exception with this example, it's about Bus attribute in httpj:engine-factory element, the example defined it this way httpj:engine-factory bus="cxf", but when I install this bundle in fuse-esb-servicemix I have this exception: -- Error creating bean with

Re: Problem with multiple CXF services using the same https port

2012-02-06 Thread Moulliard, Charles
Hi, You can follow instructions explained here : http://fusesource.com/docs/esb/4.4.1/esb_security/CamelCXF-SecureProxy.html Regards, Charles On Mon, Feb 6, 2012 at 8:31 PM, snatera wrote: > Hi cristian, > > I am working with apache camel and i would like to configure https in the > route. >

Re: Problem with multiple CXF services using the same https port

2012-02-06 Thread snatera
Hi cristian, I am working with apache camel and i would like to configure https in the route. can you help me with this? This is my beans.xml: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:cxf="http://camel.apache.org/schema/cx

Re: Problem with multiple CXF services using the same https port

2011-04-11 Thread Christian Mueller
Thank you all for your help on this example. I think this is a very useful feature for all people which use excessive camel-cxf in multiple different bundles (like we). Without this (and we did it in the past), we have to choose a different port for each web service we provided and we had to duplic

Re: Problem with multiple CXF services using the same https port

2011-04-11 Thread Willem Jiang
Hi Charles, You can use patch -p1 < patch to apply the patch which is generated by git. BTW, I'm working on the patch now. Willem On 4/11/11 2:46 PM, Moulliard, Charles wrote: Hi Christian, Can you send us your maven project as I do not use now GIT repo for camel and cannot apply your patch t

Re: Problem with multiple CXF services using the same https port

2011-04-10 Thread Moulliard, Charles
Hi Christian, Can you send us your maven project as I do not use now GIT repo for camel and cannot apply your patch to build the project using subversion ? Regards, Charles On Fri, Apr 8, 2011 at 11:32 PM, Christian Müller < christian.muel...@gmail.com> wrote: > Hello Ade, Willem, Charles, > >

Re: Problem with multiple CXF services using the same https port

2011-04-08 Thread Christian Müller
Hello Ade, Willem, Charles, I updated https://issues.apache.org/jira/browse/CAMEL-3756. May be you could have a look on it. I have a problem with deploying it into ServiceMix 4.3.1-fuse-01-09. With ServiceMix 4.2.0-fuse-02-00 everything works as expected. Cheers, Christian

Re: Problem with multiple CXF services using the same https port

2011-03-04 Thread Christian Mueller
I could successful downgrade the camel-example-reportincident-ws-security-osgi to Camel 2.2.0 (to deploy it into ServiceMix 4.2.0-fuse-02-00) with only one little Code change. I added "META-INF.cxf.osgi," to Import-Package definition in the pom.xml. I removed the following import from camel-conte

Re: Problem with multiple CXF services using the same https port

2011-03-04 Thread Charles Moulliard
Hi Christian, Have you tried to disable the webconsole on SMX ? Regards, Charles On Fri, Mar 4, 2011 at 5:08 PM, Christian Müller wrote: > It looks like it doesn't work. > Charles also had this problem (everything looks good, but it seams to > service is not listening for the web service endpo

Re: Problem with multiple CXF services using the same https port

2011-03-04 Thread Christian Müller
It looks like it doesn't work. Charles also had this problem (everything looks good, but it seams to service is not listening for the web service endpoint). See [1]. And another user also [2]. The working CXF OSGI examples using the jaxws configuration. I will test the Camel report incident examp

Re: Problem with multiple CXF services using the same https port

2011-03-04 Thread Christian Mueller
Thank you Charles and Willem for your responses! I try to collect the information I received from you: - I do not have to change my cxfEndpoint configuration. It can/should looks like the following: - In my Spring configuration, the cxf resource imports should looks like the following:

Re: Problem with multiple CXF services using the same https port

2011-03-04 Thread Willem Jiang
Hi Christian, Please check out my comments in the mail. On 3/4/11 3:46 PM, Christian Mueller wrote: Hello Willem! I have the same problem... :-( I will try to describe the problem and ask my question again: In our integration project we use multiple Camel OSGI bundles which expose multiple web

Re: Problem with multiple CXF services using the same https port

2011-03-04 Thread Moulliard, Charles
On Fri, Mar 4, 2011 at 8:46 AM, Christian Mueller < christian.muel...@gmail.com> wrote: > Hello Willem! > > I have the same problem... :-( > I will try to describe the problem and ask my question again: > In our integration project we use multiple Camel OSGI bundles which expose > multiple web ser

Re: Problem with multiple CXF services using the same https port

2011-03-04 Thread Christian Mueller
Me again... In my privios mail I forgot to mention that our Camel bundles will be deployed into ServiceMix and we will use PAX Web to configure (HTTPS) and start a Jetty instance. It would be nice if we can (re-) use this instance. If this is possible, we have a centralized Web/Jetty configuration

Re: Problem with multiple CXF services using the same https port

2011-03-03 Thread Christian Mueller
Hello Willem! I have the same problem... :-( I will try to describe the problem and ask my question again: In our integration project we use multiple Camel OSGI bundles which expose multiple web servives (via Camel CXF consumer). We use the camel-cxf:cxfEndpoint configuration (including properties

Re: Problem with multiple CXF services using the same https port

2011-03-03 Thread Willem.Jiang
Hi Christian, I cannot see any code inside the {code}{code} block. And I didn't get your question. Willem -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-multiple-CXF-services-using-the-same-https-port-tp3379301p3408939.html Sent from the Camel - Users mailing li

Re: Problem with multiple CXF services using the same https port

2011-03-03 Thread Christian Mueller
And how I can test this configuration which should use https? Any suggestions or code sample? Thanks in advance, Christian -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-multiple-CXF-services-using-the-same-https-port-tp3379301p3408664.html Sent from the Camel -

Re: Problem with multiple CXF services using the same https port

2011-03-03 Thread Christian Mueller
At present, we have a similar configuration like this one: {code} {code} if we change to the solution you suggest, the configuration should looks like this: {code} {code} Right? But I doesn't know how to configure the camel-cxf:pro

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Mueller
It would be great. Looking forward to hear from you... Christian -- View this message in context: http://camel.465427.n5.nabble.com/Problem-with-multiple-CXF-services-using-the-same-https-port-tp3379301p3379974.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread cmoulliard
Will explain tomorrow morning how you can do that easily with your fusr rsb server ! Sent via BlackBerry offered by Proximus -Original Message- From: Christian Mueller Date: Thu, 10 Feb 2011 10:57:55 To: Reply-To: users@camel.apache.org Subject: Re: Problem with multiple CXF services

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Mueller
This is nice for the future. At present, we are using ServiceMix 4.2.0-fuse-02-00 which use Karaf 1.4.0.fuse-02-00 and I need a solution for this environment. Any doubts about my proposal (jetty.xml in ${SMX_ROOT} and reusing this central jetty instance)? Christian -- View this message in conte

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Adrian Trenaman
: Re: Problem with multiple CXF services using the same https port This has been implemented in karaf 2,2 which will be released soon Sent via BlackBerry offered by Proximus -Original Message- From: Christian Müller Date: Thu, 10 Feb 2011 18:43:04 To: Reply-To: users@camel.apache.org

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread cmoulliard
This has been implemented in karaf 2,2 which will be released soon Sent via BlackBerry offered by Proximus -Original Message- From: Christian Müller Date: Thu, 10 Feb 2011 18:43:04 To: Reply-To: users@camel.apache.org Subject: Re: Problem with multiple CXF services using the same https

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Müller
After a fresh cup of cafe, I think I have a good idea. Why not providing a jetty.xml file in ${SMX_HOME}/etc (like the activemq-broker.xml) and configuring jetty there. And in our (multiple) CXF bundle configurations, we using the already running Jetty as Charles suggested. Sounds also a good idea

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Müller
That's the same question I had (where can we configure the SSL). :-) If it's work, this will be grat! Christian

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Adrian Trenaman
Nice one Charles. Question then is - can you point to where can we configure the SSL options for the servlet engine? Cheers, Ade. On 10/02/2011 14:05, Moulliard, Charles wrote: Hi, To avoid that jetty creates both HTTP servers competing for the same port number, you must use a relative path f

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Moulliard, Charles
Hi, To avoid that jetty creates both HTTP servers competing for the same port number, you must use a relative path for the address address="https://0.0.0.0:8443:/Services/OrderEntry"; --> address="/Services/OrderEntry". In this case, the camel cxf servlet will be registered with the Servlet Engine

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Christian Müller
Hello Ade! Good to hear from you. If we "only" use HTTP, everithing works well. I think the "httpj:engine-factory" config for HTTPS is the problematic configuration. I don't know whether there is another way to configure HTTPS for the CXF server. Because your suggestion "OSGi HTTP service" introdu

Re: Problem with multiple CXF services using the same https port

2011-02-10 Thread Adrian Trenaman
Hi Christian, Both bundles are separately competing for the same port - so whoever gets it first wins, and the loser then complains. AFAIK, this will happen for both HTTP and HTTPS ports; I'm not sure of a way to share the port using the normal CXF configuration. However, you could just conf