> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B. > Subject: How to Deploy WAR using a sub-context path? > > However, I now have a need to deploy my WAR under a context > path that is not at the root level of my tomcat server. > > For example, I need to deploy my application.war under: > http://www.domain.com/demo/application
You need to put your <Context> element in conf/Catalina/[hostname]/demo#application.xml; include a docBase attribute to point to the location of the appropriate war file (or directory). Do not put the application under the <Host> appBase directory, or it will be deployed twice. I don't know if you can do this with the autodeployer, but a simple script should suffice. - 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]