Oh I just realised, the docs are wrong it's not:

<warming-requests-enabled>true</warming-requests-enabled>

but in fact:

<warmup-requests-enabled>true</warmup-requests-enabled>

Just in case that catches others out.

On Dec 6, 4:01 pm, mscwd01 <[email protected]> wrote:
> That clears things up nicely. I'll just add <warming-requests-enabled>
> to my appengine-web.xml and redeploy.
>
> Many thanks
>
> On Dec 6, 3:52 pm, Don Schwarz <[email protected]> wrote:
>
>
>
>
>
>
>
> > If you have a Java application that you have configured with an
> > appengine-web.xml file[1], you just need to redeploy with the 1.4.0 SDK to
> > enable warming requests.  However, to get the most benefit from this feature
> > you may want to cause more of your initialization code to run during the
> > warmup request.
>
> > As the documentation states, there are a few ways to do this.  If you have
> > any servlets that do a non-trivial amount of setup in their init() method
> > (e.g. initializing an IoC container like Spring or Guice) you will want to
> > mark them as <load-on-startup>.  You could also implement your own servlet
> > to do custom initialization or to execute common code-paths in your
> > application code to trigger class loading and hotspot compilation early.
>
> > Does that clear things up?
> > -- Don
>
> > [1] Some Java applications (e.g. JRuby apps) are configured with an app.yaml
> > file instead.
>
> > On Mon, Dec 6, 2010 at 9:22 AM, mscwd01 <[email protected]> wrote:
> > > Hey
>
> > > I'm not sure if it's just me but I really cannot make sense of the
> > > documentation explaining how to set up warm up requests.
>
> > >http://code.google.com/appengine/docs/java/config/appconfig.html#Warm...
>
> > > It states "Warming requests are enabled by default for all Java
> > > applications." and then precedes to explain how to set them up. Do I
> > > have to do anything or don't I?
>
> > > My app is configured with the web.xml file and having read the
> > > documentation it says I can implement warm up requests "via an
> > > optional <warming-requests-enabled> element in appengine-web.xml" If
> > > warm up requests are enabled by default, do I need to do this?
>
> > > Apologies if I am being dumb but the more times I read it the more
> > > confused I get.
>
> > > Thanks in advance.
>
> > > --
> > > 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%2B
> > >  [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