Hi,
I am using
Tomcat 6.0. I need to deploy a war file that resides in an external directory.
But I need to deploy it into a custom path in the webapp folder in tomcat.
I am using a context file that is located in:
\Tomcat_6.0\conf\Catalina\localhost\aaa#bbb.xml
with the contents of the xml file:
<Context path="/aaa/bbb" docBase="D:\deployments\custom.war" reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger" prefix="llservlet." suffix=".txt" timestamp="true"/>
</Context>
The end result i am looking for is that custom.war is expanded into: tomcat\webapp\aaa\bbb
but i end up with: tomcat\webapp\aaa#bbb
The tomcat docs specify that the '#' is used in the xml file name to create a context path.
Not sure what i am doing wrong, any help much appreciated,
thank you