]
Barry LaFond resolved TEIIDDES-2852.
------------------------------------
Fix Version/s: 11.0.1
(was: 11.1)
Resolution: Out of Date
Import from Infinispan issue
----------------------------
Key: TEIIDDES-2852
URL:
https://issues.jboss.org/browse/TEIIDDES-2852
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 10.0.1
Reporter: Matus Makovy
Assignee: Barry LaFond
Fix For: 11.0.1
Attachments: Screen Shot 2016-06-03 at 15.38.12.png, Screen Shot 2016-06-03 at
15.38.17.png, Screen Shot 2016-06-06 at 14.51.05 (3).png
If I want to import from Infinispan (remote-cache) using Teiid Connection import in TD
and I have a resource adapter defined like this:
{code:xml}
<resource-adapter id="infinispan-remote-cache-ds">
<module slot="main"
id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
<transaction-support>LocalTransaction</transaction-support>
<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="infinispan-remote-cache-ds">
<config-property
name="ProtobufDefinitionFile">
/org/jboss/qe/jdg/remote/protobuf/SmallA.proto
</config-property>
<config-property name="RemoteServerList">
dvqe01.mw.lab.eng.bos.redhat.com:11322
</config-property>
<config-property name="MessageMarshallers">
org.jboss.qe.jdg.pojo.SmallA:org.jboss.qe.jdg.remote.marshaller.SmallAMarshaller
</config-property>
<config-property name="CacheTypeMap">
smallARemotecache:org.jboss.qe.jdg.pojo.SmallA;intKey
</config-property>
<config-property name="Module">
org.jboss.qe.jdg.pojos
</config-property>
<config-property name="MessageDescriptor">
org.jboss.qe.jdg.remote.protobuf.SmallA
</config-property>
</connection-definition>
</connection-definitions>
</resource-adapter>
{code}
I am getting this error in TD - see attached screenshot.
And I cannot continue through the wizard.
I have to add another resource adapter that works like a driver for the previous one. The
configuration looks like this:
{code:xml}
<resource-adapter id="infinispan-remote-driver">
<module slot="main"
id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
</resource-adapter>
{code}
After adding this^ "driver" everything works.
Is this a TD bug? or is it supposed to work this way ?