简体   繁体   English

WSO2 DAS与Postgres

[英]WSO2 DAS with Postgres

I am trying to change the WSO2 DAS data source from H2 to postgres. 我正在尝试将WSO2 DAS数据源从H2更改为postgres。

I have configured all the database changes in master-datasource.xml,analytics-datasource.xml and metrics.xml 我已经在master-datasource.xml,analytics-datasource.xml和metrics.xml中配置了所有数据库更改

The below exception is being thrown while creating an event stream 创建事件流时抛出以下异常


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)
----------------------

Please help to solve this issue. 请帮助解决此问题。

Thank you. 谢谢。

Could you please double check the configs on "[DAS_HOME]/repository/conf/analytics/analytics-config.xml" file. 您能否再次检查“ [DAS_HOME] /repository/conf/analytics/analytics-config.xml”文件上的配置。 You could refer to [1] and [2] for more details on the configs. 您可以参考[1]和[2]以获得有关配置的更多详细信息。

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

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

Best Regards, 最好的祝福,

Milinda. 米林达。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM