Hi Yoav, Thank you very much for your reply. As in the last two emails I just sent, what I need is to create new host, then create new context, then load the new context application in the new host using the manager tool. But the manager context I created using admintool doesn't have privileged="true" thus it can't be started thus it can't be used to start my new application in turn. My application uses global resource link to global datasource, thus it won't be correctly initialized after new context creation and need reloading using manager tool.
It seems that a single context configuration change will cause the whole server to reload itself. Thus I just tried that manually put privileged="true" to manager.xml and admin.xml of the new test.tlg.ca host, modify one context property in my localhost host, then commit changes. Tomcat 5 reloads all the two hosts, keeps the privileged="true" in admin.xml but overwrites privileged="true" in manager.xml. Sorry that I did not make myself clear. I said Tomcat 5 missed a lot of tags, which means Tomcat 5 doesn't provide GUI configuration of tags such as privileged. Could you give me more information? Thank you very much. Best regards, Sheng -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: May 17, 2004 2:32 PM To: Tomcat Users List Subject: RE: Does Tomcat 5 support reloading of xml configuration files changed externally? Hi, >I hope Tomcat 5 can have a reload feature like that of SunOne >administration >tool. That is, I can change the server.xml, manager.xml, and admin.xml >manually, then let Tomcat admintool re-initialize itself. There are many different files involved and many sets of semantics. Changes to server.xml that are made by hand will not be picked up until the server is restarted. Changes to manager.xml and admin.xml affect only those webapps, not the rest of the server. Changes to the server made in the admin webapp take affect as immediately as possible (depends on the component being modified, e.g. new contexts can be started immediately). Changes to application's web.xml made by hand can be made to take effect immediately by using the manager webapp to reload the relevant application. >Now when I press "Commit Changes", it always overwrites the changes I made. >But admintool of Tomcat 5 missed a lot of tags in its user interface. Does >Tomcat 5 support this? Thank you very much. You may have made a typo above, meaning tomcat 4 missed a lot of tags? In any case, if you find something specific missing or lacking, we'll be happy to hear about it and address it, but let us know specifically what you're missing. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- 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]
