I have a directory webapps/ABC2 in tomcat 5.5.20 
I want to access it using http://localhost:8080/ABC instead of 
http://localhost:8080/ABC2

here is the problem I get.

when I put ABC.xml in conf/catalina/localhost directory and start tomcat, I get 
following error.

java.lang.IllegalArgumentException: Document base 
/opt/apache-tomcat-5.5/webapps/ABC does not exist or is not a readable directory

when I put ABC3.xml in conf/catalina/localhost direcoty and add path="ABC" in 
there, I don't get any error, but the path is not effective. it still works on 
http://localhost:8080/ABC2 instead of http://localhost:8080/ABC


Is it possible to configure different context then the docbase?


 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index

Reply via email to