SBB で Jdbc リソース アダプタ 7.1.15 を使用しています。単一のデータソースでうまく機能しています。現在、SBB 内から 2 番目のデータソースと通信する必要がありますが、それを行う方法が見つかりませんでした。
resources/jdbc/ra/src/main/resources/META-INF/ の resource-adaptor-jar.xml を更新してみました。以下のような DATASOURCE_JNDI_NAME. の別の構成プロパティを追加することにより
<resource-adaptor ignore-ra-type-event-type-check="True">
<resource-adaptor-name>JdbcResourceAdaptor</resource-adaptor-name>
<resource-adaptor-vendor>org.restcomm</resource-adaptor-vendor>
<resource-adaptor-version>1.0</resource-adaptor-version>
<resource-adaptor-type-ref>
<resource-adaptor-type-name>JDBCResourceAdaptorType</resource-adaptor-type-name>
<resource-adaptor-type-vendor>org.restcomm</resource-adaptor-type-vendor>
<resource-adaptor-type-version>1.0</resource-adaptor-type-version>
</resource-adaptor-type-ref>
<resource-adaptor-classes>
<resource-adaptor-class>
<resource-adaptor-class-name>
org.restcomm.slee.resource.jdbc.JdbcResourceAdaptor
</resource-adaptor-class-name>
</resource-adaptor-class>
</resource-adaptor-classes>
<config-property>
<config-property-name>DATASOURCE_JNDI_NAME</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>java:/ExampleDS</config-property-value>
</config-property>
<config-property>
<config-property-name>DATASOURCE_JNDI_NAME</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>java:/ExampleDS_2</config-property-value>
</config-property>
<config-property>
<config-property-name>EXECUTOR_SERVICE_THREADS</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>4</config-property-value>
</config-property>
<config-property>
<config-property-name>RA_SBB_INTERFACE_CONNECTION_GETTERS_ON</config-property-name>
<config-property-type>java.lang.Boolean</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
</resource-adaptor>
しかし、展開するとすぐに展開エラーが発生します。私の質問は、同時に 2 つ以上のデータソースを使用するように jdbc RA を構成する方法はありますか?