English 中文(简体)
通过JPDDA连接到网络博客群集
原标题:Connecting to a weblogic cluster via JPDA

在中转环境中,我有一个跨越两台机器的网络博客群集。我想在至少一个博客实例上设置JPDA, 这样我就可以远程调试。 通常我使用 wlst.sh 和 jython 脚本来启动该群集 :

startNodeManager(...)
nmConnect(...)
nmStart(MyAdminServer)
connect(...) #connect to the admin server
start(...) #start the cluster

我应把 < code> - Xdebug Xrunjdwp: transport... incertation 放到哪里, 以便附加到网络博客实例中? 我通过我的域名 s < code > startWebLogic.sh 将这个例子设置在单一实例上没有问题, 但似乎与组群无关 。

从这里:https://forums.oracle.com/forums/thread.jspa?threadID=22233816 看起来我想把调试字符串放进 startingManage Weblogic.sh ,但这似乎也与我的jython脚本有关。

最佳回答

http://docs.oracle.com/cd/E13222_01/wls/docs90/server_start/nodemgr.html#1081870 中发现:

 4. The Administration Server obtains the domain configuration from its config directory

我检查了我的域下的配置目录, 并且有一个名为 config. xml 的可疑文件。 在此文件中是 Weblogic 节点的配置, 您想要放置 JDPA 配置的位置 :

<server>
  <name>my-target-machine</name>
  ...
  <server-start>
    ...
    <arguments>(your other config stuff) -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n</arguments>
问题回答

暂无回答




相关问题
Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Asp.Net MVC - Problem returning a model to the view

I ve recently started using the Areas functionality of the Preview2 and it was working ok until I needed to return a Model to the view. Controller: public ActionResult ForgotPassword() { return ...

Unable to generate PDB files in Visual Studio 2005

For most assemblies, I m able to generate their respective .pdb files. However, I ve got one project that isn t generating their .pdb files. I ve made sure that it on debug mode and that the project ...

热门标签