在远程 WebSphere Portal Server 上启用概要分析

在 Rational® Developer 中使用概要分析工具之前,必须在远程目标 WebSphere® Portal Server 上启用概要分析支持。概要分析支持在本地测试环境服务器上已自动启用。

要对 WebSphere Portal V5.0 使用概要分析工具,必须安装针对 SDK 的 WebSphere Application Server 5.0.2 累计修订

要在远程 WebSphere Portal Server 上启用概要分析支持:

  1. 在 WebSphere Portal 系统上,启动 WebSphere Application Server。


    对于 Windows

    开始 > 程序 > IBM WebSphere > Application Server V5.x > 启动服务器


    对于 Linux

    从命令窗口中输入下列命令:
    cd WebSphere_installation_root/bin
    ./startServer.sh server1
    其中 WebSphere_installation_root 是 WebSphere Application Server 的安装目录。
  2. 打开 WebSphere 管理控制台并登录。


    对于 Windows

    开始 > 程序 > IBM WebSphere > Application Server V5.x > 管理控制台


    对于 Linux

    从 Web 浏览器中,打开下列其中一个 URL 以访问 WebSphere 管理控制台。如果 WebSphere 服务器上未启用安全性,则端口 9090 是缺省端口;如果启用了安全性,则端口 9043 是缺省端口。
    http://your.server.name:9090/admin
    https://your.server.name:9043/admin
    其中 your.server.name 是 WebSphere Application Server 系统的标准主机名。
  3. 在左窗格中,选择服务器 > 应用程序服务器
  4. 在右窗格中,选择 WebSphere_Portal 服务器。
  5. WebSphere_Portal 页的配置选项卡上,从其它属性列表中选择进程定义
  6. 进程定义页的配置选项卡上,从其它属性列表中选择 Java 虚拟机
  7. Java 虚拟机页的配置选项卡上,在常规属性中,将以下选项添加至通用 JVM 自变量字段以启用概要分析:
     -XrunpiAgent:server=enabled

    要启用 J2EE 请求概要分析程序,还要将以下选项添加至通用 JVM 自变量字段:

    -DPD_DT_ENABLED=true 
  8. 单击确定
  9. 单击保存,然后单击保存至主配置面板上的保存
  10. 注销 WebSphere 管理控制台。
  11. 停止 WebSphere Application Server。


    对于 Windows

    开始 > 程序 > IBM WebSphere > Application Server V5.x > 停止服务器


    对于 Linux

    从命令窗口中输入下列命令:
    cd WebSphere_installation_root/bin
    ./stopServer.sh server1
    其中 WebSphere_installation_root 是 WebSphere Application Server 的安装目录。
  12. 重新启动 WebSphere Portal Server。


    对于 Windows

    开始 > 程序 > IBM WebSphere > WebSphere Portal V5.x > 停止服务器

    开始 > 程序 > IBM WebSphere > WebSphere Portal V5.x > 启动服务器


    对于 Linux

    从命令窗口中输入下列命令:
    cd WebSphere_installation_root/bin
    ./stopServer.sh WebSphere_Portal
    ./startServer.sh WebSphere_Portal
    其中 WebSphere_installation_root 是 WebSphere Application Server 的安装目录。
注: 在可以使用 Rational Developer 概要分析工具之前,在安装了 WebSphere Portal Server 的系统上必须安装代理控制器且必须运行它。
相关任务
安装代理控制器
对本地服务器上的 portlet 进行概要分析
对远程服务器上的 portlet 进行概要分析
定义概要分析选项
对应用程序进行概要分析
以独立方式对应用程序进行概要分析
对 J2EE 应用程序进行概要分析

(C) Copyright IBM Corporation 2002, 2005. All Rights Reserved.