Starting a grid for REST data services in WebSphere Application Server

Follow these steps to start a stand-alone WebSphere eXtreme Scale REST service sample grid for a WebSphere eXtreme Scale deployment that is integrated with WebSphere Application Server. Although eXtreme Scale is integrated with WebSphere Application Server, these steps will start a stand-alone eXtreme Scale catalog service process and container.

Before you begin

Install the WebSphere eXtreme Scale 7.0 product into a WebSphere Application Server Version 7.0.0.5 or later installation directory (with security disabled), augment at least one Application Server profile and apply WebSphere eXtreme Scale 7.0.0.0 cumulative fix 2.

About this task

Start the WebSphere eXtreme Scale sample grid.

Procedure

Start the catalog service process:

  1. Open a command-line or terminal window and set the JAVA_HOME environment variable:
    • [Linux][Unix] export JAVA_HOME=<>
    • [Windows] set JAVA_HOME=<>
  2. cd /gettingstarted
  3. Start the catalog service process.
    • [Linux][Unix] ./runcat.sh
    • [Windows] runcat.bat

Start two container server processes:

  1. Open another command-line or terminal window and set the JAVA_HOME environment variable:
    • [Linux][Unix] export JAVA_HOME=<>
    • [Windows] set JAVA_HOME=<>
  2. cd /gettingstarted
  3. Start a container server process:
    • [Linux][Unix] ./runcontainer.sh container0
    • [Windows] runcontainer.bat container0
  4. Open another command-line or terminal window:
  5. cd /gettingstarted
  6. Start a second container server process:
    • [Linux][Unix] ./runcontainer.sh container1
    • [Windows] runcontainer.bat container1

Results

Wait until the eXtreme Scale containers are ready before proceeding with the next steps. The container servers are ready when the following message is displayed in the terminal window:

CWOBJ1001I: ObjectGrid Server <container name> is ready to process requests.

Where <container name> is the name of the container that was started in the previous step.