Hi Wish,

What is your ServletContainer? There is a known bug with WebLogic regarding
port 80:

"Locating REST resources on Port 80, Receive 404"

We have very recently checked in a workaround in SVN trunk for this. Could
you try again with a recent Restlet 2.0 snapshot?

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 : wgandhi [mailto:wgan...@hotmail.com] 
Envoyé : samedi 6 juin 2009 08:31
À : discuss@restlet.tigris.org
Objet : Relative URI in GWT Restlet

Hi !
I have code that uses a GWT restlet class in the client. I generate the
request like this:
Request request = new
An existing web service is running on the servlet container at :8080.

When I deploy the web application, I want to use apache to serve the static
content which will be on port :80. I have wired up my apache server to
forward to the servlet container when I access directory /entApp-war. On the
development platform, I use :8080 for everything and things work fine. When
I deploy, I dont want to change my code to include the address of the
correct server.
Everything would work for me, if I get to specify a relative URL. example:
Request request = new

I tried that and it did not work. I get an "Unable to create request"-type
message from the Restlet class. Is there a workaround this issue?


View this message in context:
Sent from the Restlet Discuss mailing list archive at Nabble.com.



Reply via email to