远程调试:无法连接到远程VM。连接超时 [英] Remote Debugging: Failed to connect to remote VM. Connection timed out
本文介绍了远程调试:无法连接到远程VM。连接超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无法连接到远程VM。连接超时。
org.eclipse.jdi.TimeoutException
在.log中:
!MESSAGE无法连接到远程VM。连接超时。
!STACK 0
org.eclipse.jdi.TimeoutException
在org.eclipse.jdi.internal.connect.SocketTransportService.attach(SocketTransportService.java:162)
在org。 eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:45)
在org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:134)
在org。 eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:141)
在org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:84)
在org。 eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
在org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
在org。 eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
在org.eclipse.debug.internal.ui.DebugUIPl ugin $ 8.run(DebugUIPlugin.java:1256)
在org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
解决方案
我碰到了调试超时(Windows / Preferences / Java / Debug / Communication / Debugger超时),并重新启动了admin服务器和应用程序部署并正在侦听调试端口的受管服务器。
I was remote debugging with Eclipse on my Ubuntu VM fine to a remote WebLogic application, then it stopped working. I have debug turned on in the remote server. From my VM I'm able to telnet into the remote debugging port. I've tried restarting Eclipse and setting the network connection to Direct. It just keeps timing out.
Failed to connect to remote VM. Connection timed out.
org.eclipse.jdi.TimeoutException
In .log:
!MESSAGE Failed to connect to remote VM. Connection timed out.
!STACK 0
org.eclipse.jdi.TimeoutException
at org.eclipse.jdi.internal.connect.SocketTransportService.attach(SocketTransportService.java:162)
at org.eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:45)
at org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:134)
at org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:141)
at org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:84)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
解决方案
I bumped up the debug timeout (Windows/Preferences/Java/Debug/Communication/Debugger timeout) and restarted both the admin server and the managed server where the application is deployed and is listening on the debug port.
这篇关于远程调试:无法连接到远程VM。连接超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文