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

Ramesh Reddy (JIRA) issues at jboss.org
Sun Mar 13 13:18:00 EDT 2016


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

Ramesh Reddy commented on TEIID-4070:
-------------------------------------

I think I see this issue with in general with "bundle" packaging, and same java packages in two different modules.

> 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