Bug 1293090 - dependency on module 'org.infinispan.query.dsl' must to be included in order to use INFINISPAN QUERY DSL-BASED QUERIES
dependency on module 'org.infinispan.query.dsl' must to be included in order ...
Status: CLOSED CURRENTRELEASE
Product: JBoss Data Grid 6
Classification: JBoss
Component: Documentation, Library, EAP modules (Show other bugs)
6.5.1,6.6.0
Unspecified Unspecified
unspecified Severity unspecified
: CR1
: 6.6.0
Assigned To: Christian Huffman
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-19 22:21 EST by Rafael Soares (Tuelho)
Modified: 2016-02-17 11:31 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Build Name: 12539, Getting Started Guide-6.5 Build Date: 29-10-2015 10:01:22 Topic ID: 31957-758237 [Specified]
Last Closed: 2016-02-17 11:31:42 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rafael Soares (Tuelho) 2015-12-19 22:21:33 EST
Title: Deploy JBoss Data Grid in JBoss EAP (Library Mode)

Describe the issue:
Secction '4.1. DEPLOY JBOSS DATA GRID IN JBOSS EAP (LIBRARY MODE)' of the Getting Started guide states in order to use Embedded Query you have to add 'org.infinispan.query:jdg-6.5 services'. But I've notice you also must add 'org.infinispan.query.dsl:jdg-6.5 services'. Without tha last dependency if you try to use INFINISPAN QUERY DSL-BASED QUERIES as described in 'Infinispan Query Guide' section '6.2. ENABLING INFINISPAN QUERY DSL-BASED QUERIES' you will get a Class not Found Exception like the following

"
java.lang.NoClassDefFoundError: org/infinispan/query/dsl/SortOrder
    br.com.redhat.mineradornfe.data.MemberRepository.findAllOrderedByNameCached(MemberRepository.java:93)
    br.com.redhat.mineradornfe.data.MemberRepository$Proxy$_$$_WeldClientProxy.findAllOrderedByNameCached(MemberRepository$Proxy$_$$_WeldClientProxy.java)
    br.com.redhat.mineradornfe.data.MemberListProducer.retrieveAllMembersOrderedByName(MemberListProducer.java:61)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    java.lang.reflect.Method.invoke(Method.java:497)"

Embedded Query:
Dependencies: org.infinispan:jdg-6.5 services, org.infinispan.query:jdg-6.5 services

Suggestions for improvement:


Additional information:
Comment 3 Christian Huffman 2016-02-17 11:31:42 EST
These dependencies have been included, and a link to this document on the customer portal is below:

  https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.6/html-single/Getting_Started_Guide/index.html#Deploy_JBoss_Data_Grid_in_JBoss_EAP_Library_Mode

Note You need to log in before you can comment on or make changes to this bug.