e client request :
>>>> POST http://127.0.0.1:9090/poc.camel.enabler-0.0.1-SNAPSHOT
>>>>
>>>>Tapdur
>>>>
>>>>
>>>>
>>>> and it ... failed : 404
>>>>
>>>> 2010-02-09 17:53:34,737 : StreamServerHelper.start : Starting the
>>>> internal
>>>> HTTP server
>>>> 2010-02-09 17:53:34,768 : DefaultCamelContext.start : Apache Camel
>>>> 2.1.0
>>>> (CamelContext:camel) started
>>>> 2010-02-09 17:53:34,784 : ContextLoader.initWebApplicationContext :
>>>> Root
>>>> WebApplicationContext: initialization completed in 6795 ms
>>>> 2010-02-09 17:53:34,784 : AbsJWebContainerServiceImpl.registerWar : War
>>>> /C:/JOnAS-4.10.3/webapps/poc.camel.enabler-0.0.1-SNAPSHOT.war available
>>>> at
>>>> the context /poc.camel.enabler-0.0.1-SNAPSHOT.
>>>> 2010-02-09 17:53:54,404 : LogFilter.afterHandle : 2010-02-09 17:53:54
>>>> 127.0.0.1 - - 9090POST/ - 404 330
>>>> 35 16 http://127.0.0.1:9090 Jakarta
>>>> Commons-HttpClient/3.1 -
>>>>
>>>>
>>>> so my question is how camel/restlet component configure the restlet
>>>> engine
>>>> to route toward him ?
>>>> is it a restlet engine or a camel-restlet issue ?
>>>>
>>>> Thx
>>>>
>>>> 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-tp27502117p27534458.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I think you need to update your client's url.
according to the log, it looks like the HttpClient still use the path "/".
Willem
Tapdur wrote:
an other step it works ;-) ... and failed ;-(
thx willem, i am near but i still have a problem.
when i declare in the spring-bean.xml the route like th
ttp://127.0.0.1:9090 Jakarta
>> Commons-HttpClient/3.1 -
>>
>>
>> so my question is how camel/restlet component configure the restlet
>> engine
>> to route toward him ?
>> is it a restlet engine or a camel-restlet issue ?
>>
>> Thx
>>
>> 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-tp27502117p27530675.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You didn't set the response message for the client.
Please check out the camel-restlet unit tests[1] for the working examples.
[1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet
Willem
Tapdur wrote:
hi willem
i get one ste
adress already
>> bind
>> in JVM.
>>
>>
>> Thx
>> Bruno
>>
>
>
>
--
View this message in context:
http://old.nabble.com/Restlet-in-a-webapp-tp27502117p27518974.html
Sent from the Camel - Users mailing list archive at Nabble.com.
rg.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.
&
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.serv
? 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-tp27502117p27502117.html
Sent from the Camel - Users mailing list archive at Nabble.com.