Re: Restelt Client Internal Connector Error (1002)

2015-03-16 Thread Chirayu Desai
)
 at org.restlet.routing.Router.handle(Router.java:740)
 at org.restlet.routing.Filter.doHandle(Filter.java:159)
 at org.restlet.routing.Filter.handle(Filter.java:206)
 at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114)
 at org.restlet.Component.handle(Component.java:391)
 at org.restlet.Server.handle(Server.java:491)
 at org.restlet.engine.ServerHelper.handle(ServerHelper.java:74)
 at
 org.restlet.engine.http.HttpServerHelper.handle(HttpServerHelper.java:153)
 at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1031)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
 at
 org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)




 I am usin the org.restlet.ext.httpclient.HttpClientHelper connector and
 as I wrote eariler and client to server method call communication between
 restlet layers , with methods containting arguments say integer, string or
 even objects is not working for me. However i am able to configure the
 socket timeout manually through this.



 On Thu, Mar 12, 2015 at 8:54 PM, Thierry Templier-3 [via Restlet Discuss]
 [hidden email] http:///user/SendEmail.jtp?type=nodenode=7579356i=0
 wrote:

 Hello,

 For your information, I answered to your StackOverflow question (see
 http://stackoverflow.com/questions/28973184/restlet-client-internal-connector-error-1002/28975178#28975178)
 .

 Thierry
 Le 11 mars 2015 00:52, Jerome Louvel [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579354i=0 a écrit :

 If you need to stick with version 2.1, I recommend using the Apache
 HTTP Client extension (see socketTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/httpclient/HttpClientHelper.html

 or the Net HTTP Client extension (see readTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/net/HttpClientHelper.html

 Jerome



 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579354.html
  To unsubscribe from Restelt Client Internal Connector Error (1002), click
 here.
 NAML
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




 --
 -Regards,
 -Chirayu Desai

 --
 View this message in context: Re: Restelt Client Internal Connector
 Error (1002)
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579356.html
 Sent from the Restlet Discuss mailing list archive
 http://restlet-discuss.1400322.n2.nabble.com/ at Nabble.com.




 --
 *Thierry Boileau, Mr B*
 +1 (408) 387-3184 • [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579361i=1

 http://restlet.com/
 6 Rue Rose Dieng-Kuntz • Nantes, 44300 • France


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://restlet-discuss.1400322.n2.nabble.com

Re: Restelt Client Internal Connector Error (1002)

2015-03-15 Thread Chirayu Desai
)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)




I am usin the org.restlet.ext.httpclient.HttpClientHelper connector and as
I wrote eariler and client to server method call communication between
restlet layers , with methods containting arguments say integer, string or
even objects is not working for me. However i am able to configure the
socket timeout manually through this.



On Thu, Mar 12, 2015 at 8:54 PM, Thierry Templier-3 [via Restlet Discuss] 
ml-node+s1400322n7579354...@n2.nabble.com wrote:

 Hello,

 For your information, I answered to your StackOverflow question (see
 http://stackoverflow.com/questions/28973184/restlet-client-internal-connector-error-1002/28975178#28975178)
 .

 Thierry
 Le 11 mars 2015 00:52, Jerome Louvel [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579354i=0 a écrit :

 If you need to stick with version 2.1, I recommend using the Apache HTTP
 Client extension (see socketTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/httpclient/HttpClientHelper.html

 or the Net HTTP Client extension (see readTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/net/HttpClientHelper.html

 Jerome



 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579354.html
  To unsubscribe from Restelt Client Internal Connector Error (1002), click
 here
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=7579347code=Y2hpcmF5dUBwdXJwbGVkb2NzLmNvbXw3NTc5MzQ3fDIwOTYxNjc5MDU=
 .
 NAML
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




-- 
-Regards,
-Chirayu Desai




--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579356.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

Re: Restelt Client Internal Connector Error (1002)

2015-03-12 Thread Chirayu Desai
I am able to reslove the time out issue but using the org.restlet.ext.http
connector i am unable to send objects as method arguments from client to
server,and am getting illegal argument and null pointer exceptions.

On Wed, Mar 11, 2015 at 7:18 PM, Fabian Mandelbaum [via Restlet Discuss] 
ml-node+s1400322n757935...@n2.nabble.com wrote:

 Another possible solution with such requests, which may take LONG to
 process, is to have the server return HTTP 202 (Accepted) as soon as it's
 ready to process the request, and the client knows its request will be
 processed later.

 Of course, you may also need another server resource to query the status
 of such to be processed later requests.

 HTH


 On Tue, Mar 10, 2015 at 8:52 PM, Jerome Louvel [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579351i=0 wrote:

 If you need to stick with version 2.1, I recommend using the Apache HTTP
 Client extension (see socketTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/httpclient/HttpClientHelper.html

 or the Net HTTP Client extension (see readTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/net/HttpClientHelper.html

 Jerome


 On Tue, Mar 10, 2015 at 2:13 PM, Chirayu Desai [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579351i=1 wrote:

 No the request processing at server may or maynot take more than 1
 minute, which means that the server may not necessaryly respond before
 timeout.

 On Wed, Mar 11, 2015 at 2:37 AM, Jerome Louvel-3 [via Restlet Discuss] 
 [hidden
 email] http:///user/SendEmail.jtp?type=nodenode=7579349i=0 wrote:

 Hello Chirayu,

 Is your server supposed to answer before the timeout observed?
 Also, are you be able to upgrade to version 2.3.1 (stable)?

 Best regards,
 Jerome


 On Tue, Mar 10, 2015 at 1:04 PM, Chirayu Desai [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579348i=0 wrote:

 I am using a restlet 2.1 client sever based architecture, my client
 times out
 within 1 minute after sending the request. and I get the following
 exception
 :
 Internal Connector Error (1002) - The calling thread timed out while
 waiting
 for a response to unblock it.
 at
 org.restlet.resource.ClientResource$1.invoke(ClientResource.java:1663)
 at com.sun.proxy.$Proxy17.getTaskList(Unknown Source)

 My code is as below :

 import org.restlet.resource.ClientResource;

 *ClientResource cr = new ClientResource(uri);
 MyResource resource= cr.wrap(MyResource .class);
 updateStatus =
 resource.updateData(Parameter);*

 how should I configure my client resource to avoid timeout ?



 --
 View this message in context:
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347.html
 Sent from the Restlet Discuss mailing list archive at Nabble.com.

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3104395




 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579348.html
  To unsubscribe from Restelt Client Internal Connector Error (1002), click
 here.
 NAML
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




 --
 -Regards,
 -Chirayu Desai

 --
 View this message in context: Re: Restelt Client Internal Connector
 Error (1002)
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579349.html

 Sent from the Restlet Discuss mailing list archive
 http://restlet-discuss.1400322.n2.nabble.com/ at Nabble.com.





 --
 Fabián Mandelbaum
 IS Engineer


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579351.html
  To unsubscribe from Restelt Client Internal Connector Error (1002), click
 here
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=7579347code=Y2hpcmF5dUBwdXJwbGVkb2NzLmNvbXw3NTc5MzQ3fDIwOTYxNjc5MDU=
 .
 NAML
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace

Re: Restelt Client Internal Connector Error (1002)

2015-03-12 Thread Thierry Boileau
Hello,

but using the org.restlet.ext.http connector i am unable to send objects
as method arguments from client to server,
Could you give a little bit more details on how you send objects, and
perhaps better could you show some sample code?

and am getting illegal argument and null pointer exceptions.
are you issuing such exceptions on client side or server side?
Do you have any stack trace?

Best regards,
Thierry Boileau




and am getting illegal argument and null pointer exceptions.

2015-03-12 9:28 GMT+01:00 Chirayu Desai chir...@purpledocs.com:

 I am able to reslove the time out issue but using the org.restlet.ext.http
 connector i am unable to send objects as method arguments from client to
 server,and am getting illegal argument and null pointer exceptions.

 On Wed, Mar 11, 2015 at 7:18 PM, Fabian Mandelbaum [via Restlet Discuss] 
 [hidden
 email] http:///user/SendEmail.jtp?type=nodenode=7579352i=0 wrote:

 Another possible solution with such requests, which may take LONG to
 process, is to have the server return HTTP 202 (Accepted) as soon as it's
 ready to process the request, and the client knows its request will be
 processed later.

 Of course, you may also need another server resource to query the status
 of such to be processed later requests.

 HTH


 On Tue, Mar 10, 2015 at 8:52 PM, Jerome Louvel [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579351i=0 wrote:

 If you need to stick with version 2.1, I recommend using the Apache HTTP
 Client extension (see socketTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/httpclient/HttpClientHelper.html

 or the Net HTTP Client extension (see readTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/net/HttpClientHelper.html

 Jerome


 On Tue, Mar 10, 2015 at 2:13 PM, Chirayu Desai [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579351i=1 wrote:

 No the request processing at server may or maynot take more than 1
 minute, which means that the server may not necessaryly respond before
 timeout.

 On Wed, Mar 11, 2015 at 2:37 AM, Jerome Louvel-3 [via Restlet Discuss]
 [hidden email] http:///user/SendEmail.jtp?type=nodenode=7579349i=0
  wrote:

 Hello Chirayu,

 Is your server supposed to answer before the timeout observed?
 Also, are you be able to upgrade to version 2.3.1 (stable)?

 Best regards,
 Jerome


 On Tue, Mar 10, 2015 at 1:04 PM, Chirayu Desai [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579348i=0 wrote:

 I am using a restlet 2.1 client sever based architecture, my client
 times out
 within 1 minute after sending the request. and I get the following
 exception
 :
 Internal Connector Error (1002) - The calling thread timed out while
 waiting
 for a response to unblock it.
 at
 org.restlet.resource.ClientResource$1.invoke(ClientResource.java:1663)
 at com.sun.proxy.$Proxy17.getTaskList(Unknown Source)

 My code is as below :

 import org.restlet.resource.ClientResource;

 *ClientResource cr = new ClientResource(uri);
 MyResource resource= cr.wrap(MyResource .class);
 updateStatus =
 resource.updateData(Parameter);*

 how should I configure my client resource to avoid timeout ?



 --
 View this message in context:
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347.html
 Sent from the Restlet Discuss mailing list archive at Nabble.com.

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3104395




 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579348.html
  To unsubscribe from Restelt Client Internal Connector Error (1002), click
 here.
 NAML
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




 --
 -Regards,
 -Chirayu Desai

 --
 View this message in context: Re: Restelt Client Internal Connector
 Error (1002)
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579349.html

 Sent from the Restlet Discuss mailing list archive
 http://restlet-discuss.1400322.n2.nabble.com/ at Nabble.com.





 --
 Fabián Mandelbaum
 IS Engineer


 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://restlet

Re: Restelt Client Internal Connector Error (1002)

2015-03-12 Thread Thierry Templier
Hello,

For your information, I answered to your StackOverflow question (see
http://stackoverflow.com/questions/28973184/restlet-client-internal-connector-error-1002/28975178#28975178)
.

Thierry
Le 11 mars 2015 00:52, Jerome Louvel jlou...@restlet.com a écrit :

 If you need to stick with version 2.1, I recommend using the Apache HTTP
 Client extension (see socketTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/httpclient/HttpClientHelper.html

 or the Net HTTP Client extension (see readTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/net/HttpClientHelper.html

 Jerome


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

Re: Restelt Client Internal Connector Error (1002)

2015-03-11 Thread Fabian Mandelbaum
Another possible solution with such requests, which may take LONG to
process, is to have the server return HTTP 202 (Accepted) as soon as it's
ready to process the request, and the client knows its request will be
processed later.

Of course, you may also need another server resource to query the status of
such to be processed later requests.

HTH


On Tue, Mar 10, 2015 at 8:52 PM, Jerome Louvel jlou...@restlet.com wrote:

 If you need to stick with version 2.1, I recommend using the Apache HTTP
 Client extension (see socketTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/httpclient/HttpClientHelper.html

 or the Net HTTP Client extension (see readTimeout parameter):

 http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/net/HttpClientHelper.html

 Jerome


 On Tue, Mar 10, 2015 at 2:13 PM, Chirayu Desai chir...@purpledocs.com
 wrote:

 No the request processing at server may or maynot take more than 1
 minute, which means that the server may not necessaryly respond before
 timeout.

 On Wed, Mar 11, 2015 at 2:37 AM, Jerome Louvel-3 [via Restlet Discuss] 
 [hidden
 email] http:///user/SendEmail.jtp?type=nodenode=7579349i=0 wrote:

 Hello Chirayu,

 Is your server supposed to answer before the timeout observed?
 Also, are you be able to upgrade to version 2.3.1 (stable)?

 Best regards,
 Jerome


 On Tue, Mar 10, 2015 at 1:04 PM, Chirayu Desai [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579348i=0 wrote:

 I am using a restlet 2.1 client sever based architecture, my client
 times out
 within 1 minute after sending the request. and I get the following
 exception
 :
 Internal Connector Error (1002) - The calling thread timed out while
 waiting
 for a response to unblock it.
 at
 org.restlet.resource.ClientResource$1.invoke(ClientResource.java:1663)
 at com.sun.proxy.$Proxy17.getTaskList(Unknown Source)

 My code is as below :

 import org.restlet.resource.ClientResource;

 *ClientResource cr = new ClientResource(uri);
 MyResource resource= cr.wrap(MyResource .class);
 updateStatus =
 resource.updateData(Parameter);*

 how should I configure my client resource to avoid timeout ?



 --
 View this message in context:
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347.html
 Sent from the Restlet Discuss mailing list archive at Nabble.com.

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3104395




 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579348.html
  To unsubscribe from Restelt Client Internal Connector Error (1002), click
 here.
 NAML
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




 --
 -Regards,
 -Chirayu Desai

 --
 View this message in context: Re: Restelt Client Internal Connector
 Error (1002)
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579349.html

 Sent from the Restlet Discuss mailing list archive
 http://restlet-discuss.1400322.n2.nabble.com/ at Nabble.com.





-- 
Fabián Mandelbaum
IS Engineer

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

Re: Restelt Client Internal Connector Error (1002)

2015-03-10 Thread Jerome Louvel
Hello Chirayu,

Is your server supposed to answer before the timeout observed?
Also, are you be able to upgrade to version 2.3.1 (stable)?

Best regards,
Jerome


On Tue, Mar 10, 2015 at 1:04 PM, Chirayu Desai chir...@purpledocs.com
wrote:

 I am using a restlet 2.1 client sever based architecture, my client times
 out
 within 1 minute after sending the request. and I get the following
 exception
 :
 Internal Connector Error (1002) - The calling thread timed out while
 waiting
 for a response to unblock it.
 at
 org.restlet.resource.ClientResource$1.invoke(ClientResource.java:1663)
 at com.sun.proxy.$Proxy17.getTaskList(Unknown Source)

 My code is as below :

 import org.restlet.resource.ClientResource;

 *ClientResource cr = new ClientResource(uri);
 MyResource resource= cr.wrap(MyResource .class);
 updateStatus =
 resource.updateData(Parameter);*

 how should I configure my client resource to avoid timeout ?



 --
 View this message in context:
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347.html
 Sent from the Restlet Discuss mailing list archive at Nabble.com.

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3104395


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

Re: Restelt Client Internal Connector Error (1002)

2015-03-10 Thread Chirayu Desai
No the request processing at server may or maynot take more than 1 minute,
which means that the server may not necessaryly respond before timeout.

On Wed, Mar 11, 2015 at 2:37 AM, Jerome Louvel-3 [via Restlet Discuss] 
ml-node+s1400322n757934...@n2.nabble.com wrote:

 Hello Chirayu,

 Is your server supposed to answer before the timeout observed?
 Also, are you be able to upgrade to version 2.3.1 (stable)?

 Best regards,
 Jerome


 On Tue, Mar 10, 2015 at 1:04 PM, Chirayu Desai [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579348i=0 wrote:

 I am using a restlet 2.1 client sever based architecture, my client times
 out
 within 1 minute after sending the request. and I get the following
 exception
 :
 Internal Connector Error (1002) - The calling thread timed out while
 waiting
 for a response to unblock it.
 at
 org.restlet.resource.ClientResource$1.invoke(ClientResource.java:1663)
 at com.sun.proxy.$Proxy17.getTaskList(Unknown Source)

 My code is as below :

 import org.restlet.resource.ClientResource;

 *ClientResource cr = new ClientResource(uri);
 MyResource resource= cr.wrap(MyResource .class);
 updateStatus =
 resource.updateData(Parameter);*

 how should I configure my client resource to avoid timeout ?



 --
 View this message in context:
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347.html
 Sent from the Restlet Discuss mailing list archive at Nabble.com.

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3104395




 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579348.html
  To unsubscribe from Restelt Client Internal Connector Error (1002), click
 here
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=7579347code=Y2hpcmF5dUBwdXJwbGVkb2NzLmNvbXw3NTc5MzQ3fDIwOTYxNjc5MDU=
 .
 NAML
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




-- 
-Regards,
-Chirayu Desai




--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579349.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

Restelt Client Internal Connector Error (1002)

2015-03-10 Thread Chirayu Desai
I am using a restlet 2.1 client sever based architecture, my client times out
within 1 minute after sending the request. and I get the following exception
:
Internal Connector Error (1002) - The calling thread timed out while waiting
for a response to unblock it.
at 
org.restlet.resource.ClientResource$1.invoke(ClientResource.java:1663)
at com.sun.proxy.$Proxy17.getTaskList(Unknown Source)

My code is as below :

import org.restlet.resource.ClientResource;

*ClientResource cr = new ClientResource(uri);
MyResource resource= cr.wrap(MyResource .class);
updateStatus = resource.updateData(Parameter);*

how should I configure my client resource to avoid timeout ?



--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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


Re: Restelt Client Internal Connector Error (1002)

2015-03-10 Thread Jerome Louvel
If you need to stick with version 2.1, I recommend using the Apache HTTP
Client extension (see socketTimeout parameter):
http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/httpclient/HttpClientHelper.html

or the Net HTTP Client extension (see readTimeout parameter):
http://restlet.com/technical-resources/restlet-framework/javadocs/2.1/jee/ext/org/restlet/ext/net/HttpClientHelper.html

Jerome


On Tue, Mar 10, 2015 at 2:13 PM, Chirayu Desai chir...@purpledocs.com
wrote:

 No the request processing at server may or maynot take more than 1 minute,
 which means that the server may not necessaryly respond before timeout.

 On Wed, Mar 11, 2015 at 2:37 AM, Jerome Louvel-3 [via Restlet Discuss] 
 [hidden
 email] http:///user/SendEmail.jtp?type=nodenode=7579349i=0 wrote:

 Hello Chirayu,

 Is your server supposed to answer before the timeout observed?
 Also, are you be able to upgrade to version 2.3.1 (stable)?

 Best regards,
 Jerome


 On Tue, Mar 10, 2015 at 1:04 PM, Chirayu Desai [hidden email]
 http:///user/SendEmail.jtp?type=nodenode=7579348i=0 wrote:

 I am using a restlet 2.1 client sever based architecture, my client
 times out
 within 1 minute after sending the request. and I get the following
 exception
 :
 Internal Connector Error (1002) - The calling thread timed out while
 waiting
 for a response to unblock it.
 at
 org.restlet.resource.ClientResource$1.invoke(ClientResource.java:1663)
 at com.sun.proxy.$Proxy17.getTaskList(Unknown Source)

 My code is as below :

 import org.restlet.resource.ClientResource;

 *ClientResource cr = new ClientResource(uri);
 MyResource resource= cr.wrap(MyResource .class);
 updateStatus =
 resource.updateData(Parameter);*

 how should I configure my client resource to avoid timeout ?



 --
 View this message in context:
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347.html
 Sent from the Restlet Discuss mailing list archive at Nabble.com.

 --

 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=3104395




 --
  If you reply to this email, your message will be added to the
 discussion below:

 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579348.html
  To unsubscribe from Restelt Client Internal Connector Error (1002), click
 here.
 NAML
 http://restlet-discuss.1400322.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




 --
 -Regards,
 -Chirayu Desai

 --
 View this message in context: Re: Restelt Client Internal Connector Error
 (1002)
 http://restlet-discuss.1400322.n2.nabble.com/Restelt-Client-Internal-Connector-Error-1002-tp7579347p7579349.html

 Sent from the Restlet Discuss mailing list archive
 http://restlet-discuss.1400322.n2.nabble.com/ at Nabble.com.


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