Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-998

JDG modules for EAP does not include all necessary indexes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JDG 7.0.0 GA, JDG 7.0.1 DR2, JDG 7.0.1 DR3
    • Fix Version/s: JDG 7.0.1 CR1
    • Component/s: EAP modules
    • Labels:
      None
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      Use the JDG-CDI quickstart and change the dependency for JDG to scope=provided to not package them.

      Add a jboss-deployment-structure.xml like this:

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-deployment-structure>
      <deployment>
      <dependencies>
      <module name="org.infinispan.cdi.embedded" slot="jdg-7.1" services="export" meta-inf="import" annotations="true"/>
      <module name="org.infinispan.jcache" slot="jdg-7.1" services="export" meta-inf="import" annotations="true"/>
      </dependencies>
      </deployment>
      </jboss-deployment-structure>

      Show
      Use the JDG-CDI quickstart and change the dependency for JDG to scope=provided to not package them. Add a jboss-deployment-structure.xml like this: <?xml version="1.0" encoding="UTF-8"?> <jboss-deployment-structure> <deployment> <dependencies> <module name="org.infinispan.cdi.embedded" slot="jdg-7.1" services="export" meta-inf="import" annotations="true"/> <module name="org.infinispan.jcache" slot="jdg-7.1" services="export" meta-inf="import" annotations="true"/> </dependencies> </deployment> </jboss-deployment-structure>
    • Workaround Description:
      Hide

      Embed CDI and JCache jars along with your deployment. Do not use modules in this case.

      Show
      Embed CDI and JCache jars along with your deployment. Do not use modules in this case.

      Description

      To use JCache with CDI annotations together with the EAP modules it is necessary to have a jandex.idx index file within the jar files.
      This is needed for EAP! otherwise no annotations are found

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastian.laskawiec Sebastian Ɓaskawiec
              Reporter:
              wdfink Wolf-Dieter Fink
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: