gpt4 book ai didi

java - 远程调试 : Failed to connect to remote VM. 连接超时

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:41:45 25 4
gpt4 key购买 nike

我在我的 Ubuntu VM 上使用 Eclipse 远程调试远程 WebLogic 应用程序,然后它停止工作。我在远程服务器上打开了调试。从我的 VM,我可以远程登录到远程调试端口。我试过重新启动 Eclipse 并将网络连接设置为 Direct。它只是一直超时。

Failed to connect to remote VM. Connection timed out.
org.eclipse.jdi.TimeoutException

在.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)

最佳答案

我提高了调试超时(Windows/Preferences/Java/Debug/Communication/Debugger 超时)并重新启动了管理服务器和部署了应用程序并正在监听调试端口的托管服务器。

关于java - 远程调试 : Failed to connect to remote VM. 连接超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27405988/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com