RE: Embedded Jetty

2010-09-14 Thread webpost
Please ignore. Sorry for the duplicate post (and html tags). -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2658876

Re: Broken pipe / Unexpected end of file from server Problem

2010-09-14 Thread Timothy Aanerud
I end up switching HTTP connectors to solve my problem. In my scenario I have client application running on Fedora using restlet using the Apache HTTP connector that talks to a restlet server running on Ubuntu using the Grizzly HTTP connector. The conditions you are describing are match what I w

Pls delete: Hierarchical data to URL mapping question

2010-09-14 Thread Giannis Ntzegkoutanis
Please delete my previous message "Hierarchical data to URL mapping question" The problem was in: remainingPart.split("?"); Changed to: remainingPart.split("\\?"); This is what you get when you program for 10+ hours... Sorry for the unneeded post -

RE: [https netty]netty connector answering to only one request

2010-09-14 Thread Jerome Louvel
Hi Laurent, Thanks for the report and the test application. I've just fixed the bug in Netty HTTPS connector preventing the handling of several connections, persistent connections and chunked encoding. Netty has also been updated to version 3.2.2. Best regards, Jerome -- Restlet ~ Founder and

RE: Restlet + GAE Security Exception !!

2010-09-14 Thread Jerome Louvel
Hi Thangavel, Since your mail the engine classloader has been reworked and doesn't rely on the system classloader. You shouldn't get this exception anymore. Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~ http://www.noelios.com --

Subtle hiding of allowed methods in case of a 404

2010-09-14 Thread Marc Portier
A bit of nit-picking maybe. With the new ServerResource the updateAllowedMethods is not called if a isExists() returns false. The use case is for OPTIONS on a /whatever/non-existing-yet It used to return a 404 Not Found in combo with listing PUT as a valid Allow: method to invite the client to

RE: Maven distribution problem

2010-09-14 Thread Jerome Louvel
Hi Karel, Thanks for the suggestion to use classifiers, that sounds appropriate for Restlet editions. I entered a RFE: http://restlet.tigris.org/issues/show_bug.cgi?id=1182 However, the current mechanisms ensures that all extensions have a separate artifact for each edition, based on the parent

RE: ClientResource leaves inactive thread

2010-09-14 Thread Jerome Louvel
Hi Tim, In the upcoming HTTP/NIO internal connectors for version 2.1, I’ve made the thread pool fully customizable. See the org.restlet.engine.nio. BaseHelper class for more details. Currently in Restlet incubator but soon to be moved to SVN trunk. * controllerDaemon * boolean * true (

RE: Directory and FTP

2010-09-14 Thread Jerome Louvel
Hi Jean-Christophe, I agree, this would be a nice enhancement and entered a RFE : http://restlet.tigris.org/issues/show_bug.cgi?id=1183 Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~

RE: Very slow file serving

2010-09-14 Thread Jerome Louvel
Hi Richard, Which connector are you using and version of Restlet? What is the response time when you don't add the ZipOutputStream wrapper? Did you try leveraging the org.restlet.engine.application.EncodeRepresentation class? Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http:

RE: Correct way to use android ClientResource

2010-09-14 Thread Jerome Louvel
Hi Chris, First, the current internal HTTP client in 2.0 isn't optimized to reduce thread usage. We are fixing this design issue in 2.1 using non-blocking NIO. For now, you can also leverage the Apache HTTP Client extension which is support for the Android edition. Otherwise, you can reuse the

RE: Tutorial Service Down?

2010-09-14 Thread Jerome Louvel
Hi Soham, Sorry but the associated Azure account has expired. I have added a note about it in the tutorial. Sorry for the inconvenience. Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~ http://www.noelios.com -Message d'origine

RE: Embedded Jetty

2010-09-14 Thread webpost
Any help on this would be appreciated. Roy > I'm attempting to use Jetty 7.1.5 with Restlet 1.1.10 however there's no > connector jar included for this version of Jetty - only Jetty 6.1. So, I'm > wondering is it possible to use Jetty 7? > > Also, I'm not sure where put jetty.xml so I can con

Re: Prudence 1.0 RC1

2010-09-14 Thread Tal Liron
Thanks, Vincent! I agree that Groovy is a great choice for a more Java-centric Restlet project. I always have fun working with Groovy. (Though my personal favorite flavor of Prudence is Clojure...) Your suggestions for documentation are interesting, because they are so different from what my appr

Re: Using a REST layer for UI and services

2010-09-14 Thread Tal Liron
Vincent, This is handled in Prudence using "capturing": http://threecrickets.com/prudence/manual/routing/#toc-Subsubsection-93 Note that the "capturing" API, like all other Restlet sugar, is available in the tiny standalone Prudence jar. -Tal On Fri, Sep 10, 2010 at 7:54 AM, Vincent Nonnenmach

RE: Prudence 1.0 RC1

2010-09-14 Thread Jerome Louvel
Hi Tal, Congratulations for this release! More users relying on Restlet is always a positive news for our community and technology. BTW, I've added a link to Prudence here: http://wiki.restlet.org/community/165-restlet.html Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://

Re: Prudence 1.0 RC1

2010-09-14 Thread Tal Liron
Thank you! And I agree entirely. (I've tried to add the link myself, but it seems Daisy won't sent me a confirmation email for my registration...) On 09/14/2010 05:30 PM, Jerome Louvel wrote: > Hi Tal, > > Congratulations for this release! More users relying on Restlet is always a > positive ne