RE: Add http header for static files

2008-07-01 Thread Jerome Louvel
Hi all, Also, note that the Last-Modified header is already supported by the Restlet API via the Representation#modificationDate property. For details on mapping between HTTP headers and Restlet API see: http://wiki.restlet.org/docs_1.1/g1/43-restlet/130-restlet.html We are planning to suppor

Re: Delivering static files from Restlet-Servlet

2008-07-01 Thread Thierry Boileau
Hello Christian, 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/)? best regards, Thierry Boileau Hi, I've read several comments on this mai

Re: Unwanted removal of attribute suffix in Tomcat environment

2008-07-01 Thread Thierry Boileau
Hello Lutz, I've just tried with Tomcat 6 (fresh install, no configuration) and it works well for me. What version of Restlet libraries are you using? It makes me think about the tunnelService and the extension filter which has been disconnected by default quite recently Best regards, Thierr

Unwanted removal of attribute suffix in Tomcat environment

2008-07-01 Thread Lutz Harder
Hi, being fairly new with Restlet, I have encountered a problem when trying to run an application in Tomcat via the com.noelios.restlet.ext.servlet.ServerServlet that runs fine standalone: I am routing GET requests such as: http://myserver/myapp/foo/mypic.gif to a corresponding FooResource: Ro

Re: OSGi Extender for Restlet -- Fwd: OSGi manifests support

2008-07-01 Thread Jerome Louvel
Forwarding reply from Hendy below... -- Forwarded message -- From: Hendy Irawan <[EMAIL PROTECTED]> Date: Fri, Jun 27, 2008 at 10:59 PM Subject: Re: OSGi Extender for Restlet -- Fwd: OSGi manifests support To: discuss@restlet.tigris.org On Tue, Jun 17, 2008 at 1:43 PM, Jerome

SSL + Virtual Hosts and Issue #489?

2008-07-01 Thread Alex Milowski
I ran into a problem just yesterday with wildcard SSL certificates. I had a new keystore with two wildcards certificates in it and, by default, restlet seemed to pick the wrong one. When I deleted the wrong wildcard from the keystore, everything worked fine. I'll confess that the interaction bet

Delivering static files from Restlet-Servlet

2008-07-01 Thread Christian Möller
Hi, I've read several comments on this mailing list (like this one: http:// thread.gmane.org/gmane.comp.java.restlet/4423) regarding delivering static files via Restlet, but I simply did not get it right. Is there anybody out there be so kind telling me what is wrong with my setup? I'm using Re

Re: More on port 80 - VirtualHost.resourcePort property

2008-07-01 Thread Mark Cornelius
Ok, the weird thing is, I don¹t get a stack trace at all. I simply get a blank screen whenever I run the application with the weblogic port set to 80. It works fine when the port is set to any other value. What I ended up doing to fix this was overriding your getHostPort() method in your HttpServe

Re: Redirector.MODE_DISPATCHER example

2008-07-01 Thread Thierry Boileau
Hello Marc-Elian, Do you have declared the required client connectors (http://www.restlet.org/documentation/1.1/api/org/restlet/Redirector.html#MODE_DISPATCHER)? In such mode, the redirector becomes a client, gets the response ant sends it back to its own client. In the following sample code,

RE: More on port 80 - VirtualHost.resourcePort property

2008-07-01 Thread Jerome Louvel
Mark, We need more details to help you out like stack traces and design details. I noticed you use ServerServletConverter but what do you have behind, a component, an application? Best regards, Jerome _ De : Mark Cornelius [mailto:[EMAIL PROTECTED] Envoyé : lundi 30 juin 2008 18:37

RE: Problem with port number using restlet engine

2008-07-01 Thread Jerome Louvel
Hi Mark, This looks like a bug. Do you have a stack trace with the NumberFormatException? Otherwise, feel free to open a bug report: http://www.restlet.org/community/issues Best regards, Jerome _ De : Mark Cornelius [mailto:[EMAIL PROTECT

Redirector.MODE_DISPATCHER example

2008-07-01 Thread Marc-Elian Bégin
Hi, While having a lot of fun using Restlet, I'm looking for a Redirector example using Redirector.MODE_DISPATCHER. It works well for client redirect, but I can't get the mode dispatcher to work. Thanks, Meb