If there is no request for a period of time, GAE would put your app into "sleep" mode, and wake up once a new request comes in. Or, your app has a really high load and GAE is distributing new instances of the app. Both would result in the app being "restarted"
On Wed, Dec 23, 2009 at 6:18 PM, Ronin <[email protected]> wrote: > hi, > > I can see init() method of the Servlet being invoked at intervals. I'm > not sure whts causing this ? > Should'nt init method be called only once after I deploy a new build > or after 1st request ? > > 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%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > > -- Regards, Michael Hoi Sang Chan MSc Advanced Software Engineering Department of Computer Science King's College London Strand, LONDON WC2R 2LS Tel: +447881900965 -- 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.
