我正在尝试在 Websphere Liberty Profile 8.5.5 上启动 SOLR 4.3.1。我将 solr.war 放入 dropins 文件夹,并将日志记录 jar(log4j-1.2.16.jar、slf4j-api-1.6.6.jar、slf4j-log4j12-1.6.6.jar)添加为全局库。在 solr 启动期间,会引发以下异常:
java.lang.NullPointerException:
at com.ibm.websphere.ras.TruncatableThrowable.getStackTrace(TruncatableThrowable.java:247)
at [internal classes]
at com.ibm.ws.logging.internal.impl.BaseTraceFormatter.formatMessage(BaseTraceFormatter.java:234)
at com.ibm.ws.logging.internal.impl.BaseTraceFormatter.formatMessage(BaseTraceFormatter.java:191)
at com.ibm.ws.logging.internal.impl.BaseTraceService.publishLogRecord(BaseTraceService.java:447)
at com.ibm.ws.logging.internal.impl.LoggerHandlerManager$BaseTrLoggerHandler.publish(LoggerHandlerManager.java:69)
at java.util.logging.Logger.log(Unknown Source)
at com.ibm.ws.logging.internal.WsLogger.log(WsLogger.java:158)
at com.ibm.ws.logging.internal.WsLogger.logp(WsLogger.java:354)
at com.ibm.ws.webcontainer.webapp.WebApp.logMessage(WebApp.java:2981)
at [internal classes]
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:165)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:155)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
at [internal classes]
有人在 Websphere Liberty 上成功使用 SOLR 吗?