On Wed, 2007-08-01 at 11:09 -0500, Caldarale, Charles R wrote: > > From: Derek Alexander [mailto:[EMAIL PROTECTED] > > Subject: Using manager to deploy with path="/123/456/789" > > > > I want to use the manager to deploy an app with the context > > path like /123/456/789 > > Can't say I know how to do it with the manager app, although it may be > possible. > > What you need to end up with is a file named 123#456#789.xml under > conf/Catalina/[host] that contains a <Context> element with a docBase > attribute pointing the the .war file. Said .war file should be located > outside of any <Host> element's appBase directory, or it will be > deployed twice, once under the desired name and again under the name of > the .war file. > You can't do it with the manager app because it deploys to appBase and applications deployed to the appBase ignore both path and docBase in the context.xml. Plus, having both the context descriptor in conf/Catalina/<host> and the .war deployed in your appBase could cause the application to be deployed twice.
I really wish you could deploy a .war with the manager app and have the path be different than the application name without inadvertently deploying the app twice. The documentation seems pretty clear on this but if there is still a working example of this being done please fill me in. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]