Appendix D. WSAdmin Automation Platform 519
WSAdmin Automation Platform can be executed from any host that has
WebSphere Application Server installed. WSAdmin Automation Platform can
connect to WebSphere Application Server running on the local or remote host.
WSAdmin Automation Platform behaves just like wsadmin, in that it accepts input
from the user and then send the commands to be executed by wsadmin. You can
also submit scripting language programs for execution.
D.1.2 Downloading WSAdmin Automation Platform
WSAdmin Automation Platform can be downloaded from the IBM Techdocs Web
site.
http://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/PRS981
WSAdmin Automation Platform is provided in a zip file called wap.zip. Download
and unzip wap.zip file into your local directory. To configure the WSAdmin
Automation Platform runtime environment, follow these steps:
1. Set an environment variable, called WAP_SOURCE. This variable must point
to the directory where you unzipped WAP. Example D-1 shows how to set the
environment variable on Unix and Example D-2 on Windows.
Example: D-1 Setting WAP_SOURCE variable on Unix
export WAP_SOURCE=/opt/wap
Example: D-2 Setting WAP_SOURCE variable on Windows
set WAP_SOURCE=c:/wap
2. Add jWAP.jar file to the CLASSPATH environment variable. See Example D-3
and Example D-4.
Example: D-3 Setting CLASSPATH variable on Unix
export CLASSPATH=$CLASSPATH:$WAP_SOURCE/jWAP.jar
Example: D-4 Setting CLASSPATH variable on Windows
set CLASSPATH=%CLASSPATH%;%WAP_SOURCE%\jWAP.jar
3. Insert WAP_SOURCE directory into the PATH environment variable. See
Example D-5 on page 519 or Example D-6 on page 520.
Example: D-5 Setting PATH variable on Unix
Note: Do not use \ (back slash); use / (forward slash) instead.
Get Patterns: Extended Enterprise SOA and Web Services now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.