This topic describes how to configure theWebSphere® eXtreme Scale REST data service on Apache Tomcat Version 5.5 or later.
Copy all of the JAR files from:
the wxs_home/lib/endorsed directory
to:
the tomcat_root/common/endorsed directory
Create an "endorsed" directory:
mkdir tomcat_root/endorsed
md tomcat_root/endorsed
Copy all of the JAR files from:
wxs_home/lib/endorsed
to:
tomcat_root/common/endorsed
Copy the wxsrestservice.war file from:
restservice_home/lib
to:
tomcat_root/webapps
Merge the contents of the sample 5.5 catalina policy file found in
restservice_home/gettingstarted/tomcat/catalina-5_5.policy with the tomcat_root/conf/catalina.policy file.
Merge the contents of the sample 6.0 catalina policy file found in
restservice_home/gettingstarted/tomcat/catalina-6_0.policy with the tomcat_root/conf/catalina.policy file.
If using Tomcat 5.5 on UNIX or Windows, or the Tomcat 6.0 ZIP distribution:
./catalina.sh run
catalina.bat run
./catalina.sh run -security
catalina.bat run -security
CWOBJ4000I: The WebSphere eXtreme Scale REST data service has been started.
tomcat6w.exe
Add the following entries to the Java Options in the Java tab in the Apache Tomcat 6 properties window:
-Djava.security.manager
-Djava.security.policy=\conf\catalina.policy
Displays the status of the Tomcat server engine
Displays the system output log
CWOBJ4000I: The WebSphere eXtreme Scale REST data service has been started.
http://host:port/context_root/restservice/grid_name
The default port for Tomcat is 8080 and is configured in the tomcat_root/conf/server.xml file in the <Connector> element.
http://localhost:8080/wxsrestservice/restservice/NorthwindGrid/