hi,
Where and how do I set the context's "reloadable" attr to true so that Tomcat
reloads *any* classes until a context (re)start.
Please me in this issue,
Thanks,
Sincerely,
Mandar
Quinten Verheyen <[EMAIL PROTECTED]> wrote:
---
Unless the context's "reloadable" attr is set to true, Tomcat won't reload *any*
classes until a context (re)start.
---
The directory containing those classes isn't part of any web root context (where you
could indeed set the 'reloadable' attribute, but that's not advised on production
environments). The root is just given as a classpath param in the tomcat5w.exe
program. So I assume it's part of the Tomcat ClassLoader because any new/updated class
in that root gets picked up by the container without any reload/restart.
I have to say I can't find much documentation about that tomcat5w.exe.
---
Generally speaking, it's best for the long-term to follow the spec's and Tomcat's
guidelines for where to put things. That simplifies upgrades and makes it easier to
determine whether a problem lies in the container's code or yours.
That said, there are a million ways to run a shop, half of which are "right."
Sometimes it's necessary to deviate from the norm.
---
I personally don't see any reason to deviate from the tomcat dev standard convention,
in this case I guess it's done to avoid container restart. But that's a pretty weak
argument if one can deploy/undeploy webapps remotely through the manager app, don't
you think ?
Thanks for the feedback btw,
Quinten
-----Original Message-----
From: QM [mailto:[EMAIL PROTECTED]
Sent: 02 September 2004 19:03
To: Tomcat Users List
Subject: Re: usage tomcat5w ?
On Thu, Sep 02, 2004 at 03:44:52PM +0200, Quinten Verheyen wrote:
: we have Tomcat 5 installed and there is something that troubles me.
: Some guys have modified the classpath via the tomcat5w.exe (Java tab) and put
: all their applications in a directory outside of tomcat. It isn't even a web
: root, just a root for class files.
: They did this so they don't have to restart Tomcat for every class change and
: to put their application class files anywhere they want.
Unless the context's "reloadable" attr is set to true, Tomcat won't
reload *any* classes until a context (re)start.
: This bugs me. They just change the classpath known by Tomcat at startup (like
: bootstrap) but isn't this against all design logic ?
Generally speaking, it's best for the long-term to follow the spec's and
Tomcat's guidelines for where to put things. That simplifies upgrades
and makes it easier to determine whether a problem lies in the
container's code or yours.
That said, there are a million ways to run a shop, half of which are
"right." Sometimes it's necessary to deviate from the norm.
-QM
--
software -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.