我已正确安装了MFP 7.1服务器和MFP 7.1分析服务器。它们在不同的机器上运行。我可以看到服务器日志正在发送到我的MFP分析服务器,但是我在“服务器”选项卡上看不到任何内容。
附件是1)MFP分析服务器“Adminstration”选项卡和2)MFP分析服务器“Sever”选项卡的屏幕截图。
这是我的analytics server.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专家能否提供一些见解。感谢
答案 0 :(得分:0)
我没有看到JNDI属性:
for (i = 1; i <= 7; i++) {
var projectNum = '.project-' + i + ' img';
var idNum = '#id' + i;
$(projectNum).hover(function() {
$(idNum).slideToggle();
});
};
在server.xml中设置为true。你应该:
public static String stringTimes(String theString, int times) {
return times > 0 ? theString + stringTimes(theString, times - 1) : "";
}
您还需要收集特定于worklight的日志。 Google Analytics只会从wl.analytics.logs.forward