Hi,
I've never been able to figure out how to properly use context paths with
tomcat. It's really frustrating because reading the docs it seems like it's something that should be very easy, and I know I am not that dumb!!
In the past how I got around not getting them to work was to name my wars with a #.. so deploying first#second#third.war in webapps got me a url of
http://www.domain.com/first/second/third/index.jsp (for that particular application).
Now I would like to figure out how to get a similar result using context paths.
I've created appname.xml in $catalina_home/conf/Catalina/localhost/infocenter.xml and tried starting tomcat
<Context path="/blah/infocenter" docBase="/usr/local/tomcat/current/server/webapps/infocenter" debug="0" privileged="false">
</Context>
based on what I've read, this should result in a url of
http://www.domain.com:8080/blah/infocenter/index.jsp (again the webapp im depoying has index.jsp as it's resource)... but this did not work.
I've tried about 100 different things and I just can't figure it out.
Also when using context roots, I assume you have to explode the war yourself and it won't autodeploy?
Back to banging my head on the desk for now...