Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4070

Issues with resource adapters with api modules in wildfly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0, 8.13.3
    • 8.13, 9.0
    • Misc. Connectors
    • None

      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.

              rhn-engineering-shawkins Steven Hawkins
              rhn-engineering-shawkins Steven Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: