What they want != what I want: immediate kill! :) But app servers aren't obliged to store session info on shut down by any spec or convention are they?
Eelco On 10/3/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > all application servers shoujld work that way. > Only you have to terminate them the right way > really shutdown them like the want to. > > > > On 10/3/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > > ... when you work with Tomcat... > > > > On 10/3/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > Server restart should work > > > All sessions are serialized to disk and read back in. > > > > > > > > > > > > On 10/3/05, Gili <[EMAIL PROTECTED]> wrote: > > > > > > > > Even if the images are dynamically generated, couldn't we > > > serialize the > > > > highest "path" value used on shutdown and reuse it on startup? > Consider > > > > the following use-case: > > > > > > > > - Images are dynamically generated from a DB > > > > - Expiration headers are set to cache the images for one day on the > > > > client end > > > > - Wicket's resource cache expiration is also set to one day > > > > > > > > So ... while the images are dynamic, they are also cached (for > a > > > > limited period of time). This use-case works fine if the server is > never > > > > restarted. All we'd need is a simple fix to make it work across > restarts. > > > > > > > > Gili > > > > > > > > Eelco Hillenius wrote: > > > > > That's why we introduced packaged resources in the first place: to > > > > > have static urls. If you don't have static urls, your browser > > > > > shouldn't cache them. Don't we set expiry headers? > > > > > > > > > > Eelco > > > > > > > > > > On 10/1/05, Gili < [EMAIL PROTECTED]> wrote: > > > > > > > > > >>Hi, > > > > >> > > > > >> I'm using PageableGridDataView to display a grid of images. > Here > > > is an > > > > >>example URL for a thumbnail on a page: > > > > >> > > > > > > > >> > http://localhost:8084/DesktopBeautifierServer/Main?path=11:imageRow:1:cols:4:imageWidth:imageLink:image&interface=IResourceListener > > > > >> > > > > >> The problem is that upon server restart the path counter > resets. > > > Now, > > > > >>if a user hits the image listing again, his browser recognizes the > > > > >>original URL and uses the cached image. However, path=11 in the new > > > > >>server instance does not equal to path=11 in the old server > instance, so > > > > >>the cached image is incorrect. > > > > >> > > > > >> Is there a way for us to serialize the "path" values on > shutdown > > > and > > > > >>pick them up on restart? This will ensure the browser cache doesn't > > > > >>display incorrect images. I don't mind if users can't hit older > pages > > > > >>(i.e. path=10 and below) because they don't exist in the new server > > > > >>instance but at least the counter should begin at the last used > value +1 > > > > >> > > > > >> Let me know what you think. > > > > >> > > > > >>Thanks, > > > > >>Gili > > > > >>-- > > > > >> http://www.desktopbeautifier.com/ > > > > >> > > > > >> > > > > > >>------------------------------------------------------- > > > > >>This SF.Net email is sponsored by: > > > > >>Power Architecture Resource Center: Free content, downloads, > > > discussions, > > > > >>and more. > http://solutions.newsforge.com/ibmarch.tmpl > > > > >>_______________________________________________ > > > > >>Wicket-user mailing list > > > > >>[email protected] > > > > > > > >> > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > >> > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by: > > > > > Power Architecture Resource Center: Free content, downloads, > > > discussions, > > > > > and more. > http://solutions.newsforge.com/ibmarch.tmpl > > > > > _______________________________________________ > > > > > Wicket-user mailing list > > > > > [email protected] > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > -- > > > > http://www.desktopbeautifier.com/ > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, > discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
