windows7 下调试出现Failed to connect to remote VM. Connection refused 解决方案
2011-09-05 00:55
886 查看
找到tomcat/bin/catalina.bat文件,编辑,在CATALINA_OPTS之前加上下行代码
set CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=50001【用来调试的端口号】
保存,重启Tomcat
set CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=50001【用来调试的端口号】
保存,重启Tomcat
相关文章推荐
- eclipse调试出现Failed to connect to remote VM. Connection timed out.
- Eclipse 远程调试 “Failed to connect to remote VM. Connection timed out ” error,
- Launch error: Failed to connect to remote VM. Connection refused.的解决办法
- [eclipse]Failed to connect to remote VM. Connection refused
- Failed to connect to remote VM. Connection refused. Connection refused: connect
- Failed to connect to remote VM. Connection refused. Connection refused: connect
- Eclispe远程调试Failed to connect to remote VM Malformed reply from SOCKS server
- Android模拟器调试,出现“failed to connect to remote .vm”
- eclipse调试时出现cannot connect to VM com.sun.jdi.connect.spi.ClosedConnectionException
- 【远程调试】Failed to connect to remote VM
- eclipse远程调用debug出现 Failed to connect to remote VM because of unknown hostFailed to connect to remote
- eclipse 调试nodejs 发生Failed to connect to standalone V8 VM错误的解决方案
- 【开启Tomcat远程调试失败】Failed to connect to remote VM.
- Launch error: Failed to connect to remote VM. Connection timed out
- linux memcached telnet 出现 Connection refused ,Unable to connect to remote host
- android 出现org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.1 refused的解决方案
- 在真机上调试时出现“Error launching remote program: failed to get the task for process xxx"的解决方案
- Failed to connect to SDP server on FF:FF:FF:00:00:00: Connection refused问题解决方法
- JDBC连接SqlServer2000出现"Connection refused: connect"的解决方案
- Failed to connect to socket /com/ubuntu/upstart: Connection refused: Errors were encountered while p