Hi,
I have a RESTful service that gets XML data from an external URL, does some 
work on it and serves it to its clients. The dataset is initialized in the 
init() method and takes > 1 minutes but less than 2 to be initialized and 
is naturally supposed to be there before the first client request comes in. 
This works on the local machine properly, but not when deployed to GAE.

I get the DeadlineExceededException even though I have warmup requests 
enabled: 
<warmup-requests-enabled>true</warmup-requests-enabled>
The URL fetch is not the culprit here since it takes average 10 seconds to 
complete the fetch.

What exactly am I missing? What would be the right way to do it? Here's 
what the log says:

javax.servlet.ServletContext log: unavailable 
com.google.apphosting.api.DeadlineExceededException: This request 
(4865075fa7d7c4db) started at 2015/02/19 13:38:24.019 UTC and was still 
executing at 2015/02/19 13:39:23.816 UTC.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/32636346-d245-4633-85e4-800ed214dea3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to