RE: Possible GAE Client issue.

2009-06-30 Thread Matt
Thanks for your response. Bug report added.

Cheers,
Matt


jlouvel wrote:
 
 Hi guys,
 
 By default, we leverage the HttpURLConnection class which has been
 reimplemented on top of URLFetcher so this should work.
 
 Thierry will finish his work on automated Restlet editions next week or so
 and we'll be able to resolve such issue more quickly and precisely.
 
 For now, I suggest to enter a bug report.
 
 Best regards,
 Jerome Louvel
 --
 Restlet ~ Founder and Lead developer ~ http://www.restlet.org
 Noelios Technologies ~ Co-founder ~ http://www.noelios.com
 
 
 -Message d'origine-
 De : news [mailto:n...@ger.gmane.org] De la part de Philippe Marschall
 Envoyé : vendredi 26 juin 2009 07:14
 À : discuss@restlet.tigris.org
 Objet : Re: Possible GAE Client issue.
 
 Matt wrote:
 Hi there,
 
 I'm getting the following error whenever I attempt to use the client
 class
 from within the GAE.
 
 Client client = new Client(Protocol.HTTP);
 Response response = client.get(http://www.google.com;);
 
 Internal Connector Error (1002) - access denied
 (java.net.SocketPermission
 www.google.com resolve)
 
 NB: I'm not using anything other than the default provided by restlet
 i.e.
 I'm not using apache's HttpClient.
 
 I've updated the gae jar to be the latest snapshot as of yesterday but
 I'm
 still getting this problem.
 
 Any suggestions? Or is it a potential bug? 
 
 You're not allowed to open sockets on GAE/J.
 
 Cheers
 Philippe
 
 --
 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=23655
 93
 
 --
 http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2366277
 
 

-- 
View this message in context: 
http://n2.nabble.com/Possible-GAE-Client-issue.-tp3151643p3185766.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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


RE: Possible GAE Client issue.

2009-06-29 Thread Jerome Louvel
Hi guys,

By default, we leverage the HttpURLConnection class which has been
reimplemented on top of URLFetcher so this should work.

Thierry will finish his work on automated Restlet editions next week or so
and we'll be able to resolve such issue more quickly and precisely.

For now, I suggest to enter a bug report.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-Message d'origine-
De : news [mailto:n...@ger.gmane.org] De la part de Philippe Marschall
Envoyé : vendredi 26 juin 2009 07:14
À : discuss@restlet.tigris.org
Objet : Re: Possible GAE Client issue.

Matt wrote:
 Hi there,
 
 I'm getting the following error whenever I attempt to use the client class
 from within the GAE.
 
 Client client = new Client(Protocol.HTTP);
 Response response = client.get(http://www.google.com;);
 
 Internal Connector Error (1002) - access denied (java.net.SocketPermission
 www.google.com resolve)
 
 NB: I'm not using anything other than the default provided by restlet i.e.
 I'm not using apache's HttpClient.
 
 I've updated the gae jar to be the latest snapshot as of yesterday but I'm
 still getting this problem.
 
 Any suggestions? Or is it a potential bug? 

You're not allowed to open sockets on GAE/J.

Cheers
Philippe

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

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