tomcat - How to preserve xml configuration when redeploying using update? -


i'm using tomcat manager deploy war files. update war use following url:

http://localhost:8080/manager/deploy?path=/example&war=file:/path/example.war&update=true 

the problem using this, xml configuration (under catalina/localhost/example.xml), erased.

how can preserve it?

place configuration in webapp's meta-inf/context.xml , tomcat take care of rest.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -