There's a 30 second deadline for web requests, and a 10 second deadline for URLFetch requests. You'll want to make sure you aren't exceeding either of these.
On Fri, Jun 18, 2010 at 2:19 AM, carlson cwt <[email protected]> wrote: > What steps will reproduce the problem? > 1.Created a App Engine Project and Deployed in App Engine > 2.Application will Query date from third party data base using web > Services. > 3.Finally when i request for perticular data > "com.google.apphosting.runtime.HardDeadlineExceededError" is coming. > wat is teh reson ? > > What is the expected output? What do you see instead? > Page should be displayed with queried data. > > What version of the product are you using? On what operating system? > Windows XP > > > Please provide any additional information below. > > below are the logs from App Engine Acccount > Error for /getContactOCOnly.do > com.google.apphosting.runtime.HardDeadlineExceededError: This request > (bac8d5e0e9ed9f67) started at 2010/06/18 08:55:46.546 UTC and was > still executing at 2010/06/18 08:56:15.466 UTC. > 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.runtime.AsyncFuture.get(AsyncFuture.java:60) > at com.google.apphosting.runtime.ApiProxyImpl > $AsyncApiFuture.get(ApiProxyImpl.java:326) > at com.google.apphosting.runtime.ApiProxyImpl > $AsyncApiFuture.get(ApiProxyImpl.java:217) > at > com.google.apphosting.runtime.ApiProxyImpl.doSyncCall(ApiProxyImpl.java: > 131) > at com.google.apphosting.runtime.ApiProxyImpl.access > $000(ApiProxyImpl.java:43) > at > com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java: > 104) > at > com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java: > 102) > at java.security.AccessController.doPrivileged(Native Method) > at > com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall(ApiProxyImpl.java: > 102) > at > com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall(ApiProxyImpl.java: > 43) > at > com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:102) > at > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java: > 34) > at > com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler > $Connection.fetchResponse(URLFetchServiceStreamHandler.java:404) > at > com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler > $Connection.getInputStream(URLFetchServiceStreamHandler.java:283) > at > com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler > $Connection.getResponseCode(URLFetchServiceStreamHandler.java:136) > at com.crmit.google.utils.CRMLogin.logoff(CRMLogin.java:119) > at > com.crmit.google.action.GetContactOCOnly.execute(GetContactOCOnly.java: > 82) > at > > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java: > 431) > at > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: > 236) > at > org.apache.struts.action.ActionServlet.process(ActionServlet.java: > 1196) > at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java: > 414) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > at > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: > 511) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1166) > at > > com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java: > 97) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > > com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java: > 35) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: > 43) > at org.mortbay.jetty.servlet.ServletHandler > $CachedChain.doFilter(ServletHandler.java:1157) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: > 388) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: > 216) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: > 182) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: > 765) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > 418) > at > > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java: > 238) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: > 152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > 542) > at org.mortbay.jetty.HttpConnection > $RequestHandler.headerComplete(HttpConnection.java:923) > at > > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java: > 76) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java: > 135) > at > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java: > 250) > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > $6.handleBlockingRequest(RuntimePb.java:5838) > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > $6.handleBlockingRequest(RuntimePb.java:5836) > at > > com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java: > 24) > at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > 398) > at com.google.net.rpc.impl.Server$2.run(Server.java:852) > at > com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java: > 56) > at > > com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java: > 576) > at com.google.net.rpc.impl.Server.startRpc(Server.java:807) > at com.google.net.rpc.impl.Server.processRequest(Server.java:369) > at > > com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java: > 442) > at > com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java: > 319) > at > com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java: > 290) > at com.google.net.async.Connection.handleReadEvent(Connection.java: > 474) > at > > com.google.net.async.EventDispatcher.processNetworkEvents(EventDispatcher.java: > 831) > at > com.google.net.async.EventDispatcher.internalLoop(EventDispatcher.java: > 207) > at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: > 103) > at > com.google.net.rpc.RpcService.runUntilServerShutdown(RpcService.java: > 251) > at com.google.apphosting.runtime.JavaRuntime > $RpcRunnable.run(JavaRuntime.java:413) > at java.lang.Thread.run(Unknown Source) > > -- > 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 > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
