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

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • JDG 7.0.0 GA, JDG 7.0.1 DR2, JDG 7.0.1 DR3
    • JDG 7.0.1 CR1
    • EAP modules
    • None
    • CR1
    • 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.
    • 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>

    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

              slaskawi@redhat.com Sebastian Ɓaskawiec
              rhn-support-wfink Wolf-Dieter Fink
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: