Weblogic远程调试使用eclipse [英] Weblogic remote debugging using eclipse
问题描述
我的Weblogic安装在Red Hat OS机器中。
My Weblogic is installed in a Red hat OS machine.
在startWebLogic.sh中,我添加了这行
JAVA_OPTIONS = - Xdebug -Xnoagent -Xrunjdwp:transport = dt_socket,address = 8888,server = y,suspend = n%JAVA_OPTIONS%
In the startWebLogic.sh i have added this line JAVA_OPTIONS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n %JAVA_OPTIONS%"
当我尝试从我的Eclipse连接时,我得到一个
无法连接到远程VM连接拒绝
连接拒绝:连接
消息。
When I try to connect from my Eclipse I get a "Failed to connect to remote VM. Connection refused. Connection refused: connect" message.
你能告诉我哪里可能会出错?
Can you please tell me where I may be going wrong?
推荐答案
在 bin startWebLogic.sh / strong>文件夹,在 RHEL 中添加此行
In the startWebLogic.sh file in the bin folder, in the RHEL add this line
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n
字符串: $ {JAVA_HOME} / bin / java
。
将上面的行放在 $ {JAVA_HOME} / bin / java
这篇关于Weblogic远程调试使用eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!