Hello Sasi,

I wonder if the client connector has been correctly defined (see here
http://www.restlet.org/documentation/2.1/jee/ext/org/restlet/ext/servlet/ServerServlet.html
).
In the web.xml file, you should see the configuration of a
"org.restlet.clients" parameter:

<init-param>
  <param-name>org.restlet.clients</param-name>
  <param-value>HTTP</param-value>
</init-param>

It contains the list of protocols supported by the host component.
Otherwise, any kind of sample source code is welcomed.

Best regards,
Thierry Boileau


Hello****
>
> ** **
>
> *The parent context doesn't have a client dispatcher available. Unable to
> handle call.*
>
>
>
> ** **
>
> ** **
>
> Refererence:
>
> Version: 2.1RC2, 2.1RC5 & 2.1RC6
>
> Context:  I use Restlet server and client in GAE environment
>
> When exception happens: After posting when I read response using
> Representation it happens.****
>
> ** **
>
> JacksonRepresentation<NetworkProductOrder> productOrderRep = new
> JacksonRepresentation<NetworkProductOrder>(output,
> NetworkProductOrder.class);
> productOrder = productOrderRep.getObject(); ****
>
> ** **
>
>
> *Exception message*
> org.restlet.engine.util.ChildClientDispatcher parentHandle: The parent
> context doesn't have a client dispatcher available. Unable to handle call.
>  ****
>
> ** **
>
> *Conditionally Working:*
>
> ** **
>
> If I comment
>
> <servlet> and <servlet-mapping> element for restlet in web.xml, it works.
> ( meaning client works fine, natually no restlet server )****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> My post in “Restlet Discuss” is given below****
>
> ** **
>
>
> http://restlet-discuss.1400322.n2.nabble.com/The-parent-context-doesn-t-have-a-client-dispatcher-available-Unable-to-handle-call-td7578291.html
> ****
>
> ** **
>
> Thanks****
>
> Sasi Marian****
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3002129

Reply via email to