camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapdur <tapdu...@gmail.com>
Subject Re: Restlet in a webapp
Date Tue, 09 Feb 2010 09:31:58 GMT

hi willem

i try but in loss

2010-02-09 10:14:29,131 : DefaultPollingConsumerPollStrategy.rollback :
Consumer
Consumer[http://localhost:9002/poc.camel.enabler-0.0.1-SNAPSHOT/greeting]
could not poll endpoint:
http://localhost:9002/poc.camel.enabler-0.0.1-SNAPSHOT/greeting caused by:
java.net.ConnectException: Connection refused: connect
org.apache.camel.RuntimeCamelException: java.net.ConnectException:
Connection refused: connect

i think in a srvlet u can't listen to an other port...i am still 
investigating

Bruno

willem.jiang wrote:
> 
> Can you try change the camel-restlet's endpoint uri to use other port ?
> 
> Willem
> 
> Tapdur wrote:
>> hi i am trying to use camel-restlet component in a jonas/tomcat j2ee.
>> i am getting mad with restlet depencies, does someone has alreday did
>> that ?
>> 
>> i use dependecies org.restlet and org.restlet.ext.servlet (and declare
>> the
>> RestletServlet in the web.xml)
>> how to integrate Restlet servlet to camel ? via spring ?
>> 
>> 
>> but at deploy time i always have the camel error msg : adress already
>> bind
>> in JVM.
>> 
>> 
>> Thx
>> Bruno
>> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Restlet-in-a-webapp-tp27502117p27512550.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message