Bug 1293090 - dependency on module 'org.infinispan.query.dsl' must to be included in order to use INFINISPAN QUERY DSL-BASED QUERIES
Summary: dependency on module 'org.infinispan.query.dsl' must to be included in order ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Documentation, Library, EAP modules
Version: 6.5.1,6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: 6.6.0
Assignee: Christian Huffman
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-20 03:21 UTC by Rafael Soares (Tuelho)
Modified: 2016-02-17 16:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
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 16:31:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rafael Soares (Tuelho) 2015-12-20 03:21:33 UTC
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 16:31:42 UTC
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.