【发布时间】:2016-06-07 23:09:23
【问题描述】:
我想使用以下参数启动我的 Windows Tomcat Catalina:
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"
我尝试将这些参数保存在 services.msc -» Tomcat -»“启动参数:”中,但“不知何故”Windows 没有保存我的参数。
我还尝试通过在 \HKLM\SYSTEM\CurrentControlSet\Services\ImagePath 中添加上述参数来编辑我的注册表,但似乎 Tomcat 不是从添加的参数开始的。检查此屏幕截图:http://site.pictures/image/RO5yD
任何想法将不胜感激。
谢谢。
【问题讨论】:
标签: windows apache tomcat tomcat7 catalina