0

我正在尝试将 WSO2 DAS 数据源从 H2 更改为 postgres。

我已在 master-datasource.xml、analytics-datasource.xml 和 metrics.xml 中配置了所有数据库更改

创建事件流时引发以下异常


java.io.IOException: An exception occurred processing JSP page /eventstream/inner_event_stream_persistence_ui.jsp at line 38

35:     EventStreamPersistenceAdminServiceStub persistenceAdminServiceInnerStub =
36:             EventStreamUIUtils.getEventStreamPersistenceAdminService(config, session, request);
37:     if (EventStreamUIUtils.isEventStreamPersistenceAdminServiceAvailable(persistenceAdminServiceInnerStub)) {
38:         String[] recordStoreNames = persistenceAdminServiceInnerStub.listRecordStoreNames();
39:         pageContext.setAttribute("recordStoreNames", recordStoreNames, PageContext.PAGE_SCOPE);
40:     }
41: %>

Caused by: org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method listRecordStoreNames
        at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
        at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
        at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
        at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
        at org.wso2.carbon.analytics.stream.persistence.stub.EventStreamPersistenceAdminServiceStub.listRecordStoreNames(EventStreamPersistenceAdminServiceStub.java:227)
        at org.apache.jsp.eventstream.create_005fevent_005fstream_jsp._jspService(create_005fevent_005fstream_jsp.java:282)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
----------------------

请帮助解决这个问题。

谢谢你。

4

1 回答 1

-1

您能否仔细检查“[DAS_HOME]/repository/conf/analytics/analytics-config.xml”文件中的配置。有关配置的更多详细信息,您可以参考 [1] 和 [2]。

[1] https://docs.wso2.com/display/DAS300/Datasources

[2] https://docs.wso2.com/display/DAS300/Configuring+Data+Persistence

最好的祝福,

米琳达。

于 2016-05-02T06:14:55.303 回答