java - Tomcat 7: avoid automatic restart when change context.xml -



java - Tomcat 7: avoid automatic restart when change context.xml -

when edit global conf/context.xml of tomcat 7.0.34 server seems restart automatically. want avoid automatic restart, server should run "old" configuration until restart hand.

so question is: how avoid automatic restart when alter global conf/context.xml in tomcat 7.0.34?

according automatic application deployment, application redeployed when changes detected

updating context file trigger undeploy of application removal of associated work directory. current user sessions not persisted. application redeployed next time auto deployer checks changes.

to stop functionality autodeploy flag must set false:

this flag value indicates if tomcat should check periodically new or updated web applications while tomcat running. if true, tomcat periodically checks appbase , $catalina_base/conf/[engine_name]/[host_name] directories , deploys new web applications or context xml descriptors found.

alternatively, can set deployignore flag regular look defining applications should ignored automatic deployment

java tomcat

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -