tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rod Brick" <>
Subject How to specify an alternate name for a webapp in Tomcat 5.5
Date Mon, 21 Apr 2008 19:03:21 GMT
In Tomcat 5.0 on RH Linux I was able to make a context fragment file 
called tomcat/conf/Catalina/localhost/webappB.xml, which allowed me to
call webappA by specifying the name webappB 
 in the browser's URL.  The file looked like this: 

<!-- Context fragment to access webappA.war with the name webappB --> 
<Context docBase="webappA" 
         debug="0" privileged="true"> 

Enter Tomcat 5.5 where this no longer works.  I can't seem to glean 
the information I need from the Tomcat 5.5 docs, and I've resorted to
or miss experimentation.  All misses.   I've read things in the docs
like "do not 
use docBase...", and I've tried all manner of combinations.  All to no 
avail.  Basically all I ever get from my browser is "Blahblah... 404...
requested resource (blahblah) is not available." 

Question:  Can anyone tell me specifically how to configure Tomcat 5.5 
so that I can call webappA by specifying webappB (without using 
symbolic links) from the browser? 

Thank you. 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message