我按照本指南在以下位置添加分析上下文根:http ://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/monitor/t_installing_op_analytics_liberty.html
但是我找不到上下文根。
我的部分错误日志:
[2/16/15 8:44:15:327 EST] 0000005f com.ibm.ws.session.WASSessionCore I SESN0175I: An existing session context will be used for application key default_host/analytics
[2/16/15 8:44:15:369 EST] 0000005f com.ibm.ws.webcontainer.webapp W SRVE0274W: Error while adding servlet mapping for path-->/data/*, wrapper-->ServletWrapper[data:[/data/*]], application-->analytics.
[2/16/15 8:44:15:388 EST] 0000005f com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I: An FFDC Incident has been created: "java.lang.NoClassDefFoundError: org.apache.wink.providers.abdera.AbderaAtomFeedProvider (initialization failure) com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp" at ffdc_15.02.16_08.44.15.0.log
[2/16/15 8:44:30:995 EST] 00000018 com.ibm.ws.session.WASSessionCore I SESN0175I: An existing session context will be used for application key default_host/analytics
[2/16/15 8:44:31:032 EST] 00000018 com.ibm.ws.webcontainer.webapp W SRVE0274W: Error while adding servlet mapping for path-->/data/*, wrapper-->ServletWrapper[data:[/data/*]], application-->analytics.
[2/16/15 8:45:36:135 EST] 0000001d com.ibm.puremeap.util.android.AAPT I findAAPT: Could not find aapt. Please set property android.aapt or android.aapt.dir.
[2/16/15 8:49:51:147 EST] 00000093 com.ibm.ws.session.WASSessionCore I SESN0175I: An existing session context will be used for application key default_host/analytics
[2/16/15 8:49:51:178 EST] 00000093 com.ibm.ws.webcontainer.webapp W SRVE0274W: Error while adding servlet mapping for path-->/data/*, wrapper-->ServletWrapper[data:[/data/*]], application-->analytics.
[2/16/15 8:52:17:431 EST] 00000077 com.ibm.ws.session.WASSessionCore I SESN0175I: An existing session context will be used for application key default_host/analytics
[2/16/15 8:52:17:467 EST] 00000077 com.ibm.ws.webcontainer.webapp W SRVE0274W: Error while adding servlet mapping for path-->/data/*, wrapper-->ServletWrapper[data:[/data/*]], application-->analytics.
[2/16/15 8:52:44:771 EST] 00000021 .ibm.ws.webcontainer.security.WebAppSecurityCollaboratorImpl A CWWKS9104A: Authorization failed for user demo while invoking worklightadmin on /. The user is not granted access to any of the required roles: [worklightadmin, worklightmonitor, worklightoperator, worklightdeployer]
另一个日志:
[2/16/15 9:45:15:769 EST] 00000018 com.ibm.ws.session.WASSessionCore I SESN0175I: An existing session context will be used for application key default_host/analytics
[2/16/15 9:45:15:801 EST] 00000018 com.ibm.ws.webcontainer.webapp W SRVE0274W: Error while adding servlet mapping for path-->/data/*, wrapper-->ServletWrapper[data:[/data/*]], application-->analytics.
[2/16/15 9:45:15:822 EST] 00000018 com.ibm.ws.logging.internal.impl.IncidentImpl I FFDC1015I: An FFDC Incident has been created: "java.lang.NoClassDefFoundError: org.apache.wink.providers.abdera.AbderaAtomFeedProvider (initialization failure) com.ibm.ws.webcontainer.osgi.VirtualHost startWebApp" at ffdc_15.02.16_09.45.15.0.log
[2/16/15 9:45:19:308 EST] 0000001d com.ibm.ws.session.WASSessionCore I SESN0175I: An existing session context will be used for application key default_host/analytics
[2/16/15 9:45:19:343 EST] 0000001d com.ibm.ws.webcontainer.webapp W SRVE0274W: Error while adding servlet mapping for path-->/data/*, wrapper-->ServletWrapper[data:[/data/*]], application-->analytics.
worklnew:/opt/IBM/WebSphere/Liberty/usr/servers/defaultServer/logs #
服务器.xml:
https://www.dropbox.com/s/f5afsr3jfmv0h7y/serverxmlforpmr.xml?dl=0