【问题标题】:How can I connect Jprofiler with weblogic managed servers?如何将 Jprofiler 与 weblogic 托管服务器连接?
【发布时间】:2013-04-15 13:53:25
【问题描述】:

我正在尝试将 Jprofiler7 连接到远程 weblogic10.3 托管服务器。我能够在 JProfiler 中连接并查看管理控制台线程和内存使用情况,但不能用于部署在托管服务器上的应用程序。

我怎样才能做到这一点?

谢谢

【问题讨论】:

    标签: weblogic jprofiler


    【解决方案1】:

    我在使用 JProfiler9 的 Windows 上使用 WebLogic 12C 时遇到了同样的问题,并解决了如下问题:

    1. 允许 JProfiler 通过分析 WebLogic 12C 创建 startWebLogic_jprofiler.cmd,但此时不要附加分析器。
    2. 编辑 startManagedWebLogic.cmd 并调用 startWebLogic_jprofiler.cmd 而不是 startWebLogic.cmd
    3. 在命令提示符处执行 startWebLogic.cmd
    4. 在命令提示符处执行 startManagedWebLogic.cmd
    5. 在 JProfiler 中,单击“启动中心”图标。单击“新服务器集成”。选择“通用应用程序服务器”,然后选择“等待来自 JProfiler GUI 的连接”。当分析器启动时,它会从托管的 weblogic 服务器收集数据。

    【讨论】:

      【解决方案2】:

      在这种情况下,您正在分析错误的服务器。 JProfiler 的 VM 参数 (-agentpath:...) 必须添加到执行应用程序的 JVM。

      【讨论】:

        猜你喜欢
        • 2012-04-30
        • 1970-01-01
        • 2013-04-27
        • 2013-10-10
        • 2020-12-10
        • 2021-07-02
        • 2017-11-21
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多