Using the GlassFish ESB Installation CLI

Installing GlassFish ESB Silently Using CLI

You can use the GlassFish ESB command-line installation script to perform a complete installation silently. A silent installation means that you will not interact with the Installer, nor will you see the process unless you open the directory to which you are installing.

In order to perform a silent installation, you must first generate the .xml state file. For more information, see Generating the State File for Silent Installations.


Note –

GlassFish ESB does not support spaces in the installation directory path.


ProcedureTo Install GlassFish ESB Silently Using CLI

Before You Begin
  1. Download the installation executable file from the GlassFish ESB Downloads page: https://open-esb.dev.java.net/Downloads.html

  2. If you have not done so already, copy the .xml state file to the directory where you are going to install GlassFish ESB.

    For more information, see Generating the State File for Silent Installations.

  3. Extract the installation executable file to the directory where you are going to install GlassFish ESB.

    • Windows: glassfishesb-full-installer-windows-yyyydddd.exe

    • Solaris Sparc glassfishesb-full-installer-solaris-sparc-yyyydddd.sh

    • Solaris —X86 glassfishesb-full-installer-solaris-x86-yyyydddd.sh

    • Linux glassfishesb-full-installer-linux-yyyydddd.sh

    • Mac OSX X86 glassfishesb-full-installer-macosx-x86-yyyydddd.command

    • Mac OSX PPC glassfishesb-full-installer-macosx-ppc-yyyydddd.command

  4. Go to the installation directory where you copied the configuration properties file and the installation executable file and execute the file.

    • Windows: glassfish-full-installer-windows-yyyddd.exe --silent --state \filepath\state_file_name.xml

    • Solaris and Linux: glassfish-full-installer-platform-yyyddd.sh --silent --state /filepath/state_file_name.xml

    • Mac OSX: glassfish-full-installer-macosx-cpu_type-yyyddd.command --silent --state /filepath/state_file_name.xml

    GlassFish ESB is installed in the directory you specified.