WSO2CEPバージョン4.2.0を使用しています。 mysql-connector-java-5.1.40.jarを使用してバックエンドでMySQLデータベース(Oracleのバージョン5.6.34-1コミュニティ版)に接続しています。 master-datasources.xmlにいくつかの接続を設定し、データソースでそれらをテストする際に、すべての接続に対して「Connection is healthy」を受け取ります。我々は、参照データベースにアクセスするイベント・パブリッシャーを使用しようとするとエラーが表示されます。WSO2CEP 4.2.0エラー:必須属性のヌルが存在しません
[2017-01-24 17:11:22,178] ERROR {org.wso2.carbon.event.publisher.admin.EventPublisherAdminService} - org.wso2.carbon.event.output.adapter.core.exception.OutputEventAdapterRuntimeException: A mandatory attribute null does not exist org.wso2.carbon.event.publisher.core.exception.EventPublisherConfigurationException: org.wso2.carbon.event.output.adapter.core.exception.OutputEventAdapterRuntimeException: A mandatory attribute null does not exist at org.wso2.carbon.event.publisher.core.EventPublisherDeployer.processDeployment(EventPublisherDeployer.java:227) at org.wso2.carbon.event.publisher.core.EventPublisherDeployer.executeManualDeployment(EventPublisherDeployer.java:249) .........several lines after this ...............
私たちのチームは途方に暮れて一種のです、我々はしようとすると、データベース・ユーザーにDDLを含むブランケット権限を与えるようなものを試してみましたmysql-connector-java jarのバージョンを変更しています。
コード内でエラーが発生した場所は、RDBMSEventAdapter.java:548にあります。https://github.com/wso2/carbon-analytics-common/blob/0824ddc494e605e93a775dd01691f7d9ceaeb226/components/event-publisher/event -output-adapters/org.wso2.carbon.event.output.adapter.rdbms/src/main/java/org/wso2/carbon/event/output/adapter/rdbms/RDBMSEventAdapter.java。コードがフィーチャセットを反復して、データベース接続がそれらの機能をサポートしているかどうかを確認しようとしていますか?完全にはわかりませんが、なぜ "null"はサポートされていないと言っていますか?欠けているものを列挙してはいけませんか? –