This topic describes how to configure and start the eXtreme
Scale REST data service using WebSphere Application Server version
7.0. If the WebSphere Application Server installation is integrated
with WebSphere eXtreme Scale, see section .
Before you begin
Verify that the sample eXtreme Scale grid is started. See
section for details on how to start the grid.
About this task
To get started with the WebSphere eXtreme Scale REST data
service using WebSphere Application Server, follow these steps:
Procedure
- Download and install WebSphere Application Server Version
7.0 for Developers.
Restriction: Do
not enable security.
- Download and install WebSphere Application Server Version
7.0 Fix Pack 5 or later.
- Add the WebSphere eXtreme Scale client runtime JAR, wsogclient.jar,
and the REST data service configuration JAR or directory to the application
server classpath:
- Open the WebSphere Administration Console
- Navigate
- Click New
- Add the following entries into the fields:
- Name: extremescale_client_v71
- Classpath: /lib/wsogclient.jar
- Click OK
- Click New
- Add the following entries into the appropriate fields:
- Name: extremescale_gettingstarted_config
- Classpath:
- /gettingstarted/restclient/bin
- /gettingstarted/common/bin
Remember: Add each path on a separate line.
- Click OK
- Save the changes to the master configuration
- Install the REST data service EAR file, wxsrestservice.ear,
to the WebSphere Application Server using the WebSphere administration
console:
- Open the WebSphere administration console
- Navigate to
- Browse to the /lib/wxsrestservice.ear, select the file and click Next
- Choose the detailed installation options, and click Next
- On the application security warnings screen, click Continue
- Choose the default installation options, and click Next
- Choose a server to map the application to, and click Next
- On the JSP reloading page, use the defaults, and click Next
- On the shared libraries page, map the "wxsrestservice.war"
module to the following shared libraries that were defined during
step 3:
- extremescale_client_v71
- extremescale_ gettingstarted _config
- On the map shared library relationship page, use the
defaults, and click Next
- On the map virtual hosts page, use the defaults, and
click Next
- On the map context roots page, set the context root
to: wxsrestservice
- On the Summary screen, click Finish to complete
the installation
- Save the changes to the master configuration
- Start the application server and the "wxsrestservice" eXtreme
Scale REST data service application. After the application
is started review the SystemOut.log for the application server and
verify that the following message appears: CWOBJ4000I:
The WebSphere eXtreme Scale REST data service has been started.
- Verify that the REST data service is working
- Open a browser and navigate to: http://localhost:9080/wxsrestservice/restservice/NorthwindGrid
The service document for the NorthwindGrid is displayed.
- Navigate to: http://localhost:9080/wxsrestservice/restservice/NorthwindGrid/$metadata
The Entity Model Data Extensions (EDMX) document is displayed.
- To stop the grid processes, use CTRL+C in the respective
command window.