Susan G. Conger wrote:
> When you go into the Tomcat Manager you get a list of running web
> applications.  Then the next section lets you deploy a host directory or
> local WAR file.  It asks for the following information:
> 
> Context Path (optional):     [I have found this is not optional]
> XML Configuration file URL:  [This appears to be optional]
> WAR or Directory URL:        [Here I enter my host directory path]
> 
> I don't have anything in my server.xml.  Just a generic tomcat 6 install.
> When I enter anything in the Context path that has a 2 tier specification
> .i.e. xyz/abc I get an error when I try to deploy the host directory.  I
> have been able to deploy a different directory using just xyx.  So basically
> if I have a unix directory called /mywebapps/xyz that has a web application
> in it.  And I want to deploy it using the Tomcat Manager what would I put in
> for the Context Path.  I know that the WAR or Directory should be
> /mywebapps/xyz.  I want the context path to be xyz/abc.  However if I put
> that in the deployment fails.
> 
> Does this explain it a little better?
Yes, I think it does.

Exactly which version of Tomcat 6 are you using? The following works for me
on 6.0.18:
ContextPath: /foo/bar
XML: [leave blank]
WAR/DIR: C:/temp

There were several fixes / enhancements to multi-level context support in
6.0.18.

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to