I'm using JAX-RS in Restlet 2.0.5 on GAE 1.4.2 in Eclipse 3.6.1, and none of my
paths are recognized. Specifically, the only requests that are successful are
to http://localhost:8080;. I modeled my code after the tutorial at
Hi Meb,
If you are referring to index HTML pages, you can override the following
methods:
http://www.restlet.org/documentation/snapshot/jee/api/org/restlet/resource/Directory.html#getIndexRepresentation%28org.restlet.representation.Variant,%20org.restlet.data.ReferenceList%29
Hi Bryan,
That's strange as a similar bug was fixed in 2.0.5. From changes log:
- Fixed bug causing first entity byte to be eaten if the connection
wasn't persisting. Reported by Sebastien Gaide and Olivier Miel.
Would you mind providing a small test case to
I've tried with the @Get
@Get(json)
public JsonRepresentation represent() {
return new JsonRepresentation(new JSONArray(find()));
}
public List find() {
return getApplication().getSubscriptionService().findTenants();
}
without the @Get on the second method, works:
Thank you, Fabian! This is the kind of thing that should go into the wiki
(and the book!). It seems like dozens of people have run into the same
situation, and it could all be avoided by saying this clearly up front.
--tim
On Thu, Mar 31, 2011 at 12:17 PM, Fabian Mandelbaum
I can confirm that this is also true for Restlet 2.0.6. The blog
announcement indicated that Jetty was upgraded, but I guess this
happened only in the 2.1 branch. Jetty 7.3 does not work in Restlet 2.0.
-Tal
On 03/18/2011 03:09 PM, John Karp wrote:
I found the problem. Apparently
Hello,
I'd like to know if there's some examples (and where are them, of
course) on using Tanuki's wrapper to 'control' (startup, shutdown) a
Restlet application.
I'm currently using a 'main' class which sets my Application instance,
starts needed services, and starts the Application, together
You can check out the daemon support page for Prudence (which is based
on Restlet):
http://threecrickets.com/prudence/manual/daemon/
Prudence comes with working configuration files for Tanuki's Wrapper and
for YAJSW. It comes with Apache Commons Daemon ready to run, with a
rather
8 matches
Mail list logo