<div dir="ltr">Correction for first mail of this morning : <div><br></div><div>Resolution :</div><div><span style="color:black;font-family:"Segoe UI",sans-serif;font-size:10pt"> sudo chown tomcat7
/var/lib/tomcat7/conf/jmxremote.password</span></div><div><div class=""><p class="MsoNormal" style="margin:2pt 0cm"><span style="font-size:10pt;font-family:"Segoe UI",sans-serif;color:black">
 sudo chmod 600 /var/lib/tomcat7/conf/jmxremote.password <br>
 sudo service tomcat7 restart</span></p><p class="MsoNormal" style="margin:2pt 0cm"><span style="font-size:10pt;font-family:"Segoe UI",sans-serif;color:black">(sorry bad copy/paste)</span></p>

</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-27 11:34 GMT+02:00 David_dev Dev <span dir="ltr"><<a href="mailto:dcpc.dev@gmail.com" target="_blank">dcpc.dev@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'd prefer not change default config and current install (will need to change template, deploy scripts and internal docs to :-( ), and in precedent answers someone onawer that's this chown is not recommanded and should have been change :</div><div><br></div><div><br></div><div>"<span style="font-size:12.8px">So in my opinion we should stop chowning /etc/tomcat7 completely. If we</span></div><span style="font-size:12.8px">really need to set specific permissions for configuration files, it</span><br style="font-size:12.8px"><span style="font-size:12.8px">should be done on a case-by-case basis."</span><br style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">And more in the 29 May reply, it seems that this case was answered, but maybe applied only to tomcat8 duplicated bug ?</span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-06-27 10:46 GMT+02:00 Emmanuel Bourg <span dir="ltr"><<a href="mailto:ebourg@apache.org" target="_blank">ebourg@apache.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<br>
Did you consider moving the jmxremote.password file out of /etc/tomcat7?<br>
This would prevent future updates from messing with your files.<br>
<span><font color="#888888"><br>
Emmanuel Bourg<br>
<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>