WSO2 DAS 与 Postgres
WSO2 DAS with Postgres
我正在尝试将 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)
----------------------
请帮忙解决这个问题。
谢谢。
请您仔细检查“[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
此致,
米琳达。
我正在尝试将 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)
----------------------
请帮忙解决这个问题。
谢谢。
请您仔细检查“[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
此致,
米琳达。