Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2919

When multiple resource-adapters are defined for the same type, incorrect info is seen in Teiid Conn. Impoter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 11.1
    • 10.0.1
    • Import/Export
    • None

      Setup:

      Configured 2 resource-adapters of the same type.

                     <resource-adapter id="infinispanRemQSDSL">
                          <module slot="main" id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
                          <connection-definitions>
                              <connection-definition class-name="org.teiid.resource.adapter.infinispan.dsl.InfinispanManagedConnectionFactory" jndi-name="java:/infinispanRemoteDSL" enabled="true" use-java-context="true" pool-name="infinispanRemoteDSL">
                                  <config-property name="MessageDescriptor">
                                      quickstart.Person
                                  </config-property>
                                  <config-property name="Module">
                                      com.client.quickstart.addressbook.pojos
                                  </config-property>
                                  <config-property name="MessageMarshallers">
                                      com.client.quickstart.addressbook.pojos.domain.Person:com.client.quickstart.addressbook.pojos.marshallers.PersonMarshaller,com.client.quickstart.addressbook.pojos.domain.PhoneNumber:com.client.quickstart.addressbook.pojos.marshallers.PhoneNumberMarshaller,com.client.quickstart.addressbook.pojos.domain.Address:com.client.quickstart.addressbook.pojos.marshallers.AddressMarshaller
                                  </config-property>
                                  <config-property name="ProtobufDefinitionFile">
                                      /quickstart/addressbook.proto
                                  </config-property>
                                  <config-property name="RemoteServerList">
                                      127.0.0.1:11322
                                  </config-property>
                                  <config-property name="CacheTypeMap">
                                      addressbook_indexed:com.client.quickstart.addressbook.pojos.domain.Person;id
                                  </config-property>
                              </connection-definition>
                          </connection-definitions>
                      </resource-adapter>
      
                     <resource-adapter id="infinispanQSDSLTest">
                          <module slot="main" id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
                          <connection-definitions>
                              <connection-definition class-name="org.teiid.resource.adapter.infinispan.dsl.InfinispanManagedConnectionFactory" jndi-name="java:/infinispanRemoteDSLTest" enabled="true" use-java-context="true" pool-name="infinispanRemoteDSLTest">
                                  <config-property name="MessageDescriptor">
                                      quickstart.Person
                                  </config-property>
                                  <config-property name="Module">
                                      com.client.quickstart.addressbook.pojos
                                  </config-property>
                                  <config-property name="MessageMarshallers">
                                      com.client.quickstart.addressbook.pojos.domain.Person:com.client.quickstart.addressbook.pojos.marshallers.PersonMarshaller,com.client.quickstart.addressbook.pojos.domain.PhoneNumber:com.client.quickstart.addressbook.pojos.marshallers.PhoneNumberMarshaller,com.client.quickstart.addressbook.pojos.domain.Address:com.client.quickstart.addressbook.pojos.marshallers.AddressMarshaller
                                  </config-property>
                                  <config-property name="ProtobufDefinitionFile">
                                      /quickstart/addressbook.proto
                                  </config-property>
                                  <config-property name="RemoteServerList">
                                      127.0.0.1:11322
                                  </config-property>
                                  <config-property name="CacheTypeMap">
                                      addressbook_indexed:com.client.quickstart.addressbook.pojos.domain.Person;id
                                  </config-property>
                              </connection-definition>
                          </connection-definitions>
                      </resource-adapter>
      
      

      and when using Teiid Connection importer, the driver information (which corresponds to the "ID") is the same.

      Tried with 2 file resource-adapters and similar behavior.

            blafond Barry LaFond
            van.halbert Van Halbert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: