-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Daniel,
On 1/8/14, 4:18 PM, Daniel Mikusa wrote: > On Jan 8, 2014, at 4:06 PM, CyTG <cytg....@gmail.com> wrote: > >> New to list, if these questions are dumb please bare with me, >> i've searched the documentation and googled howtos and questions >> without finding specific answers to my questions.. :) .. I've >> actually been using Tomcat for a while though interfaced and >> deployed via Maven and different management plugins. I am quite >> fed up with them now, thus I am here. >> >> Question In the documentation : >> http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html On >> "Deploying on a running Tomcat server", the last line reads this >> : "Note that web application reloading can also be configured in >> the loader, in which case loaded classes will be tracked for >> changes." - To me this sounds brilliant, I can drop in a single >> class and it will get reloaded/hotdeployed in a jiff. Ill make a >> little filesystem watcher that will copy files around as soon as >> they're touched in my development workspace.. sort of a >> poor-mans-jrebel loolalike. >> >> The darned thing is i cant find anything on "configuring the >> loader" .. I assume they mean ClassLoader and by "the loader" I >> assume it is a built-in ClassLoader .. such as WebappClassLoader >> .. but I cant find anything on cofiguring it towards my needs. Am >> I blind ? > > I believe it's referring to this. See the "reloadable" attribute. > > http://tomcat.apache.org/tomcat-7.0-doc/config/loader.html > > but you can just set "reloadable" on your <Context /> tag. > > http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Common_Attributes +1 It's > also worth pointing out that Tomcat will reload the entire webapp (including formally shutting-down the old copy, and starting-up a new copy). So, if you have a long shutdown and/or startup process, the "jiff" will be relative to that. Tomcat will not simply re-load the single Class that you replaced. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSzyAsAAoJEBzwKT+lPKRYuHwP/3rK8bD/8TvtQdGS7uXmbf3Q ds/fZH9KRGiTfWaHJ040/zyIPvR4PZhG3Q7pJjzzU0OOtJxCxDuFpOtyoV52wdA3 3dQvdpyuxPY9JxeATW61R0jmSju+zhh/wHf1siwcV8zHEWMk5NAb6wXm+bc+X7tw /TX2ch47z+peMaWS3bzlw0uvTD82NraRApOS9pijGylJc+YOVAsCIc3q30AoNDxX iFOAYAd6SXvTz8yzYY2ijdLCtlCF+5FrYzoEYooKiuaW4Yp2BWEDQutnXIDdTmR6 ZpZSo6SgexSJbC3j4ozUv8D30X16bOAiLy88356YChj+h7wLzYjcaSKckMXUJ3t6 YpXvo2B1MxXNFEkxrJVRulioTRnH27XTgFGYsU/4KIjNI7Py8HvFqWcY2gpB9XBy TYO9+3NK0tkD2rTJkMpOsd3rqszLoAW6161Ev7tZnzkPYSjJ7oWCg9EkJ3CP31xe 8awRxjIoOL0KSYKFALTwVb/dJxGV8IdgOV9XQ2RF1GvYTXQ8/4Ny6z2Wr8cxJZYm D6FT1XowWoU8mJeeWatcTrAbhAlK+xovKFpRjNw5AoPyXcyW4UPfnu4VB8vcmCZq fAJJiG6oKPRWJyBk7Bbv0zp3M/3oH1mywoVlu32uEGy6jk0NiShqU6PUlWaHgw59 8wMqTat2ZNSE4DGHWwFT =HzbB -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org