Hi Danny,

Even though it took us a while, I'm happy to report that this issue is now
fixed:
https://github.com/restlet/restlet-framework-java/issues/437

Best regards,
Jerome
--
http://www.restlet.com
http://twitter.com/#!/jlouvel

-----Message d'origine-----
De : Danny Leshem [mailto:dles...@gmail.com] 
Envoyé : vendredi 20 mai 2011 03:42
À : discuss@restlet.tigris.org
Objet : CompositeHelper returns 500 on GAE

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=27422
55

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

Reply via email to