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

JDG modules for EAP does not include all necessary indexes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.1.1 CR1
    • JDG 7.1.0 GA, JDG 7.1.1 ER1
    • EAP modules
    • None
    • CR1
    • 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>

      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

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

                Created:
                Updated:
                Resolved: