Hi,

It appeared that long init problem is well known for Grails users:
http://jira.codehaus.org/browse/GRAILSPLUGINS-1736

I wasted couple of weeks to create app I cannot run. Hope that
SpringSource and Google can solve the issue.

On Feb 17, 7:41 pm, Stephan Hartmann <[email protected]> wrote:
> The problem is that the initialization of your app takes longer than 30
> seconds.
> Pinging your app doesn't help when the app is restarted due to redeployment
> or maintenance, or when high traffic demands a second instance.
>
> You should try to reduce your startup time.
>
> regards,
> Stephan
>
> 2010/2/17 luijar <[email protected]>
>
> > Great, all of our projects are Spring enabled lol. But I guess it's
> > good that we are not the only ones seeing this, hopefully it gets a
> > little more visibility. We have a cron job (1 min) that tries to keep
> > our application alive by hitting a URL, but it does not do a very good
> > job. It's frustrating and we don't even have access to the 500 page to
> > tell the user to retry or go somewhere else.
>
> > On Feb 17, 11:21 am, oth <[email protected]> wrote:
> > > Yes we have seen this problem a lot. Per our tests, an application
> > > becomes idle after a minute of non activity. So, the unfortunate
> > > reality is that you need to keep your app alive by simulating activity
> > > on it. Or go the non Spring route.
>
> > > Thanks
>
> > > On Feb 16, 4:14 pm, luijar <[email protected]> wrote:
>
> > > > Hello Google App Engine forum,
>
> > > >   We have been seeing ever since we deployed our applications
> > > > (currently 3 of them) that when our application instances become idle
> > > > (they have not been hit for x amount of seconds) subsequent requests
> > > > return with a 500 response. Logs show a hard deadline exceeded error
>
> > > > com.google.apphosting.runtime.HardDeadlineExceededError: This request
> > > > (32306ebe63b71ab0) started at 2010/02/12 20:39:11.984 UTC and was
> > > > still executing at 2010/02/12 20:39:41.225 UTC.
> > > >         at
>
> > com.google.appengine.runtime.Request.process-32306ebe63b71ab0(Request.java)
>
> > > > And the first line of the log message has the following :
>
> > > > 02-12 12:39PM 14.088
>
> > > > javax.servlet.ServletContext log: Initializing Spring root
> > > > WebApplicationContext
>
> > > > Question:
> > > > Has anyone else seen this behavior? How long does it take for an
> > > > application instance to become idle?
>
> > > > Thanks
>
> > --
> > 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.

-- 
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.

Reply via email to