I am trying to deploy new web application from a local directory using Tomcat 6 Manager and here are the configurations I am using:
XML Configuration file URL: C:\work\WebApps\mycontext.
xml
WAR or Directory URL: C:\work\WebApps\mycontext
As you might have noticed that the XML configuration file is sitting outside CATALINA_HOME and the same goes for the web application package (directories/files).
The content of mycontext.xml is as follow:
<Context path="/" docBase="C:\work\WebApps\m
ycontext"
debug="9">
</Context>
Every time I try to Deploy the configurations (from Tomcat 6 Manager interface) listed above I get the following error: FAIL - Invalid context path was specified
All what I am trying to do is to deploy a web application outside CATALINA_HOME and have the Manager do the rest, however, I want to have control over the Context.
If you have an example of full Tomcat 6 deployment using the Manager that would be appreciated.
Start Free Trial