Peter M.Chen wrote:
Several mounth ago , I write a document about dynamic reload class on tomcat
running, but no tomcat developer notice that.
I think everybody are busy, So I decide write this module by Myself :).
Now it's finished.
I put it on sourceforge, You can visit at here:
http://sourceforge.net/projects/tomcat-res-mgr/
good luck! :)))
That's interesting. The current implementation of the reloadable flag is
useless given there's no value add over touching a JAR or a watched
resource like web.xml and trigger a full reload.
I could try something like that to replace the current implementation of
the reloadable flag and see if it works as you advertise it, but it is
almost certain that such a method will cause random problems, or be
impractical. Even if the class definition is indeed replaced, many
webapps designs have no reason to reallocate references they may have
been kept. So it's really 100% development-only, and a sort of "see if
it works for you" feature, otherwise touch web.xml.
Note: As I said, checking for JAR updates is already done, and I think
it should continue to do a full reload due to the platform specific
tricks which could be associated with accessing stuff that is inside the
JAR file.
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]