Re: problem returning a response status

2009-11-11 Thread Patrizio Munzi
.com         De : Patrizio Munzi [mailto:patrizio.mu...@eris4.com] Envoyé : vendredi 6 novembre 2009 17:33 À : discuss@restlet.tigris.org Objet : Re: problem returning a response status   Up! Patrizio Munzi w

Re: problem returning a response status

2009-10-27 Thread Patrizio Munzi
Jerome, never experienced this problem...?? Thanks Patrizio Munzi wrote: Hi everybody, I think there's a bug or at least something strange in ResourceException management. The getDescription method works only if I run my application in a stand-alone server. It instead doesn'

Re: HTTP_BASIC authentication doesn't work in GAE

2009-10-22 Thread Patrizio Munzi
ached a quick code snippet that he wrote based on your code sample.  Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com     *De :* Patrizio Munzi [mailto:patrizio.mu...@eris4.

Re: HTTP_BASIC authentication doesn't work in GAE

2009-10-21 Thread Patrizio Munzi
, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com         De : Patrizio Munzi

Re: HTTP_BASIC authentication doesn't work in GAE

2009-10-20 Thread Patrizio Munzi
Hi Jerome, did you miss my last mail..?? I'm having trouble attaching the authenticator with the new snapshot. Regards Patrizio Munzi wrote: Hi Jerome, I'm trying to test latest snapshot but I'm not able anymore to attach an authenticator to my router. Using the

Re: HTTP_BASIC authentication doesn't work in GAE

2009-10-15 Thread Patrizio Munzi
JAAS dependencies from Restlet Core to a JAAS extension. This should solve your issue. Could you test with a recent 2.0 snapshot and let us know? Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelio

Re: problem returning a response status

2009-09-29 Thread Patrizio Munzi
May I have a feedback at least...?? Please. Patrizio Munzi wrote: Isn't anybody interested in this?? Restlet developers...?? I think it should be solved.. Thanks Patrizio Munzi wrote: Hi everybody, I think there's a bug or at least something

Re: problem returning a response status

2009-09-15 Thread Patrizio Munzi
Isn't anybody interested in this?? Restlet developers...?? I think it should be solved.. Thanks Patrizio Munzi wrote: Hi everybody, I think there's a bug or at least something strange in ResourceException management. The getDescription method works only if I run my applic

Re: HTTP_BASIC authentication doesn't work in GAE

2009-09-11 Thread Patrizio Munzi
a bug?? Thanks -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2392516 -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2393621 -- Patrizio Munzi Product

Re: problem returning a response status

2009-09-10 Thread Patrizio Munzi
s.org Objet : Re: problem returning a response status Hello Patrizio and Laurent, you're right Laurent. I notice also there is a lack of documentation about this that needs to be addressed. best regards, Thierry Boileau Hello, Patrizio Munzi a écrit : I'm tryi

Re: HTTP_BASIC authentication doesn't work in GAE

2009-09-10 Thread Patrizio Munzi
has nobody got any idea on how work around this?? Pleeease...! Patrizio Munzi wrote: Hi everybody, I think I've found a problem of Restlet Authentication mechanism with GAE. I have got this simple guard: -- public Restlet createRoot() { // Cre

HTTP_BASIC authentication doesn't work in GAE

2009-09-08 Thread Patrizio Munzi
Hi everybody, I think I've found a problem of Restlet Authentication mechanism with GAE. I have got this simple guard: -- public Restlet createRoot() { // Create a router Restlet that defines routes. Router router = new Router(getContext());

RE: problem returning a response status

2009-08-07 Thread Patrizio Munzi
I already tried that way, but it didn't work...! :-( Any other ideas?? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2381311

RE: problem returning a response status

2009-08-07 Thread Patrizio Munzi
Of course it would be better being able to threw the exception till the client, but if I'm not wrong that's not possible, is it?? Opinions appreciated...!!! Thanks -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23812

problem returning a response status

2009-08-07 Thread Patrizio Munzi
Hi everybody, I'm trying to make work the following simple exception handling. I just want to return the status specified. The problem is that client side I cannot retrieve nothing, neither the exception or the exception message. I'm surely doing it wrongly, but I haven't find any written explan

RE: Re: Restlet HttpClient in GAE

2009-08-06 Thread Patrizio Munzi
Here's the exception I got when using the Apache HttpClient in GAE: Caused by: java.security.Access​ControlException: access denied (java.lang.RuntimePermission modifyThreadGroup) at java.security.Access​ControlContext.check​Permission(Unknown Source) at java.security

RE: Re: Restlet HttpClient in GAE

2009-08-06 Thread Patrizio Munzi
Thank you! By the way, the Apache HttpClient doesn't work at all, but there seems to be a bigger mess in there. Looks like it plays with threads and thread groups which is not allowed in GAE. Any feedbacks??? -- http://restlet.tigris.org/ds/v

RE: Re: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-08-06 Thread Patrizio Munzi
Ok, sorry for bothering you... What about my "technical" posts??? Thanks -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2380769

RE: Restlet HttpClient in GAE

2009-08-06 Thread Patrizio Munzi
I posted on GAE mailing list and this problem resulted to be a their bug. However I looked into restlet code and I see that the ​HttpUrlConnectionCal​l.getResponseHeaders​ method relies on URLConnection.getHeaderField(int) and getHeaderFieldKey(int) returning null if the argument value is greate

RE: Restlet HttpClient in GAE

2009-08-06 Thread Patrizio Munzi
Hi again, I'm writing this post just to summarize modifications needed in restel.gae HttpClient in order to work properly. 1) The first modification I think is needed is on: org.restlet.ext.net.​HttpUrlConnectionCal​l constructor in org.restlet.gae.jar package: and consist in commenting this l

RE: Internal Connector Error (1002) - allowUserInteraction is not supported.

2009-08-06 Thread Patrizio Munzi
Hi, I did two post about this problem, with a solution in second post. However my posts haven't been shown yet and nobody answered. Could someone help me in this...?? Thanks -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMes

Restlet HttpClient in GAE

2009-08-06 Thread Patrizio Munzi
Hi everybody, as I already posted in this mailing list I'm trying to run a Restlet client in GAE. After having solved a first problem (see my other post) I'm facing this other exception: java.util.NoSuchElementException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry