Thanks! That makes it all clear (: So it means if you have 5 hosts you
need to have 5 applications in netbeans all called ROOT (:
Caldarale, Charles R wrote:
From: Jacob Rhoden [mailto:[EMAIL PROTECTED]
Subject: Re: Deploying to / using context.xml
Thanks, let me change my question then (: Given a <Host> entry with a
directory /usr/local/tomcat/webapps3, and the
/usr/local/tomcat/conf/Catalina/hostname/manager.xml in
place. How do I
easily deploy/redeploy war files for the root directory?
If by "root directory" you mean the default app for the <Host>, it must
be named ROOT (case sensitive). If you want it under webapps3, the app
should go in either the webapps3/ROOT subdirectory, or
webapps3/ROOT.war. If your app is deployed outside of the appBase, then
place a ROOT.xml file in conf/Catalina/hostname containing a <Context>
element with the appropriate docBase attribute, and delete any ROOT
directory under webapps3.
If you really, really want to call your default app something other than
ROOT, the simplest solution is to have a dummy app in ROOT that does
nothing but redirect or forward to the desired default.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]