不会对远程 WebSphere Application Server V6.x 显示控制台输出

如果以安全方式运行远程 WebSphere® Application Server V6.x,则服务器的输出内容不会显示在“控制台”视图中。
此外,服务器的 SystemOut.log 文件中每隔几秒都会出现错误消息,例如:
[11/3/04 16:58:18:412 CST] 0000003b RoleBasedAuth A SECJ0305I: The role-based authorization check
failed for admin-authz operation ConfigService:queryConfigObjects:
com.ibm.websphere.management.Session:javax.management.
ObjectName:javax.management.ObjectName:javax.management.QueryExp. The user (unique ID: 
null_access_id) was not granted any of the following required roles: administrator, operator, 
monitor, configurator.
[11/3/04 16:58:18:431 CST] 0000003b FileTransferS A ADFS0107E: The file to download 
"/usr/IBM/WebSphere/AppServer/profiles/default/config/temp/logs/sysout" does not exist.
为修正此问题,请完成下列步骤:
  1. 在远程计算机上启动受保护的 WebSphere Application Server V6.x。
  2. 在受保护的服务器上,运行 redeployFileTransfer.jacl 脚本。
    1. 在命令提示符处转至 x:\bin 目录,其中 x 是 WebSphere Application Server 的安装目录。redeployFileTransfer.jacl 文件位于 x:\bin 目录中。
    2. 运行以下命令:
      wsadmin.bat -profile redeployFileTransfer.jacl -lang jacl -c 
      "fileTransferAuthenticationOn cell_name node_name server_name" 
      -user username -password password
      提示: 要确定 WebSphere Application Server 概要文件的单元名、节点名和服务器名,请完成下列操作:
      1. 打开 WebSphere Application Server 管理控制台。
      2. 在左窗格中展开服务器部分,然后单击应用程序服务器链接。
      3. 在右窗格的名称列中选择您的服务器。缺省服务器概要文件称为 server1
      4. 配置选项卡中,您会在常规属性部分中找到服务器名,在“运行时”选项卡中,您会在常规属性部分中找到单元名和节点名。
  3. 重新启动服务器,以从缺省文件传输应用程序切换至安全文件传输应用程序。
  4. 验证 redeployFileTransfer.jacl 脚本是否成功运行:
    • 检查 SystemOut.log 文件以了解 filetransferSecured.ear 应用程序是否已启动。SystemOut.log 文件位于 y:\profile\logs\serverName 目录中,其中 y:\profile 是 WebSphere Application Server 的概要文件的安装目录。例如,C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1
    • 检查 filetransferSecured.ear 目录是否在 x:\systemApps 中,其中 x 是 WebSphere Application Server 的安装目录。

反馈