Hello I have a context file with a JNDI resource configured in it. My context .xml file is located in the META-INF, and gets copied to the conf/Catalina/localhost/ just fine. I routinely rename my war file to app2.war, app3.war, etc to create discrete instances for demo purposes. However, the context file that gets loaded has some path info in it, that I have to hand edit after subsequent deployment. If I leave out the path info, will tomcat create those lines for me, based on the war file name? I am using TC 5.0.28.
If I leave the <Context> tag "empty" i.e. without docBase,path, and workDir and will tomcat fill in the values? If I had this; <Context crossContext="true" privileged="true" "> after deployment would TC enter the Myapp info to give me this? <Context crossContext="true" docBase="Myapp" path="/Myapp" privileged="true" workDir="work\Catalina\localhost\Myapp"> Michael Hencin Enginuity Development 815-505-5028