| Summary: | Incorrect example code is contained in JDG Administration and Configuration Guide. | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Masato Yoshida <myoshida> |
| Component: | Documentation | Assignee: | Christian Huffman <chuffman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5.1 | CC: | chuffman, jdg-bugs, ksuzumur, mkobayas, rmacor |
| Target Milestone: | CR1 | ||
| Target Release: | 6.6.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| 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 |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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: