我在分段環境中跨兩臺機器設置了一個weblogic集羣。我想在至少一個weblogic實例上設置JPDA,以便遠程調試。一般來說,我使用wlst.sh和Jython腳本通過以啓動集羣:通過JPDA連接到weblogic集羣
startNodeManager(...)
nmConnect(...)
nmStart(MyAdminServer)
connect(...) #connect to the admin server
start(...) #start the cluster
我應該在哪裏放置-Xdebug Xrunjdwp:transport...
咒語,這樣我可以連接到WebLogic實例之一?我沒有問題通過我的域的startWebLogic.sh
在單個實例上進行設置,但它似乎不適用於羣集。
從這裏:https://forums.oracle.com/forums/thread.jspa?threadID=2233816它看起來像我想把調試字符串在startManagedWeblogic.sh
,但似乎並沒有與我的jython腳本工作。