We would like to pass the same WAR thru dev, test, and production. How can we persist our JNDI settings w/o manual modification of server.xml? For example, in Websphere there is an admin console, and the JNDI resources can be added manually and saved, or using jacl/jython script out the addition of the necesary JNDI resources.
Why does tomcat "recommend" to use context.xml? This means we need a separate build for each environment... this is not really JNDI then...it's a glorified JNDI xml property file, since context.xml needs to be bundled in the WAR, and whenever we redeploy (undeploy, deploy, start app) we lose the existing context.xml