The same happens to me and there is no fix. I have tried everything, believe me.
Here's what you can do to make it boot in 20 seconds instead of 55: - read https://developers.google.com/appengine/articles/spring_optimization - use org.relfections caching if you want component scanning - shrink your war with proguard. (reduce classpath scanning time) - wait the appengine team to fix this bug: http://stackoverflow.com/questions/17611157/disable-tld-scanning-at-appengine-initialization You can read my blog post about it: http://blog.rafaelsanches.com/2013/09/01/appengine-improving-cold-startup-with-spring-enabled-apps/ On Fri, Aug 30, 2013 at 11:43 PM, Mike Marich <[email protected]>wrote: > As of about noon today, my app has been unable to initialize due to > instances of HardDeadlineExceededError. It looks like the issue is due to > IO calls from the class loader, but I am not 100% sure. This application > has been deployed and running for some time, and I am not sure where the > issue could lie. For reference, this is a Spring MVC app. I have tries > re-deploying my app, switching versions, and no luck. Below is the stack > trace. Any suggestions are appreciated, thanks. > > 2013-08-30 23:30:25.527 > > Uncaught exception from servlet > com.google.apphosting.runtime.HardDeadlineExceededError: This request > (2d71f7fff73820d4) started at 2013/08/31 06:29:24.565 UTC and was still > executing at 2013/08/31 06:30:25.315 UTC. > at > com.google.appengine.runtime.Request.process-2d71f7fff73820d4(Request.java) > at java.util.zip.ZipFile.read(Native Method) > at java.util.zip.ZipFile.access$1400(ZipFile.java:68) > at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:692) > at > java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:426) > at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) > at java.io.FilterInputStream.read(FilterInputStream.java:133) > at java.io.FilterInputStream.read(FilterInputStream.java:107) > at java.lang.ClassLoader.loadClass(ClassLoader.java:359) > at > org.apache.commons.logging.LogFactory.getResourceAsStream(LogFactory.java:1355) > at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:544) > at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) > at > org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:270) > at > org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) > at > org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) > at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) > at > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) > at > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) > at > com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:435) > at > com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:442) > at > com.google.tracing.CurrentContext.runInContext(CurrentContext.java:186) > at > com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:306) > at > com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:298) > at > com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:439) > at java.lang.Thread.run(Thread.java:722) > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
