Install the stand-alone GlassFish 2.1 (Sun Application Server 9.1.1).
Add the Java CAPS Runtime Environment to GlassFish 2.1 as follows:
Extract the caps.zip file into the domain addons directory, for example domains\domain1\addons. This creates the caps folder in the addons directory.
The caps.zip file is available from Sun Support.
Configure the install.properties file in the caps folder, so that the values match those of the domain created by GlassFish 2.1.
Start the application server.
From the command line, change directories to the application server's bin directory. For example, cd AppServer\bin.
Execute the following command to install the CAPS specific libraries into domains\domain1\lib. Replace \ with / for UNIX systems.
asant –f ..\domains\domain1\addons\caps\install.xml
The domains\domain1\lib directory should now include the new JARs used by the CAPS projects.
Turn off the Security Manager in the application server.
Restart the domain.
Deploy the CAPS specific WLM project into the Application Server.