Bug 1296026 - Incorrect example code is contained in JDG Administration and Configuration Guide.
Summary: Incorrect example code is contained in JDG Administration and Configuration G...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Documentation
Version: 6.5.1
Hardware: All
OS: All
unspecified
low
Target Milestone: CR1
: 6.6.0
Assignee: Christian Huffman
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-06 08:19 UTC by Masato Yoshida
Modified: 2016-02-17 18:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Build Name: 12532, Administration and Configuration Guide-6.5 Build Date: 29-10-2015 10:05:56 Topic IDs: 4963-759574 [Specified]
Last Closed: 2016-02-17 18:36:35 UTC
Type: Bug


Attachments (Terms of Use)

Description Masato Yoshida 2016-01-06 08:19:11 UTC
Title: Custom Cache Store Configuration (Remote Client-Server Mode)

Describe the issue:

JDG 6.5.1 Administration and Configuration Guide contains the following description.

---
18.9.2. Custom Cache Store Configuration (Remote Client-Server Mode)

The following is a sample configuration for a custom cache store in Red Hat JBoss Data Grid's Remote Client-Server mode:
⁠
Example 18.2. Custom Cache Store Configuration

<distributed-cache name="cacheStore" mode="SYNC" segments="20" owners="2" remote-timeout="30000">
     <store class="my.package.CustomCacheStore">
         <properties>
             <property name="customStoreProperty" value="10" />
         </properties>
     </store>
</distributed-cache>
---

According to <JDG_HOME>/docs/schema/jboss-infinispan-core_6_3.xsd, the above example code in Example 18.2 is not correct, so parse error occurs for code using this example.


Suggestions for improvement:

The correct example code would be like below and the document should be corrected.

---
<distributed-cache name="cacheStore" mode="SYNC" segments="20" owners="2" remote-timeout="30000">
     <store class="my.package.CustomCacheStore">
         <property name="customStoreProperty">10</property>
     </store>
</distributed-cache>
---

Additional information:

Comment 3 Christian Huffman 2016-02-17 18:36:35 UTC
The example has been updated and published; a link to the document on the customer portal is below:

  https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Data_Grid/6.6/html-single/Administration_and_Configuration_Guide/index.html#sect-Custom_Cache_Store_Configuration_Remote_Client-Server_Mode


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