必须在 Application Server Instrumenter 中提供正确的信息。
服务器主目录是 WebSphere Application Server 安装目录的完整路径。缺省情况下,在 Microsoft Windows 上,服务器主目录为 C:\Program Files\IBM\WebSphere\AppServer。在 Linux 和 AIX® 中,缺省服务器主目录为 /opt/IBM/WebSphere/AppServer。
服务器名称是要检测的 WebSphere Application Server 实例的名称。要查看服务器名称的列表,请切换到 bin 目录,然后在命令提示符处输入以下命令:wsadmin -conntype none -c "puts stdout [$AdminConfig list Server]"。
此命令的输出示例如下:
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode. server1(cells/MachinenameNode01Cell/nodes/MachinenameNode01/servers/server1|server.xml#Server_1183122130078)
在本例中,server1 是服务器名称。
概要文件名称是与所要检测服务器关联的概要文件的名称。
要查看 WebSphere Application Server 中概要文件的列表,请切换到 bin 目录,然后在命令提示符处输入以下命令:manageprofiles -listProfiles。缺省情况下,在 Microsoft Windows 中,bin 目录为 C:\Program Files\IBM\WebSphere\AppServer\bin。在 Linux 和 AIX 中,缺省 bin 目录为 /opt/IBM/WebSphere/AppServer/bin。