0

분석 데이터가 기록되지 않는 이유를 추적하고 있습니다. 아래에서 설명하는 오류 메시지가 표시됩니다. 분석 데이터를 기록하려고 시도 할 때 발생합니다. 이 메시지가 중요합니까? 수정해야 할 부분은 무엇입니까?MobileFirst 운영 분석 javax.xml.transform.TransformerFactoryConfigurationError

나는 전용 리버티 서버에 배포 조작 웹 로그 분석 EAR을

product = WebSphere Application Server 8.5.5.0 (wlp-1.0.3.20130510-0831) 
wlp.install.dir = /home/virtuser/IBM/WebSphere/Liberty/ 
java.home = /home/virtuser/IBM/WebSphere/Liberty/java/java_1.7_64/jre 
java.version = 1.7.0 
java.runtime = Java(TM) SE Runtime Environment (pxa6470sr4fp1ifx-20130423_02 (SR4 FP1+IV38579+IV38399+IV40208)) 
os = Linux (2.6.32-358.el6.x86_64; amd64) (en_GB) 

그리고 약간의 분석 데이터가 messages.log이 오류가 로그인을 시도 할 때

Uncaught.init.exception.thrown.by.servlet 
data 
worklight-analytics-ear 
javax.xml.transform.TransformerFactoryConfigurationError: Provider for 
    javax.xml.transform.TransformerFactory cannot be found 

[30/01/15 05:24:20:853 EST] 00000022 org.apache.wink.server.internal.log.Resources    I The server has registered the JAX-RS resource class com.ibm.elasticsearch.servlet.DataReceiver with @Path(/). 
[30/01/15 05:24:20:854 EST] 00000022 org.apache.wink.server.internal.log.Providers    I There are no custom JAX-RS providers defined in the application. 
[30/01/15 05:24:20:860 EST] 00000022 pache.wink.common.internal.application.ApplicationFileLoader E The runtime environment failed to instantiate the org.apache.wink.common.internal.providers.entity.SourceProvider$StreamSourceProvider class. Ensure that the class is not abstract, has a valid constructor, has the right visibility, and is not an inner member class. 
java.lang.NoClassDefFoundError: org.apache.wink.common.internal.providers.entity.SourceProvider$StreamSourceProvider (initialization failure) 
     at java.lang.J9VMInternals.initialize(J9VMInternals.java:176) 
     at java.lang.Class.forNameImpl(Native Method) 
     at java.lang.Class.forName(Class.java:219) 
     at org.apache.wink.common.internal.utils.ClassUtils$1.run(ClassUtils.java:73) 
     at java.security.AccessController.doPrivileged(AccessController.java:229) 
     at org.apache.wink.common.internal.utils.ClassUtils.loadClass(ClassUtils.java:66) 

[30/01/15 05:25:09:342 EST] 0000001e 

com.ibm.ws.logging.internal.impl.IncidentImpl    I FFDC1015I: An FFDC Incident has been created: "org.elasticsearch.action.search.SearchPhaseExecutionException: 
Failed to execute phase [query], all shards failed; shardFailures {[beBqcnofT52DPVzgChWm_Q][worklight][1]: SearchParseException[[worklight][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"facets":{"termsFacet":{"date_histogram":{"field":"gadgets.HybridApp.firstAccess","interval":"1h"},"facet_filter":{"bool":{"must":{"range":{"gadgets.HybridApp.firstAccess":{"from":1422527109262,"to":1422613509262,"include_lower":true,"include_upper":true}}}}}}}}]]]; nested: FacetPhaseExecutionException[Facet [termsFacet]: (key) field [gadgets.HybridApp.firstAccess] not found]; }{[beBqcnofT52DPVzgChWm_Q][worklight][2]: SearchParseException[[worklight][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"facets":{"termsFacet":{"date_histogram":{"field":"gadgets.HybridApp.firstAccess","interval":"1h"},"facet_filter":{"bool":{"must":{"range":{"gadgets.HybridApp.firstAccess":{"from":1422527109262,"to":1422613509262,"include_lower":true,"include_upper":true}}}}}}}}]]]; nested: FacetPhaseExecutionException[Facet [termsFacet]: (key) field [gadgets.HybridApp.firstAccess] not found]; }{[beBqcnofT52DPVzgChWm_Q][worklight][3]: SearchParseException[[worklight][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"facets":{"termsFacet":{"date_histogram":{"field":"gadgets.HybridApp.firstAccess","interval":"1h"},"facet_filter":{"bool":{"must":{"range":{"gadgets.HybridApp.firstAccess":{"from":1422527109262,"to":1422613509262,"include_lower":true,"include_upper":true}}}}}}}}]]]; nested: FacetPhaseExecutionException[Facet [termsFacet]: (key) field [gadgets.HybridApp.firstAccess] not found]; }{[beBqcnofT52DPVzgChWm_Q][worklight][4]: SearchParseException[[worklight][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"facets":{"termsFacet":{"date_histogram":{"field":"gadgets.HybridApp.firstAccess","interval":"1h"},"facet_filter":{"bool":{"must":{"range":{"gadgets.HybridApp.firstAccess":{"from":1422527109262,"to":1422613509262,"include_lower":true,"include_upper":true}}}}}}}}]]]; nested: FacetPhaseExecutionException[Facet [termsFacet]: (key) field [gadgets.HybridApp.firstAccess] not found]; }{[beBqcnofT52DPVzgChWm_Q][worklight][0]: SearchParseException[[worklight][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"facets":{"termsFacet":{"date_histogram":{"field":"gadgets.HybridApp.firstAccess","interval":"1h"},"facet_filter":{"bool":{"must":{"range":{"gadgets.HybridApp.firstAccess":{"from":1422527109262,"to":1422613509262,"include_lower":true,"include_upper":true}}}}}}}}]]]; nested: FacetPhaseExecutionException[Facet [termsFacet]: (key) field [gadgets.HybridApp.firstAccess] not found]; } com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters 1105" at ffdc_15.01.30_05.25.09.0.log 

참고 :

내 server.xml에이 가지고 마지막 메시지에 소스를 구문 분석하는 데 실패 구문 분석 실패 [:

<featureManager> 
     <feature>jsp-2.2</feature> 
     <feature>jndi-1.0</feature> 
     <feature>appSecurity-1.0</feature> 
    </featureManager> 

    <httpEndpoint id="defaultHttpEndpoint" 
        host="localhost" 
        httpPort="9082" 
        httpsPort="9445" /> 

<jndiEntry jndiName="analytics/httpport" value="9500" /> 
<jndiEntry jndiName="analytics/transportport" value="9600" /> 

<jndiEntry jndiName="analytics/masternodes" value="localhost:9600,anotherhost:9600" /> 
<jndiEntry jndiName="analytics/shards" value="12" /> 


<application location="worklight-analytics.ear" 
      name="worklight-analytics-ear" 
      type="ear"> 
    ... registry and role entries here ... 
<classloader delegation="parentLast"/> 
</application> 

답변

1

당신은 server.xml에서 다음 제거하려고 할 수 분석을위한 항목?

<classloader delegation="parentLast"/> 

제거한 후에는 분석 콘솔을 다시 시작하여 작동 여부를 확인하십시오.

+0

고마워요. jnortey가 시도해 봤지만,이 설정은 InfoCenter에 문서화되어 있으므로 중요하다고 생각했습니다. – djna

+0

그래, 설명서가 잘못되었을 수도 있습니다. – jnortey

+0

감사합니다. 메시지의 원인 인 것 같습니다. – djna