Filip Hanik - Dev Lists hanik.com> writes:
> besides having zero purpose in a production environment?
Right, it has no purpose in a production env. It's only used in
development.
> You've already been presented with so many options, take one of them and
> use them, you can accomplish exactly w
Yoav Shapira apache.org> writes:
> The general idea is to reload an app when you know it needs to be
> reloaded, not when it's accessed, so as to minimize delays as seen by
> the users. It's a basic principle of designing for performance.
> However, there's nothing written in stone that says you
Filip Hanik - Dev Lists hanik.com> writes:
> sounds like you want the cake and eat it too, follow Yoav's suggestion,
> and write a macro so that everytime you update a class you touch a
> watched resource after the update has been complete
I really don't understand. What's wrong with reloading
Bill Barker wilshire.com> writes:
> TC 3.3.x has something like this. You could look at the DependClassLoader
> there for some ideas.
Right. It seems that the ReloadInterceptor
(http://tomcat.apache.org/tomcat-3.3-doc/serverxml.html#ReloadInterceptor)
does that. But why it has been removed?
Filip Hanik - Dev Lists hanik.com> writes:
> see that the solution I gave you, doesn't need to reload the app, it
> simply reloads the individual class file. for large apps, you don't have
> to wait for the entire app to reload
> that would qualify as automatic too, wouldnt it?
Thanks. I've ta
Filip Hanik - Dev Lists hanik.com> writes:
> I wasn't referring to this attribute, I was referring to a classloaded
> that reloads individual classes.
> I know this was done some time ago, not sure if it was included in
> tomcat or not, but search the dev archives.
Thanks. But it is still relo
Yoav Shapira apache.org> writes:
> There will always be at least one manual step, because as things stand
> right now a computer program can't read your mind ;) You don't want
> it to reload automatically when a specific resource (or resources)
> is/are modified, you don't want it to reload auto
Christophe Pierret sparus-software.com> writes:
> Then you can create a dirty.txt file that you add as a WatchedRessource.
> When you are ready to run, "touch" it and it will reload automatically.
But then it takes an extra manual step, ie, touching the dirty.txt file,
before accessing the webap
Yoav Shapira apache.org> writes:
> There's reloadable as a Context attribute, documented at
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html, and you
> can also define a list of static resources (not classes) to be watched
> to trigger a reload, via the WatchedResources element. See
Filip Hanik - Dev Lists hanik.com> writes:
> personally I don't see a very high value of it.
> If I remember correctly, a different approach has already been
> implemented using one more layer of classloaders.
> you'd need to search around or someone might jump in and let you know
> where it is
Hi,
I've recently posted a request for a reload-on-demand feature
(http://thread.gmane.org/gmane.comp.jakarta.tomcat.user/144699).
Wondering if you guys (Tomcat developers) think it's useful,
nice to have or just total crap? If it's not crap, I may try
to find some time to see if I am capable
11 matches
Mail list logo