1 Introduction To The GemFire Plugin - Reference Documentation
Authors: Jeff Brown, Graeme Rocher
Version: 1.0.0.BUILD-SNAPSHOT
Table of Contents
1 Introduction To The GemFire Plugin
The GemFire plugin provides integration with the GemFire in-memory distributed data management platform.This user guide describes details on configuring and using GemFire specifically in the context of a Grails application. Complete documentation on GemFire is available at http://www.gemstone.com/products/gemfire.1.1 Installing Gemfire
Installing GemFire
If you plan to use Gemfire only in peer-2-peer mode then you can skip this installation. If you want to use Gemfire in client/server mode then follow these instructions to install Gemfire:- Register at the SpringSource GemFire download site to access the download.
- Install GemFire Enterprise 6.5 according to the instructions on the download site.
Configure your environment for GemFire.
- Set the
JAVA_HOME
environment variable to point to your Java runtime installation. (There should be a bin directory underJAVA_HOME
.) - Set the
GEMFIRE
environment variable to point to your GemFire installation top-level directory. (There should be bin, lib, dtd, and other directories under GEMFIRE.) - Configure
GF_JAVA
and yourPATH
andCLASSPATH
as shown in these examples. (GF_JAVA
must point to the java executable file under yourJAVA_HOME
.)
Unix Bourne and Korn shells (sh, ksh, bash)
GF_JAVA=$JAVA_HOME/bin/java;export GF_JAVA PATH=$PATH:$JAVA_HOME/bin:$GEMFIRE/bin;export PATH CLASSPATH=$GEMFIRE/lib/gemfire.jar:$GEMFIRE/lib/antlr.jar:$GEMFIRE/lib/gfSecurityImpl.jar:$CLASSPATH;export CLASSPATH
Windows
set GF_JAVA=%JAVA_HOME%binjava.exe set PATH=%PATH%;%JAVA_HOME%bin;%GEMFIRE%bin set CLASSPATH=%GEMFIRE%libgemfire.jar;%GEMFIRE%libantlr.jar;%GEMFIRE%libgfSecurityImpl.jar;%CLASSPATH%