Hi, Be aware though, that hot redeployment requires all the libraries/classes that reside in WEB-INF to behave correctly, otherwise they are not recicled and end up consuming all the non-Heap memory and causing an OOM. And there are tons of libraries out there that do not behave properly, even some of the most popular ones. So, even though convenient, it is not something I would rely on much, unfortunately.
Oh, and there is an attribute in resin.conf (or resin.xml) to control the interval to check for changes in the context-senstive files, so you can configure it so Resin is not checking all the time in production if some files have changed. On a related note, I think that I've seen Resin close the application and restart it before the next page is requested, even though I don't remember if that was with previous versions of Resin or depended on some time out. Could some one from Resin clarify this point? S! D. PS: S! = Salute!, so it's not my name :) S'està citant Rom Sok <romsok.re...@gmail.com>: > Thanks > > > On Tue, Sep 22, 2009 at 12:10 PM, Jeff Schnitzer <j...@infohazard.org>wrote: > >> Hot deployment works fine for me out of the box, but note that Resin >> doesn't immediately reload the webapp when web.xml or the war changes. >> You have to actually request a page, then the app will reload. >> >> If you change JSP files they are picked up immediately, no reload >> necessary. >> >> Jeff >> >> On Tue, Sep 22, 2009 at 7:23 AM, Rom Sok <romsok.re...@gmail.com> wrote: >> > Hi, >> > >> > Sorry about the newbie question, do I have to restart Resin every time I >> > drop a new version of some file into the deployment directory? like say >> > web.xml? >> > Is there a way to just reload the app without doing the whole "Stop" - > >> > "Quit" -> httpd.exe all over again? >> > >> > Also, is that what is called hot deployment? Or is there another term for >> > redeploying an app without starting the server? >> > >> > Thanks, >> > >> > >> > _______________________________________________ >> > resin-interest mailing list >> > resin-interest@caucho.com >> > http://maillist.caucho.com/mailman/listinfo/resin-interest >> > >> > >> >> >> _______________________________________________ >> resin-interest mailing list >> resin-interest@caucho.com >> http://maillist.caucho.com/mailman/listinfo/resin-interest >> > ---------------------------------------------------------------- _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest