java - 如何使用 weblogic 10.x 托管服务器运行 Jprofile?

标签 java weblogic jprofiler

问题:

如何让 Jprofile 9.1 从特定的托管服务器而不是管理服务器收集数据?

详细信息:

通过使用 Jprofile 向导(配置文件应用程序服务器),我可以将 Jprofile 附加到正在运行的管理服务器,但我找不到任何允许我监视特定托管服务器的选项。

在这个问题中How can I connect Jprofiler with weblogic managed servers?

其中一个答案如下:

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.

答案试图指出一些需要完成的参数更改,但尚不清楚如何做到这一点。

最佳答案

这里有一个关于为 weblogic 服务器设置 JVM 参数的问题。

custom arguments to set in weblogic JVM

  1. In the Domain Structure pane, expand the Servers node.
  2. Click the name of the server that you want to configure.
  3. In the right pane, click Server Start. Select Lock & Edit.
  4. In the Arguments text box, provide the JVM options. After inserting your options, click Save.
  5. Then click Activate Changes.
  6. Restart the server so that the new settings are used.

您应该能够使用上述过程设置相关的 agentLib 参数。

请注意,您需要将代理库复制到具有托管服务器的主机上。

关于java - 如何使用 weblogic 10.x 托管服务器运行 Jprofile?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38366076/

相关文章:

java - 使用-files参数将文件传递给Hadoop

java - WebLogic 10.3 中的 Web 服务部署问题

java - Jprofiler 7.2.2 - 如何查看方法中花费的时间

java - visualvm 对比 JProbe 对比 JProfiler

java - 使用 GWT 从/向 Java 发送对象

java - 将数据从树莓派远程发送到 Spring Web 应用程序

java - 努力找出我的词典排序算法中的逻辑错误所在

java - 从 Java EE 登录到 SQL Server 的最佳方式是什么

java - Weblogic 和 hibernate 配置