[teiid-issues] [JBoss JIRA] (TEIID-4948) java.lang.IllegalArgumentException: No marshaller registered for ispn.G1

Van Halbert (JIRA) issues at jboss.org
Tue Jun 6 15:12:00 EDT 2017


    [ https://issues.jboss.org/browse/TEIID-4948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417214#comment-13417214 ] 

Van Halbert commented on TEIID-4948:
------------------------------------

I saw the previous statement that was removed.  But I think you were right.  When I changed G2 table (column names are now different from G1):

CREATE FOREIGN TABLE G1 (e1 integer PRIMARY KEY, e2 varchar(25), e3 double) OPTIONS(UPDATABLE true, "teiid_ispn:cache" 'datasourceCache');

CREATE FOREIGN TABLE G2 (e5 integer PRIMARY KEY, e6 varchar(25), e7 double) OPTIONS(UPDATABLE true, "teiid_ispn:cache" 'primaryCache');

It all now worked.  I could insert into both and verified each table returned the correct results.

> java.lang.IllegalArgumentException: No marshaller registered for ispn.G1
> ------------------------------------------------------------------------
>
>                 Key: TEIID-4948
>                 URL: https://issues.jboss.org/browse/TEIID-4948
>             Project: Teiid
>          Issue Type: Bug
>          Components: Infinispan
>    Affects Versions: 9.3
>            Reporter: Van Halbert
>            Assignee: Van Halbert
>         Attachments: jdg-remote-cache-ddl-vdb.xml
>
>
> Deploying a VDB that contains 2 models with tables that reference the same JNDI, but defined different caches.  (see vdb attached).
> Can query both caches and based on results, I know they are not the same cache.
> When performing an insert to the first table (G1) it works.  When performing an insert to other table (G2), get the IllegalArgmentException.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list