Starting Tomcat Catalina with CATALINA_OPTS to implement JMX Monitoring (Windows Server)
<p>I would like to start my Windows Tomcat Catalina with the following parameter:</p>

<p><code>set CATALINA_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.password.file=../conf/jmxremote.password -Dcom.sun.management.jmxremote.access.file=../conf/jmxremote.access"</code></p>

<p>I tried to save these parameter in services.msc -» Tomcat -» "Start parameters:" but 'somehow' Windows is not saving my parameter.</p>

<p>I also tried to edit my registry by adding aforecited parameter in \HKLM\SYSTEM\CurrentControlSet\Services\ImagePath but seems Tomcat is not starting with the parameters added. Check this screenshot: <a href="http://site.pictures/image/RO5yD" rel="nofollow">http://site.pictures/image/RO5yD</a></p>

<p>Any idea would be greatly appreciated.</p>

<p>Thank you.</p>