My bad, it should be:

<servlet>
 <servlet-name>_ah_warmup</servlet-name>
 <servlet-class>com.your.servlet.Here</servlet-class>
</servlet>



On Tue, Dec 21, 2010 at 1:21 PM, Stephen Johnson <onepagewo...@gmail.com>wrote:

> I should add that there is no need to invoke GAE's default warming. I'm
> sure it's basically a no-op and just gets the basic servlet classes loaded
> that your own servlet will do by being invoked.
>
>
> On Tue, Dec 21, 2010 at 1:10 PM, Stephen Johnson 
> <onepagewo...@gmail.com>wrote:
>
>> Just map a servlet to 
>> /_ah/warmup<https://appengine.google.com/logs?version_id=4.347075438648158995&app_id=my-lms-test&filter_type=labels&filter=path%3A%22%2F_ah%2Fwarmup%22&severity_level_override=1&view=Search>in
>>  your web.xml. This will override the default one provided by app engine.
>>
>>
>> On Tue, Dec 21, 2010 at 11:51 AM, John <jwb...@gmail.com> wrote:
>>
>>> Trying ServletContext#getServletRegistration was disappointing, since
>>> ServletContext#getServletRegistrations and
>>> ServletContext#getServletRegistration are not implemented on
>>> com.google.apphosting.utils.jetty.AppEngineWebAppContext$AppEngineServletContext
>>> while ServletContext#getServlet returns null and
>>> ServletContext#getServlets returns an empty Enumeration (as documented).
>>>
>>> I'm now thinking I should install a filter that will do the
>>> initialization after calling FilterChain#doFilter. I'll see if I can a
>>> filter to run if mapped by the url-pattern '/_ah/warmup'.
>>>
>>>
>>> Please let me know if there's a more straightforward way to invoke GAE's
>>> default warming.
>>>
>>> Thanks!
>>> John
>>>
>>>
>>>  --
>>> 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
>>> google-appengine-j...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>>> .
>>> 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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to