Van Halbert created TEIIDDES-2919:
-------------------------------------
Summary: When multiple resource-adapters are defined for the same type,
incorrect info is seen in Teiid Conn. Impoter
Key: TEIIDDES-2919
URL:
https://issues.jboss.org/browse/TEIIDDES-2919
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 10.0.1
Reporter: Van Halbert
Priority: Critical
Setup:
Configured 2 resource-adapters of the same type.
{code}
<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>
{code}
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)