Dear Srinath,
take a look at the Configuration Elements for
/Context/WatchedResource
Probably included at the main context.xml file or the one of your application
(, see https://tomcat.apache.org/tomcat-8.5-doc/config/context.html).
Greetings
Guido
>-----Original Message-----
>From: sri devops [mailto:[email protected]]
>Sent: Tuesday, May 08, 2018 8:08 PM
>To: [email protected]
>Subject: Help with Tomcat Automatic Application Deployment
>
> Hello Team,
>
>Currently I have apache-tomcat-8.5.23 installed and running on
>RHEL7.x86_64. I have a war deployed and application is running under
>tomcat. While application is running, if i make any manual changes to some
>config files [ context.xml or server.xml or web.xml] and noticed Tomcat is
>restarting application even though I haven't called tomcat service start
>script.
>
>My intention is,
>1) At first when there's initial war deployed and tomcat service start
>script is called, tomcat should extract war and app should work
>2) Second, While tomcat is in running state and application is running and
>if i make any manual changes to any tomcat config file, I do not want
>application to auto magically restart.
>
>*my server.xml looks as below*
>
><Host name="localhost" appBase-"webapps"
> unpackWARs="true" autoDeploy="true">
>
>
>I also looked at your docs and researched online, but unclear on these
>parameters what to use when. [ setting autoDeploy=false (or) having
>deployIgnore attribute somewhere ?]
>
>Thanks in Advance,
>
>Srinath
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]