A HardDeadlineExceededError is caused by the request taking too long
to complete (greater than 30 seconds) and being aborted.  Given that
your code is a datastore transaction, you may be seeing this error
more frequently at the moment due to an on-going issue with the
datastore causing increased latency:

http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/3349ec6b1621a095

On May 10, 7:14 am, laurent <bagno_laur...@hotmail.com> wrote:
> I've a HardDeadlineExceededError.I've not all the time this exception.
>
> Uncaught exception from servlet
> com.google.apphosting.runtime.HardDeadlineExceededError: This request
> (a19d027cb3d5ff54) started at 2010/05/10 09:26:12.460 UTC and was
> still executing at 2010/05/10 09:26:41.349 UTC.
>         at com.google.appengine.runtime.Request.process-
> a19d027cb3d5ff54(Request.java)
>         at java.lang.Object.wait(Native Method)
>         at java.lang.Object.wait(Object.java:443)
>         at java.util.concurrent.TimeUnit.timedWait(Unknown Source)
>         at
> com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:98)
>         at
> com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(Datastor 
> eApiHelper.java:
> 58)
>         at
> com.google.appengine.api.datastore.DatastoreServiceImpl.beginTransaction(Da 
> tastoreServiceImpl.java:
> 297)
>         at
> com.googlecode.objectify.ObjectifyFactory.beginTransaction(ObjectifyFactory 
> .java:
> 104)
>         at
> com.googlecode.objectify.ObjectifyService.beginTransaction(ObjectifyService 
> .java:
> 33)
>         at
> miro.server.GreetingServiceImpl.putData(GreetingServiceImpl.java:
> 148)
>         at
> miro.server.GreetingServiceImpl.updateAssignments(GreetingServiceImpl.java:
> 123)
>
> my code where it bug:
> void putData(List<Assignment> assignmentList) {
>                 ObjectifyService.register(Assignment.class);
>
>                 for (Assignment assignment : assignmentList) {
>
>                         try {
>                                 Objectify ofy =
> ObjectifyService.beginTransaction();
>                                 ofy.put(assignment);
>                                 ofy.getTxn().commit();
>                         } catch (Exception e) {
>                         }
>                 }
>         }
> Thanks for your request
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to