Re: Delivering static files from Restlet-Servlet

2008-07-02 Thread Christian Möller
Thierry Boileau gmail.com> writes: > Hi Christian, > > I send you a complete Eclipse project which works on my environment. It > contains 2 applications with both Resource and Directory. > The problem is located in this part of the code : > > getDefaultHost().attach("/meta", new MyApplication(g

Re: Issue in FileClientHelper

2008-07-02 Thread Rémi Dewitte
Yes I have the TunnelService on but off for extensions. The FileClientHelper search for a file with file starting with the same baseName and having the same set of extensions : no surprise it finds test2.xml. I'll be off for the end of the week. I will test it as soon as possible and investigate a

Random Grizzly IOException

2008-07-02 Thread Bruce Lee
Hi, I'm testing out grizzly connector with the 1.1M4 built and I noticed that for requests takes a bit longer to generate the report, sometimes the following exceptions occurs: Jul 2, 2008 4:01:11 PM com.noelios.restlet.http.HttpServerConverter commit INFO: Exception intercepted java.io.IOExcepti

Re: Unwanted removal of attribute suffix in Tomcat environment

2008-07-02 Thread Lutz Harder
Hello Thierry, thanks a lot for responding so quickly and for your help - I greatly appreciate it! Apparently, you were at least partly right about the libraries - changing them to the newer version 1.1 (Test) has changed the behavior - but it is still not the way it should be... I have prepa

Re: 1.1m4 release notes --- Added a static

2008-07-02 Thread Patrick Logan
> This approach forces you to manage threads explicitly and thus won't > work with, for example, the Executor framework. Yeah, but on the other hand the explicit thread local API should come with a warning to be used only under duress and application developers should generally be keeping a clean

Re: Issue in FileClientHelper

2008-07-02 Thread Thierry Boileau
Hello Rémi, I'm not able to reproduce your problem with Restlet 1.1M4. I send you my sample code. It contains a directory and 2 restlet, one that creates/updates the "test.xml" file, the other the "test2.xml" file. Just hot http://localhost:8182/restletPut1 and http://localhost:8182/restletPut

Re: 1.1m4 release notes --- Added a static "current" property to...

2008-07-02 Thread Tim Peierls
On Wed, Jun 25, 2008 at 4:26 AM, Jerome Louvel <[EMAIL PROTECTED]> wrote: > In order to ensure that the methods still work when invoked by another > thread, the engine could keep a copy of those thread local variables are > restore them on the new thread when calling again the Restlet code. > > Fo

Re: SSL + Virtual Hosts and Issue #489?

2008-07-02 Thread Bruno Harbulot
Hi Alex, I'll start with the short answer: the workaround you're using, which consists of putting a single pair of key/certificate (with associated chain of certificates perhaps) per keystore, seems to be the most practical solution. That's what I do, personally. I find it easier to manage m

Issue in FileClientHelper

2008-07-02 Thread Rémi Dewitte
Hello, I have an issue with the implementation of PUT on files. Let say I have files in a directory : test.xml test2.xml If I make a PUT on test.xml it will modify test2.xml which is not exactilly what I would expect. I don't really catch what I don't understand reading from line 187 to line 219 in

Re: Delivering static files from Restlet-Servlet

2008-07-02 Thread Christian Möller
Christian Möller gmx.de> writes: > Thierry Boileau gmail.com> writes: > > the configuration of a component in the context of a servlet container > > is only available with Restlet 1.1. > > Could you try with Restlet 1.1M4 or the latest snapshot > > (http://www.restlet.org/downloads/)? > > I've

Re: Delivering static files from Restlet-Servlet

2008-07-02 Thread Christian Möller
Hi Thierry, Thierry Boileau gmail.com> writes: > the configuration of a component in the context of a servlet container > is only available with Restlet 1.1. > Could you try with Restlet 1.1M4 or the latest snapshot > (http://www.restlet.org/downloads/)? I've done the upgrade but unfortunately

when is Restlet 1.1 planned?

2008-07-02 Thread Stephan Koops
Hi, for my thesis it is good, if I know, when Restlet 1.1 should be released. http://www.restlet.org/about/roadmap says Q2 2008. That's no more possibe :-) Could you update the page, so I can refer to it? best regards Stephan