0
Tomcat作为Windows服务安装。我想附加一个调试器。当我将相关的JVM选项添加到命令行时,它无法启动:无法加载此JVM TI代理两次
d:\Projects\bin\tomcat\jira-it\bin>tomcat6.exe //TS//mysvC++JvmOptions -Xrunjdwp:transport=dt_socket,address=0.0.0.0:8787,server=y,suspend=y
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
Error occurred during initialization of VM
agent library failed to init: jdwp
tomcat服务存储其选项的其他位置? catalina.bat
与它无关。我也没有在conf
目录中找到任何东西。没有CATALINA_*
或JAVA_*
env。瓦尔除了JAVA_HOME
当没有我选择的tomcat开始打印一条消息:
Listening for transport dt_socket at address: 8003
但在conf/
bin/
没有文件包含 “8003”