Installation of JDG in Remote Client-Server Mode within EAP
External
- Deploy JDG in EAP - Remote Client/Server Mode https://access.redhat.com/documentation/en-us/red_hat_jboss_data_grid/7.1/html/getting_started_guide/using_jboss_data_grid_with_supported_containers#deploy_jdg_in_jboss_eap_remote_client_server_mode
Internal
Relevance
- JDG 7.0
Overview
JDG comes with a set of modules ready to be deployed in EAP. To avoid conflicts with the Infinispan modules that are already included with EAP, JDG modules must be placed in a separate slot and identified by the JDG version (major.minor).
Module Installation
Deploy
Extract jboss-datagrid-7.0.0-eap-modules-remote-java-client.zip in a staging area.
remote client/server mode needs a significantly smaller dependency tree than the library mode, so make sure jboss-datagrid-7.0.0-eap-modules-remote-java-client.zip and not jboss-datagrid-7.0.0-eap-modules-library.zip is used.
Move the content of ./jboss-datagrid-7.0.0-eap-modules-remote-java-client/modules directory (which should consist in an "org" subdirectory) in $JBOSS_HOME/modules.
cd ./jboss-datagrid-7.0.0-eap-modules-remote-java-client/modules mv org $JBOSS_HOME/modules
The integration module will be available as "org.infinispan.client.hotrod", slot "jdg-7.0".
Configure
Declare the "org.infinispan.commons" dependency module as "exported", to allow access to basic Infinisipan types from your deployments.
<module xmlns="urn:jboss:module:1.1" name="org.infinispan.client.hotrod" slot="jdg-7.0"> ... <dependencies> ... <module name="org.infinispan.commons" slot="jdg-7.0" export="true"/> ... </dependencies> </module>
For more details on module.xml "export" option see:
Usage
For an example of how to use JDG in remote client/server mode, see: