跳转到主内容

排除 OCI Java 客户端问题所需的日志是什么?它们的路径是什么?

Views:
16
Visibility:
Public
Votes:
0
Category:
oncommand-insight
Specialty:
oci
Last Updated:

适用于

  • OnCommand Insight 6.4
  • OnCommand Insight 7.x

解答

在某些情况下,我们会发现 OnCommand Insight ( OCI ) Java UI 无法在客户端上启动,尽管它在服务器本地运行。可能会出现如下错误:

  1. 'The OnCommand Insight Client failed to launch. Please see the log files for details'。但是,没有指示要查看哪些日志文件或其他指针。
  2. 无法从服务器站点下载证书。

需要检查两个主要日志:

  1. OnCommand Insight ( OCI )日志

sanscreen-client.log file可在%USERPROFILE%位置下找到。在 Windows 7 上,即 c:\users\%username%

  1. Java 日志

启用日志记录选项(如果已禁用):

  1. 控制面板中,转到 Java 控制面板。
  2. 启用 " 调试 " 下的跟踪和日志记录选项。​​​​​​​

Java 日志位置 c:\%UserProfile%\AppData\LocalLow\Sun\Java\Deployment

在 OCI ( OnCommand Insight ) 7.3.1 及更高版本中

  • 不再支持 Java 32 位,请将 Java 升级到 64 位版本
  • 如果客户将 OCI 升级到 7.3.1 或更高版本,而 Java 客户端过去正常工作且不再正常工作,可通过以下快速解决方法使 Java 客户端重新正常工作
    • 在客户端计算机上,转到用户配置文件目录,例如 "echo %UserProfile%"
    • 删除 "client.truststore" 文件
    • 再启动一次 Java 客户端
  • 如果您使用的是 Java 32 位版本,并且无法升级,则此处的建议是将 " 最大堆大小 " 更改为 1024 ,以便与 32 位 Java 环境兼容。下面介绍了如何进行此更改。
    • 此更改选项仅在 OCI 7.3.1 中可用
    • 要减少最大内存分配, OCI 管理员级用户需要访问 " 原有 " 门户,方法是转到 " 原有门户 https://localhost/legacy/ ) -> 故障排除 - > 配置客户端设置
      " 注意:更改此参数对于所有 Java 客户端都是全局参数

其他信息

附加信息 _text

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.