IBM Mobilefirst - MFP Analytics 7.1 控制台不显示 MFP 7.1 服务器日志(在服务



我已经正确安装了我的MFP 7.1服务器和MFP 7.1分析服务器。 它们在不同的计算机上运行。 我可以看到服务器日志正在发送到我的MFP分析服务器,但是我在"服务器"选项卡上看不到任何内容。

附上 1) 的屏幕截图)MFP分析服务器"管理"选项卡和2)MFP分析服务器"服务器"服务器"选项卡。

"管理员"选项卡

"服务器"选项卡

这是我的分析服务器.xml(仅供参考,我的两个MFP服务器都安装在IBM Liberty之上)

<server description="simple server">
<application location="analytics.ear"
    name="analytics-ear"
    type="ear">
  <application-bnd>
    <security-role name="worklightadmin">
       <user name="wlanalytic"/>
    </security-role>
    <security-role name="worklightdeployer">
       <user name="deployer"/>
    </security-role>
    <security-role name="worklightmonitor">
       <user name="monitor"/>
    </security-role>
    <security-role name="worklightoperator">
       <user name="operator"/>
    </security-role>
   </application-bnd>
</application>
<basicRegistry id="worklight" realm="worklightRealm">
  <user name="demo" password="demo"/>
  <user name="monitor" password="demo"/>
  <user name="deployer" password="demo"/>
  <user name="operator" password="demo"/>
  <user name="admin" password="admin"/>
  <user name="wlanalytic" password="wl_report" />
</basicRegistry>
    <!-- Enable features -->
    <featureManager>
        <feature>jsp-2.2</feature>
        <feature>jndi-1.0</feature>
        <feature>appSecurity-2.0</feature>
        <feature>ssl-1.0</feature>
    </featureManager>
   <jndiEntry jndiName="analytics/shards" value="6" />
   <jndiEntry jndiName="analytics/replicas_per_shard" value="1" />
   <jndiEntry jndiName="analytics/http.enabled" value="false" />
    <httpEndpoint id="defaultHttpEndpoint"
                  host="*"
                  httpPort="9082"
                  httpsPort="9445"
                  accessLoggingRef="accessLogging"/>
     <httpAccessLogging id="accessLogging"
                logFormat='%h %u %{t}W "%r" %s %b' />
     <ssl id="defaultSSLConfig"
         keyStoreRef="defaultKeyStore"
         trustStoreRef="defaultTrustStore"
         clientAuthenticationSupported="true" />
    <keyStore id="defaultKeyStore" password="changeit"
              location="/default.jks" />
    <keyStore id="defaultTrustStore" password="changeit"
              location="/TrustCA.jks" />
</server>

一些 IBM MFP 专家能否提供一些见解。 谢谢

我没有看到 JNDI 属性:

wl.analytics.logs.forward服务器中设置为 true.xml。您应该具备:

<jndiEntry jndiName="analytics/wl.analytics.logs.forward" value="true" />

您还需要收集特定于 Worklight 的日志。分析只会转发来自com.ibm.worklight.*的服务器日志

最新更新