Hi Chuck/All, I am using tomacat5.5,eventhough autoDeploy option is "true" we have to restart the server. <!-- Define the default virtual host Note: XML Schema validation will not work with Xerces 2.2. --> <Host name="localhost" appBase="webapps" unpackWARs="false" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
above is the snippet of my server.xml which has autoDeploy option. 'tmp' and 'work' folder will not get refreshed however .war file will get replaced successfully. after stop and start of the server my newly deployed .war changes came into effect. Is there any other things I missed out? Thanks and Regards - Shreekanta Prasad -----Original Message----- From: Kimberly Begley [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 8:44 AM To: Tomcat Users List Subject: Re: deployment questions Great thanks! and sorry about that its tomcat5. On Thu, Mar 27, 2008 at 1:06 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Kimberly Begley [mailto:[EMAIL PROTECTED] > > Subject: deployment questions > > > > 1) make a war file of my web app directory > > Yes. > > > 2) add a context entry to the server.xml file on the remote > > server > > Unless you're deploying on an ancient version of Tomcat (you didn't > bother to tell us), definitely not. Your <Context> element belongs in > your webapp's META-INF/context.xml file, if you need one at all. Note > that path and docBase attributes are not allowed in <Context> elements > in this circumstance. Read the doc: > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > > > 3) copy the war file to the remote server tomcat/webapp directory > > That's usually webapps, not webapp. > > > 4) stop and start tomcat on the remote server > > Usually not necessary, unless autoDeploy is disabled. > > > But then what is the process to see it online? > > The name of the .war file is the name of the webapp, so you reference it > via a URL like: > http://<hostDNSname>[:port]/<appName> > > If Tomcat on the remote host is configured to use port 80, you omit that > from the URL, of course. If the host has no DNS entry, use its IP > address. > > - 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] > > -- Kimberly Begley --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]