Bug 1011502 - CNF exception when getting data through infinispan-cache translator
Summary: CNF exception when getting data through infinispan-cache translator
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: CR2
: 6.0
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-24 12:42 UTC by Filip Elias
Modified: 2014-07-09 05:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
When using the infinispan-cache translator to access a remote 6.1 hot rod cache, users will need to update the module. In org.jboss.teiid.resource-adapter.infinispan/main/module.xml, add dependency <module name="org.jboss.marshalling"/>.
Clone Of:
Environment:
JBoss DV ER2
Last Closed: 2014-02-06 15:37:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
configuration of resource adapter (1.06 KB, text/plain)
2013-09-24 12:42 UTC, Filip Elias
no flags Details
VDB (2.77 KB, text/xml)
2013-09-24 12:43 UTC, Filip Elias
no flags Details
The whole exception (6.82 KB, text/x-log)
2013-09-24 12:45 UTC, Filip Elias
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-2673 0 Major Closed CNF exception when getting data through infinispan-cache translator 2016-12-16 21:34:52 UTC

Description Filip Elias 2013-09-24 12:42:49 UTC
Created attachment 802207 [details]
configuration of resource adapter

When getting data through infinispan-cache translator using remote hot rod access, DV will throw "...ClassNotFoundException: org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory". 

My configuration file and VDB are in the attachment.

Workaround:
Add "<module name="org.infinispan.client.hotrod"/>" as a dependency into module "org.jboss.teiid".

Comment 1 Filip Elias 2013-09-24 12:43:48 UTC
Created attachment 802208 [details]
VDB

Comment 2 Filip Elias 2013-09-24 12:45:47 UTC
Created attachment 802209 [details]
The whole exception

Comment 3 JBoss JIRA Server 2013-10-01 14:26:57 UTC
Van Halbert <vhalbert> made a comment on jira TEIID-2673

Moved the call to create the cache container from within the inner class method getConnection(), to the logic prior to creating the BasicConnectionFactory, so that its created on the connection pool class loader, and not on the translator class loader.

Comment 4 JBoss JIRA Server 2013-10-01 16:48:07 UTC
Steven Hawkins <shawkins> made a comment on jira TEIID-2673

merged into 8.4.x and 8.6

Comment 12 JBoss JIRA Server 2013-10-11 18:59:02 UTC
Van Halbert <vhalbert> made a comment on jira TEIID-2673

Can this closed?  The fix has been committed to both branches.

Comment 13 JBoss JIRA Server 2013-10-11 19:02:57 UTC
Steven Hawkins <shawkins> made a comment on jira TEIID-2673

Who is that a question for?  If you've tested it, I'd say go ahead and resolve it.

Comment 14 JBoss JIRA Server 2013-10-11 19:08:02 UTC
Van Halbert <vhalbert> updated the status of jira TEIID-2673 to Resolved

Comment 15 JBoss JIRA Server 2013-10-11 19:08:02 UTC
Van Halbert <vhalbert> made a comment on jira TEIID-2673

Created and tested the fix on the 8.4.1 branch and pushed the changes upstream to 8.6.

Comment 17 JBoss JIRA Server 2013-12-05 20:51:52 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2673 to Closed

Comment 18 Filip Elias 2014-01-03 14:17:31 UTC
DV6 still throws exception when getting data through infinispan-cache translator using remote hot rod access. 

Exception:
Throwable while attempting to get a new connection: null: java.lang.NoClassDefFoundError: org/jboss/marshalling/ClassResolver

Workaround: 
Add dependency <module name="org.jboss.marshalling"/> into org.jboss.teiid.resource-adapter.infinispan module.

Tested on DV6 CR1 and JDG 6.1.

Comment 19 JBoss JIRA Server 2014-01-03 19:17:38 UTC
Van Halbert <vhalbert> updated the status of jira TEIID-2673 to Reopened

Comment 20 JBoss JIRA Server 2014-01-03 19:17:45 UTC
Van Halbert <vhalbert> updated the status of jira TEIID-2673 to Coding In Progress

Comment 21 JBoss JIRA Server 2014-01-06 21:04:43 UTC
Van Halbert <vhalbert> updated the status of jira TEIID-2673 to Resolved

Comment 22 Filip Elias 2014-01-17 11:27:49 UTC
Verified on DV 6 CR2

Comment 23 JBoss JIRA Server 2014-04-22 18:24:11 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-2673 to Closed


Note You need to log in before you can comment on or make changes to this bug.