I'm running Restlet 2.1 M4 for Google AppEngine.

Things generally work well, but every once in a requests fail with 500, and the 
logs show-

---
org.restlet.engine.CompositeHelper handle: The [MyClass] class has no Restlet 
defined to process calls. Maybe it wasn't properly started.
---

This happens for resources that worked well up to this point, and that 
generally work well for following requests.

Initialization is performed like this:

---
public class SystemApplication extends Application {
  public SystemApplication() {
    final MetadataService metadataService = getMetadataService();
    metadataService.addExtension("multipart", MediaType.MULTIPART_FORM_DATA, 
true);
    metadataService.setDefaultMediaType(MediaType.APPLICATION_XHTML);
                
    getTunnelService().setUserAgentTunnel(true);
  }

  @Override
  public Restlet createInboundRoot() {
    final Router router = new Router(getContext());
    router.attach("/version", VersionResource.class);
    return router;
  }
}
---

Any ideas?

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2742255

Reply via email to