【问题标题】:Jprofiler and websphere 8Jprofiler 和 websphere 8
【发布时间】:2014-08-29 11:22:21
【问题描述】:

你能帮我用 websphere 8 远程模式配置 JProfiler。

进行此配置的步骤是什么。

Websphere 在 AIX 64 位上运行

谢谢

【问题讨论】:

    标签: websphere-8 jprofiler


    【解决方案1】:

    通常,您可以使用 JProfiler 分析任何 JVM,方法是在 JVM 的调用中添加一个特殊的 VM 参数。

    调用

    会话->集成向导->新建远程集成

    在 JProfiler 的主菜单中并按照向导中的步骤获取平台和 JVM 的 VM 参数。

    【讨论】:

    • 我的问题是如何配置远程机器:我通过管理控制台 whebsphere (Application servers> server1> Process definition> Java Virtual Machine) 添加了一个 JVM 参数,但是配置文件没有启动。参数为:-agentpath: /home/mobigim/jprofiler8/bin/aix-ppc64/libjprofilerti.so=port=11002
    • 它没有启动,因为它正在等待来自 JProfiler GUI 的连接。查看 Websphere 服务器的本机 stderr 输出。为避免这种情况,请将 ,nowait 附加到 -agentpath 参数。
    【解决方案2】:
    1) EN JPROFILER
    
    An application a remote computer -> On a Remote Computer ->  Linux x86 /amd64 ->
    
    jvm vendor -> oracle
    version -> 1.7.0
    mode -> hotspot
    
    64 bit jvm check.
    
    wait for a connection from the profiler gui.
    
    specify the remote address ->
    
    remote installation directory -> /opt/xxxx/jprofiler
    
    default port: 8849.
    
    start.
    
    2) Previously you should copy the zip that the wizard gave u on that folder.
    
     /opt/xxxx/jprofiler
    
    3) At web sphere:
    
    https://xx.xx.xx.xx:9043/ibm/console
    
    Server -> Server type -> Webspher application servers -> Server1 -> Java and Process Management -> Process Definition -> Java Virtual Machine - > Generic Java Arguments
    
    Add this line:
    
    -Xshareclasses:none -agentpath:/opt/xxxx/jprofiler/bin/linux-x64/libjprofilerti.so=port=8849
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-25
      • 1970-01-01
      • 1970-01-01
      • 2014-06-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多