简介

    本文介绍如何解决未列出流程或服务的统一联系中心企业版(UCCE)诊断框架门户的问题。

    先决条件

    要求

    Cisco 建议您了解以下主题:

    • UCCE
    • 诊断框架门廊

    使用的组件

    本文档不限于特定的软件和硬件版本。

    本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您的网络处于活动状态,请确保您了解所有命令的潜在影响。

    问题

    打开诊断框架门户时,无法列出服务或进程。

    当您尝试列出您获得的服务时:

    ListServicesReply (Error) 

    No ICM service found.

    当您尝试列出进程时,未列出任何内容。

    在系统CLI中, show process 命令会发出警告:

    admin:show processes
    
    Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser:
    Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized. Warning: org.apache.xerces.parsers.SAXParser:
    Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized. Warning: org.apache.xerces.parsers.SAXParser:
    Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.

    如果访问URL https://localhost:7890/icm-dp/rest/DiagnosticPortal/,它不起作用:

     <?xml version="1.0" encoding="utf-8" ?>
    - <dp:ListProcessesReply ReturnCode="0"
    xmlns:dp=" http://www.cisco.com/vtg/diagnosticportal"<http://www.cisco.com/vtg/diagnosticportal%22>>; <dp:Schema Version="1.0" /> </dp:ListProcessesReply>

    解决方案

    这是由于Windows Management Instrumentation(WMI)失败导致的。

    从诊断框架日志中,当检索到服务状态时,您可以看到WMI服务出现异常:

    148048: LCDSA4104: Aug 17 2017 05:42:58.126 -04:00: %ListServices-INFO-[3132736] Request received.
    148049: LCDSA4104: Aug 17 2017 05:42:58.126 -04:00: %ListServices-INFO-[3132736] Creating reply: 
    148050: LCDSA4104: Aug 17 2017 05:42:58.126 -04:00: %ListServices-DEBUG-[3132736] Retrieving ICM Services Installed on the System
    148051: LCDSA4104: Aug 17 2017 05:42:58.131 -04:00: %ListServices-ERROR-[3132736] Exception while getting the service: Not found 
    148052: LCDSA4104: Aug 17 2017 05:42:58.136 -04:00: %ListServices-DEBUG-[3132736] The Exception trace is : 
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementScope.InitializeGuts(Object o) at System.Management.ManagementScope.Initialize() at System.Management.ManagementObject.Initialize(Boolean getObject) at System.Management.ManagementObject.Get() at Cisco.ICM.Serviceability.Diagnostics.DFSvcMgr.ListServices(String sInstance)

    要修复此问题,请重新创建WMI存储库。请参见重建WMI存储库