Paul Pepper wrote: > A discussion regarding the use of the <Context/> element, within > server.xml and $CATALINA_BASE/conf/[enginename]/[hostname]/, grew from > a thread with subject "Problem with JNDI environment entry resources": > http://marc.info/?l=tomcat-user&m=122045686313688&w=2 > > In that thread the question seemed to boil down to: Can, or should, a > web application's war file name or exploded directory name be allowed > to differ to the the context path? > > This problem arose for me out of an attempt to use a context file: > $CATALINA_BASE/conf/[enginename]/[hostname]/ROOT.xml > with the following contents: > <Context docBase="appname.war" />
At best, you will get double deployment. If webapps/ROOT already exists it is anybody's guess what will happen. > Is it the docs, the code, or my understanding, that is out when I try > to make a web app the default app using a file, > $CATALINA_BASE/conf/[enginename]/[hostname]/ROOT.xml? The docs could make clearer that an docBase should only ever be used if outside the appBase. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]