Bug 1011502
| Summary: | CNF exception when getting data through infinispan-cache translator | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Filip Elias <felias> | ||||||||
| Component: | Teiid | Assignee: | Van Halbert <vhalbert> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 6.0.0 | CC: | atangrin, felias, ldimaggi, vhalbert | ||||||||
| Target Milestone: | CR2 | ||||||||||
| Target Release: | 6.0 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| 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"/>.
|
Story Points: | --- | ||||||||
| Clone Of: | Environment: |
JBoss DV ER2
|
|||||||||
| Last Closed: | 2014-02-06 15:37:16 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 802208 [details]
VDB
Created attachment 802209 [details]
The whole exception
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. Steven Hawkins <shawkins> made a comment on jira TEIID-2673 merged into 8.4.x and 8.6 Van Halbert <vhalbert> made a comment on jira TEIID-2673 Can this closed? The fix has been committed to both branches. 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. Van Halbert <vhalbert> updated the status of jira TEIID-2673 to Resolved 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. Steven Hawkins <shawkins> updated the status of jira TEIID-2673 to Closed 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. Van Halbert <vhalbert> updated the status of jira TEIID-2673 to Reopened Van Halbert <vhalbert> updated the status of jira TEIID-2673 to Coding In Progress Van Halbert <vhalbert> updated the status of jira TEIID-2673 to Resolved Verified on DV 6 CR2 Steven Hawkins <shawkins> updated the status of jira TEIID-2673 to Closed |
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".