[teiid-issues] [JBoss JIRA] (TEIID-4070) Issues with resource adapters with api modules in wildfly

Steven Hawkins (JIRA) issues at jboss.org
Sat Mar 12 12:41:00 EST 2016


     [ https://issues.jboss.org/browse/TEIID-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-4070.
-----------------------------------
    Resolution: Done


Refactored the api modules to use their own packages.

> Issues with resource adapters with api modules in wildfly
> ---------------------------------------------------------
>
>                 Key: TEIID-4070
>                 URL: https://issues.jboss.org/browse/TEIID-4070
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.13, 9.0
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 9.0, 8.13.3
>
>
> It appears that WildFly has issues with packages spanning modules, which JBossAS did not.
> With the simpledb and google spreadsheet translators the api module was simply pulled out of the resource adapter with the same package names.  This leads to odd errors at runtime:
> org.teiid.resource.adapter.google.GoogleSpreadsheetConnection: java.lang.ClassCastException: org.teiid.resource.adapter.google.SpreadsheetConnectionImpl cannot be cast to org.teiid.resource.adapter.google.GoogleSpreadsheetConnection
> Even though SpreadsheetConnectionImpl does implement GoogleSpreadsheetConnection and both the resource adapter and translator reference the same api module. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list