Re: cxf rest service disappears with camel 2.8.0

2011-08-11 Thread Daniel Kulp
On Thursday, August 11, 2011 10:19:04 PM Willem Jiang wrote: > Hi Mirko, > > After I add a simple test I found that jaxrs:server will use the > BusFactory.getDeafultThreadBus() when the bus is not set, it will make > the jaxrs server using a bus which is not wired with CXF Servlet. > And it can e

Re: cxf rest service disappears with camel 2.8.0

2011-08-11 Thread Mirko Caserta
Hi Willem, no problem, I can live with an extra statement in the meanwhile :) Thanks for taking care of this in the upcoming releases of CXF. Mirko On Thu, Aug 11, 2011 at 4:19 PM, Willem Jiang wrote: > Hi Mirko, > > After I add a simple test I found that jaxrs:server will use the > BusFactory

Re: cxf rest service disappears with camel 2.8.0

2011-08-11 Thread Willem Jiang
Hi Mirko, After I add a simple test I found that jaxrs:server will use the BusFactory.getDeafultThreadBus() when the bus is not set, it will make the jaxrs server using a bus which is not wired with CXF Servlet. And it can explain that the jaxrs server doesn't show up in service list. In Came

Re: cxf rest service disappears with camel 2.8.0

2011-08-11 Thread Mirko Caserta
I'm sending the context config file in a private message to you as it contains some of my customer's business info in the camel route. Mirko On Thu, Aug 11, 2011 at 11:17 AM, Willem Jiang wrote: > I checked the code that handles jaxrs:server, it calls the same method as > the handler of jaxws:en

Re: cxf rest service disappears with camel 2.8.0

2011-08-11 Thread Willem Jiang
I checked the code that handles jaxrs:server, it calls the same method as the handler of jaxws:endpoint. Can you past the spring configuration the camel route and jaxrs:server ? On 8/9/11 3:52 PM, Mirko Caserta wrote: Hi Willem, yes, I'm using the CXF servlet transport. Here is my web.xml: ht

Re: cxf rest service disappears with camel 2.8.0

2011-08-09 Thread Achim Nierbeck
excuse my latest mail, hit the wrong button :( 2011/8/9, Achim Nierbeck : > 2011/8/9, Mirko Caserta : >> Hi Willem, >> yes, I'm using the CXF servlet transport. >> >> Here is my web.xml: http://pastie.org/2343749 >> >> Thanks, Mirko. >> >> On Tue, Aug 9, 2011 at 6:14 AM, Willem Jiang >> wrote: >>

Re: cxf rest service disappears with camel 2.8.0

2011-08-09 Thread Achim Nierbeck
2011/8/9, Mirko Caserta : > Hi Willem, > yes, I'm using the CXF servlet transport. > > Here is my web.xml: http://pastie.org/2343749 > > Thanks, Mirko. > > On Tue, Aug 9, 2011 at 6:14 AM, Willem Jiang wrote: >> Hi Mirko, >> >> Thanks for reporting this. It is looks like the CXF bus is created >> d

Re: cxf rest service disappears with camel 2.8.0

2011-08-09 Thread Mirko Caserta
Hi Willem, yes, I'm using the CXF servlet transport. Here is my web.xml: http://pastie.org/2343749 Thanks, Mirko. On Tue, Aug 9, 2011 at 6:14 AM, Willem Jiang wrote: > Hi Mirko, > > Thanks for reporting this. It is looks like the CXF bus is created > differently between Camel > > When you impor

Re: cxf rest service disappears with camel 2.8.0

2011-08-08 Thread Willem Jiang
Hi Mirko, Thanks for reporting this. It is looks like the CXF bus is created differently between Camel When you import classpath:META-INF/cxf/cxf.xml in your application context, an new CXF bus will be wired with the server factory bean, BTW, I know you are deploying the application context

Re: cxf rest service disappears with camel 2.8.0

2011-08-08 Thread Mirko Caserta
Hi Willem, in preparing the test for a new issue I discovered that the problem is not at all camel related. For some reason, cxf is able to expose jaxws services in spring without having to declare: The same is not true for jaxrs services. Because I had removed the above import statement in my

Re: cxf rest service disappears with camel 2.8.0

2011-08-05 Thread Willem Jiang
Hi Mirko, Just one module is OK, I can switch the Camel version to reproduce the error. The test application context could be a camel route with some JAXRS endpoint that you said. On 8/6/11 12:04 AM, Mirko Caserta wrote: Okay, I can do that. I only have to think how to reproduce the problem

Re: cxf rest service disappears with camel 2.8.0

2011-08-05 Thread Mirko Caserta
Okay, I can do that. I only have to think how to reproduce the problem in a test. I'm afraid I'll have to provide a maven project with a couple modules, one which uses Camel 2.7.2 (that is supposed to work) and a specular one with Camel 2.8.0 which is supposed to fail... Does this sound right to

Re: cxf rest service disappears with camel 2.8.0

2011-08-05 Thread Willem Jiang
Hi Mirko, Can you create a simple test case and submit it to the Camel JIRA? It will be helpful to help us locate the issue. On 8/5/11 4:12 PM, Mirko Caserta wrote: Hi Willem, thanks for answering. On Fri, Aug 5, 2011 at 3:48 AM, Willem Jiang wrote: Camel 2.8.0 is using CXF 2.4.x instead CXF

Re: cxf rest service disappears with camel 2.8.0

2011-08-05 Thread Willem Jiang
Hi Mirko, Can you create a simple test case and submit it to the Camel JIRA? It will be helpful to help us locate the issue. On 8/5/11 4:12 PM, Mirko Caserta wrote: Hi Willem, thanks for answering. On Fri, Aug 5, 2011 at 3:48 AM, Willem Jiang wrote: Camel 2.8.0 is using CXF 2.4.x instead CXF

Re: cxf rest service disappears with camel 2.8.0

2011-08-05 Thread Mirko Caserta
Hi Willem, thanks for answering. On Fri, Aug 5, 2011 at 3:48 AM, Willem Jiang wrote: > Camel 2.8.0 is using CXF 2.4.x instead CXF 2.3.x. > Can you double check it ? I'm using CXF 2.4.1 in both cases. The funny thing is, CXF 2.4.1 with Camel 2.7.2 works fine. It's when I switch Camel to 2.8.0 tha

Re: cxf rest service disappears with camel 2.8.0

2011-08-04 Thread Willem Jiang
HI Mirko, Camel 2.8.0 is using CXF 2.4.x instead CXF 2.3.x. Can you double check it ? BTW, can you access the jaxrs server successfully when you using camel 2.8.0 ? On 8/4/11 11:26 PM, Mirko Caserta wrote: Hi there, I have a web app which exposes a cxf rest service via and two soap endpoint