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

Infinispan dsl resource-adapter has not valid module.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.0, 8.12.5
    • None
    • Misc. Connectors
    • None

    Description

      There is a problem in mentioned module when server attempts to load it:

      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      [standalone@localhost:9999 /] /subsystem=resource-adapters/resource-adapter=infinispandsl:add(module=org.jboss.teiid.resource-adapter.infinispan.dsl)
      {
          "outcome" => "failed",
          "failure-description" => "JBAS010473: Failed to load module for RA [org.jboss.teiid.resource-adapter.infinispan.dsl]",
          "rolled-back" => true
      }
      

      It is not valid module according to the 'urn:jboss:module:1.1' schema.
      Problematic fragment:

      <dependencies>
      ...
      <module name="org.infinispan.query" slot="jdg-6.6" optional="true" export="true" services="true" />
      ...
      </dependencies>
      

      According to the mentioned schema the attribute 'services' can have only values:

      • none
      • import
      • export

      This issue prevents a user from using the adapter.

      Furthermore I am not sure that name 'org.infinispan.query' of the dependency module is correct. I haven't found such module in jdg client libs, there are two possible candidates though:

      • org.infinispan.query.dsl
      • org.infinispan.query.remote.client

      Attachments

        Activity

          People

            van.halbert Van Halbert (Inactive)
            jstastny@redhat.com Jan Stastny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: