服务器版本:7.1.0.00.20160229-1240 WebSphere ND 8.5.5.9
移动应用程序通过调用WL.Logger.send()方法,通过WLClientLogReceiver适配器将日志发送到服务器;我确实通过终端在应用服务器SystemOut.log中看到来自Mobile应用程序的日志。
但是Operational Analytics控制台没有加载任何客户端和服务器日志。它在管理选项卡中显示ZERO文档。但它有其他事务的文档,如会话,适配器调用,设备等。
尝试使用某些关键字搜索日志时,在Application Server的SystemOut.log文件中出现以下错误。
[4/5/16 16:05:31:029 CDT] 000000fb JavaScriptInt我com.worklight.integration.js.JavaScriptIntegrationLibraryImplementation info收到的设备日志[project metlifepoc] [4/5/16 16:05:55:428 CDT] 0000011e RequestProces E org.apache.wink.server.internal.RequestProcessor handleRequest发生未处理的异常,该异常将传播到容器。 [4/5/16 16:05:55:429 CDT] 0000011e ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper服务SRVE0068E:应用程序中servlet [data]的一种服务方法抛出异常[IMF运营分析]。创建异常:[org.elasticsearch.action.search.SearchPhaseExecutionException:无法执行阶段[查询],所有分片都失败; shardFailures {[Kdo8LGq9QTy-ghZsOC-8Xw] [worklight] [0]:SearchParseException [[worklight] [0]:从[0]开始,大小[10]:解析失败[无法解析源[{"来自&# 34;:0,"大小":10,"查询" {"过滤" {"查询" {" query_string":{" query":" message:met *"," default_operator":" and","分析器":"归一化"" lowercase_expanded_terms":真," analyze_wildcard":真}},"过滤器" {&# 34;布尔" {"必须" {"范围" {"时间戳" {"从":&#34 ; 1459310400000""至":" 1459915199999"" include_lower":真," include_upper":真}}}}} }},"排序":[{"时间戳" {"为了":"降序"}}]}]]];嵌套:NoClassDefFoundError [org.apache.lucene.analysis.icu.ICUFoldingFilter(initialization failure)];嵌套:RuntimeException [java.io.IOException:ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件];嵌套:IOException [ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件]; } {[Kdo8LGq9QTy-ghZsOC-8Xw] [worklight] 1:SearchParseException [[worklight] 1:从[0]开始,大小[10]:解析失败[无法解析源[{&#] 34;从":0,"大小":10,"查询" {"过滤" {"查询":{ " query_string":{" query":" message:met *"," default_operator":"和", "分析器":"归一化"" lowercase_expanded_terms":真," analyze_wildcard":真}},"过滤器" :{"布尔" {"必须" {"范围" {"时间戳" {"从" :" 1459310400000""至":" 1459915199999"" include_lower":真," include_upper":真} }}}}}}"排序":[{"时间戳" {"为了":"降序"}}]}] ]];嵌套:NoClassDefFoundError [org.apache.lucene.analysis.icu.ICUFoldingFilter(initialization failure)];嵌套:RuntimeException [java.io.IOException:ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件];嵌套:IOException [ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件]; } {[Kdo8LGq9QTy-ghZsOC-8Xw] [worklight] [2]:SearchParseException [[worklight] [2]:from [0],size [10]:Parse Failure [无法解析源[{"来自&# 34;:0,"大小":10,"查询" {"过滤" {"查询" {" query_string":{" query":" message:met *"," default_operator":" and","分析器":"归一化"" lowercase_expanded_terms":真," analyze_wildcard":真}},"过滤器" {&# 34;布尔" {"必须" {"范围" {"时间戳" {"从":&#34 ; 1459310400000""至":" 1459915199999"" include_lower":真," include_upper":真}}}}} }},"排序":[{"时间戳" {"为了":"降序"}}]}]]];嵌套:NoClassDefFoundError [org.apache.lucene.analysis.icu.ICUFoldingFilter(initialization failure)];嵌套:RuntimeException [java.io.IOException:ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件];嵌套:IOException [ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件]; } {[Kdo8LGq9QTy-ghZsOC-8Xw] [worklight] [3]:SearchParseException [[worklight] [3]:from [0],size [10]:Parse Failure [无法解析源[{"来自&# 34;:0,"大小":10,"查询" {"过滤" {"查询" {" query_string":{" query":" message:met *"," default_operator":" and","分析器":"归一化"" lowercase_expanded_terms":真," analyze_wildcard":真}},"过滤器" {&# 34;布尔" {"必须" {"范围" {"时间戳" {"从":&#34 ; 1459310400000""至":" 1459915199999"" include_lower":真," include_upper":真}}}}} }},"排序":[{"时间戳" {"为了":"降序"}}]}]]];嵌套:NoClassDefFoundError [org.apache.lucene.analysis.icu.ICUFoldingFilter(initialization failure)];嵌套:RuntimeException [java.io.IOException:ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件];嵌套:IOException [ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件]; } {[Kdo8LGq9QTy-ghZsOC-8Xw] [worklight] [4]:SearchParseException [[worklight] [4]:从[0]开始,大小[10]:解析失败[无法解析源[{"来自&# 34;:0,"大小":10,"查询" {"过滤" {"查询" {" query_string":{" query":" message:met *"," default_operator":" and","分析器":"归一化"" lowercase_expanded_terms":真," analyze_wildcard":真}},"过滤器" {&# 34;布尔" {"必须" {"范围" {"时间戳" {"从":&#34 ; 1459310400000""至":" 1459915199999"" include_lower":真," include_upper":真}}}}} }},"排序":[{"时间戳" {"为了":"降序"}}]}]]];嵌套:NoClassDefFoundError [org.apache.lucene.analysis.icu.ICUFoldingFilter(initialization failure)];嵌套:RuntimeException [java.io.IOException:ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件];嵌套:IOException [ICU数据文件错误:标头验证失败,请检查您是否有有效的ICU数据文件]; } at org.elasticsearch.action.search.type.TransportSearchTypeAction $ BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:276) at org.elasticsearch.action.search.type.TransportSearchTypeAction $ BaseAsyncAction $ 3.onFailure(TransportSearchTypeAction.java:224) 在org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:205) at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction $ AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80) at org.elasticsearch.action.search.type.TransportSearchTypeAction $ BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:216) at org.elasticsearch.action.search.type.TransportSearchTypeAction $ BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:203) at org.elasticsearch.action.search.type.TransportSearchTypeAction $ BaseAsyncAction $ 2.run(TransportSearchTypeAction.java:186) at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:918) 在java.lang.Thread.run(Thread.java:790) ] [4/5/16 16:05:55:443 CDT] 0000011e FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:在/ metlife / runtime / installed / WebSphere / AppServer / profiles / AppSrv01上发出的FFDC事件/logs/ffdc/MobileFirstAppServer_4475157a_16.04.05_16.05.55.4322080935388977381237.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters -RE 1123
答案 0 :(得分:1)
通过将analytics-service.war的classLoader设置为parentLast来解决此问题。