[英]Remote debugging the server Jboss eap 6.4 is failing from Eclipse
我正在嘗試使用 Eclipse 遠程連接到 JBoss eap 6.4 以進行遠程調試。 我在“ standalone.bat ”中修改了以下幾行
rem JBoss Bootstrap Script for Windows
rem -------------------------------------------------------------------------
rem Use --debug to activate debug mode with an optional argument to specify the port
rem Usage : standalone.bat --debug
rem standalone.bat --debug 9797
rem By default debug mode is disable.
set DEBUG_MODE=true
set DEBUG_PORT=8787
我還在“ standalone.conf.bat ”文件中修改了以下行(只是未注釋):
rem # Sample JPDA settings for remote socket debugging
set "JAVA_OPTS=%JAVA_OPTS% -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
當我嘗試遠程連接 JBoss 服務器時出現以下錯誤:
Failed to connect to remote VM. Connection refused.
Connection refused: connect
誰能告訴我如何解決這個問題?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.