Ok, now this is getting silly :) My application gets a page request that contains some images. My application has some specialized logic that mounts images with different states on a custom URL that is stored in the applications memory - that URL is returned in the HTML. The web browser then, obviously, requests the image at the custom URL. Unfortunately, in the 3 seconds between the request for the page and the request for the image, the application restarted and lost the custom URL.
Thoughts? Is there no way to ensure that the application stays alive during a complete page request? Now that I think about it, I guess there's nothing that differentiates a "complete set of page requests" from a single "image" request - either of which can be a loading request. To date, this has happened at least 3-4 times - I just didn't see it as a problem until an image was requested. I'm the only traffic for the time being. Thanks! Jake On Apr 7, 2:52 pm, Jake <[email protected]> wrote: > Hello, > > I'm currently using the Wicket Framework which is simply a > javax.servlet.Filter. I have a quick little logging statement in the > init() method of the filter which, I believe, is the absolute first > thing that should run on a loading request. > > I've been working hard to minimize the startup time for my > application, but now I've discovered a delay between the initial GET > request and the log statement in the init() function that is anywhere > between 2 seconds and 15 seconds. I suppose I can live with the 2 > seconds, but 15 seconds is pushing it :) > > 04-07 11:41AM 41.583 > > 75.150.73.225 - - [07/Apr/2010:11:42:14 -0700] "GET / HTTP/1.1" 500 0 > - "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) > Gecko/20100401 Firefox/3.6.3,gzip(gfe)" "jacob-brookover.appspot.com" > > D 04-07 11:41AM 53.341 > > org.cast.google.TestFilter init: Initializing Filter > > I've been fuddling around with a lot of things, so I'm far from a > "standard" implementation at this point. I'm hoping someone can tell > me what I can do to remove such a delay. > > Thanks! > > Jake -- 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.
