Re: camel-jetty and loadbalancing

2009-12-14 Thread Charles Moulliard
t;> >>>>>> >>>>>> org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:153) >>>>>> at >>>>>> >>>>>> >>>>>> org.apache.camel.processor

Re: camel-jetty and loadbalancing

2009-12-14 Thread Charles Moulliard
>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363) >>>>> at >>>>> >>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) >>>>> at >>>>> >>

Re: camel-jetty and loadbalancing

2009-12-14 Thread Charles Moulliard
t;>> >>>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) >>>> >>>> >>>> Log >>>> >>>> 15:50:52,200 | INFO | 4454...@qtp16-0 | Tracer >>>> | >>>> rg.apache.camel.proce

Re: camel-jetty and loadbalancing

2009-12-14 Thread Willem Jiang
n you want to listen for http traffic you should always use jetty:. Cheers, Ade - Original Message - From: Charles Moulliard To: users@camel.apache.org Sent: Fri Dec 11 09:43:32 2009 Subject: Re: camel-jetty and loadbalancing We progress. With the following con

Re: camel-jetty and loadbalancing

2009-12-14 Thread Charles Moulliard
cept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7, Content-Type=null, >> CamelHttpCharacterEncoding=null, CamelHttpUrl= >> http://localhost:8181/reportservice/incidents, User-Agent=Mozilla/5.0 >> (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 >> Firefox/3.5.5, CamelHttpMet

Re: camel-jetty and loadbalancing

2009-12-14 Thread Willem Jiang
ld always use jetty:. Cheers, Ade - Original Message - From: Charles Moulliard To: users@camel.apache.org Sent: Fri Dec 11 09:43:32 2009 Subject: Re: camel-jetty and loadbalancing We progress. With the following config, the HTTP request ( http://localhost:8181/reportservice/incident

Re: camel-jetty and loadbalancing

2009-12-11 Thread Charles Moulliard
t; listen for http traffic you should always use jetty:. > > Cheers, > Ade > > - Original Message - > From: Charles Moulliard > To: users@camel.apache.org > Sent: Fri Dec 11 09:43:32 2009 > Subject: Re: camel-jetty and loadbalancing > > We progress. > >

Re: camel-jetty and loadbalancing

2009-12-11 Thread Adrian Trenaman
In the second route, you should use jetty: in the uri! When you want to listen for http traffic you should always use jetty:. Cheers, Ade - Original Message - From: Charles Moulliard To: users@camel.apache.org Sent: Fri Dec 11 09:43:32 2009 Subject: Re: camel-jetty and loadbalancing

Re: camel-jetty and loadbalancing

2009-12-11 Thread Charles Moulliard
We progress. With the following config, the HTTP request ( http://localhost:8181/reportservice/incidents/) is able to reach the server 8282 but it fails to answer and generate error java.lang.IllegalArgumentException: host parameter is null at org.apache.commons.httpclient.HttpConnection.(Htt

Re: camel-jetty and loadbalancing

2009-12-11 Thread Willem Jiang
Hi, I think it is better now. Please keep me posted if you have something wrong. have a nice weekend :) Willem Charles Moulliard wrote: I try to use loadbalancing with camel-jetty but I'm not quite sure that what I do is correct. Is this configuration correct ? http://l

Re: camel-jetty and loadbalancing

2009-12-11 Thread Adrian Trenaman
You should use camel-http instead of -jetty for your http producer endpoints! I.e. Start your uri for the producers with http:// rather than jetty:http:// HTH, Ade - Original Message - From: Charles Moulliard To: users@camel.apache.org Sent: Fri Dec 11 09:13:35 2009 Subject: camel-j