Installing and starting GlassFish is a prerequisite for installing WebSynergy.
Download the GlassFish v2 distribution.
Set the environment variable JAVA_HOME to point to the directory in which JDK 1.6 is installed.
Run the following command:
java -Xmx256m -jar <filename>.jar
Set ANT_HOME to point to the installation of ant 1.7 or above, which is at
<downloaded-dir>/glassfish/lib/ant directory.
Navigate to the GlassFish directory:
cd glassfish
Run the following command:
ant -f setup.xml
Start GlassFish.
cd bin
<downloaded-dir>/glassfish/bin>/asadmin start-domain