Project WebSynergy Milestone 4 Administration Guide

ProcedureTo Install GlassFish

Installing and starting GlassFish is a prerequisite for installing WebSynergy.

  1. Download the GlassFish v2 distribution.

    https://glassfish.dev.java.net/public/downloadsindex.html.

  2. Set the environment variable JAVA_HOME to point to the directory in which JDK 1.6 is installed.

  3. Run the following command:

    java -Xmx256m -jar <filename>.jar

  4. Set ANT_HOME to point to the installation of ant 1.7 or above, which is at

    <downloaded-dir>/glassfish/lib/ant directory.

  5. Navigate to the GlassFish directory:

    cd glassfish

  6. Run the following command:

    ant -f setup.xml

  7. Start GlassFish.

    cd bin

    <downloaded-dir>/glassfish/bin>/asadmin start-domain