How can I connect Jprofiler with weblogic managed servers?

安稳与你 提交于 2020-01-04 04:13:07

问题


I am trying to connect Jprofiler7 to remote weblogic10.3 managed servers. I am able to connect and see admin console threads and memory usage in JProfiler but not for application deployed on managed server.

How can i achieve this?

Thanks


回答1:


I had the same problem with WebLogic 12C on windows with JProfiler9 and solved it as follows:

  1. Allow JProfiler to create startWebLogic_jprofiler.cmd by profiling WebLogic 12C, but don't attach the profiler at this point.
  2. Edit startManagedWebLogic.cmd and call startWebLogic_jprofiler.cmd rather than startWebLogic.cmd
  3. At a command prompt execute startWebLogic.cmd
  4. At a command prompt execute startManagedWebLogic.cmd
  5. In JProfiler, click "Start Center" icon. Click "New Server Integration". Select "Generic application server" and then "Wait for a connection from the JProfiler GUI". When the profiler starts it collects data from the managed weblogic server.



回答2:


You're profiling the wrong server in that case. The VM parameter for JProfiler (-agentpath:...) has to be added to the JVM on which your application is executed.



来源:https://stackoverflow.com/questions/16017004/how-can-i-connect-jprofiler-with-weblogic-managed-servers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!