This topic provides instructions to help you successfully install GlassFish ESB using a graphical user interface (GUI). If you have any questions or problems, go to the GlassFish ESB web site at http://www.glassfish-esb.org.
To access all the GlassFish ESB documentation in HTML format, go to the GlassFish ESB web site at http://wiki.open-esb.java.net/Wiki.jsp?page=GlassFishESBDocs.
Before beginning the installation, read:
What You Need to Know
What You Need to Do
Before beginning the installation, read Planning for GlassFish ESB Installation, which contains important information such as supported platforms, operating system limitations, parameter definitions, and so on. This information is necessary for you to complete a successful installation of GlassFish ESB.
Complete Graphical User Interface InstallationThe following software is installed:
NetBeansTM IDE 6.5 ML
GlassFish v2.1
Open ESB core components
Java Business Integration (JBI) service engines
Java Business Integration (JBI) binding components
Java Business Integration (JBI) component tooling
Sun Uninstallation software
IDE is an acronym for an integrated development environment. It consists of a number of components, such as a compiler, source code editor, build tools, debugger, browser, object inspector, class hierarchy diagram, and so on. These components can be used when performing object-oriented software development. The integrated tools can also be used to build a graphical user interface (GUI).
Important Installation Notes
GlassFish ESB does not support spaces in the installation directory path.
You must have the JDKTM (Java Development Kit) software installed and JAVA_HOME set prior to installing GlassFish ESB or the Installer will halt the installation. See Installing the JDK Software and Setting JAVA_HOME for details.
If you do not already have the JDK software installed or if JAVA_HOME is not set, the GlassFish ESB installation will not be successful. The following tasks provide the information you need to install the JDK software and set JAVA_HOME on UNIX or Windows systems.
To find out which JDK versions are supported for the platform you are using, see JDK and JAVA_HOME in Planning for GlassFish ESB Installation.
The GlassFish ESB Installer does not support JDK release 1.6.0_04 in the 64–bit version on the Solaris SPARC or AMD 64–bit environments.
Install the JDK software.
Set JAVA_HOME.
Change the permissions to enable you to run the GlassFish ESB Installer.
chmod 755 JavaCAPS.bin
Install the JDK software.
To set JAVA_HOME:
Before installing GlassFish ESB, review the information under Overview of Installation, which explains what is installed. Although you can change the default installation values, accepting most of them is a good practice, especially the port numbers.
GlassFish ESB does not support spaces in the installation directory path.
When installing GlassFish ESB on UNIX systems, such as Solaris machines, you need to set the DISPLAY variable to install in GUI mode. How you do this depends on how you connect to your system.
If you receive the error message “No X11 DISPLAY variable was set, but this program performed an operation which requires it” and you use the SSH command to connect to your system from another UNIX machine, you need to set the DISPLAY variable.
C shell with localhost as the host name
setenv DISPLAY localhost:0.0
Korn shell with localhost as the host name
DISPLAY localhost:0.0
export DISPLAY
If you use X Windows software, such as Exceed, the DISPLAY variable is set for you automatically.
Do not use telnet if you install on a Windows system.
Download the installation executable file for your platform from https://open-esb.dev.java.net/Downloads.html.
Extract the installer file for your platform to a temporary directory.
Exit from all programs prior to beginning the installation.
You can cancel the installation at any time during the process.
To start the installation, initiate the appropriate executable file:
For Linux or Solaris, change the execution mode with the command chmod a+x [installer_file].sh, then start the installation with the command ./[installer_file].sh.
For Macintosh, place the [installer_file].tgz under $HOME/Desktop, double—click the [installer_file].tgz from the Desktop, and double-click the extracted file [installer_file].command from the Desktop.
For Windows, double-click the file [installer_file].exe
When the GlassFish ESB Installer wizard appears, click Next on the Introduction page to begin the installation.
Use the Next and Previous buttons to navigate forward and backward in the installation.
On the License Agreement page, read the license agreement, Select I Accept the Terms of the License Agreement, and then click Next.
On the NetBeans IDE Installation window, do the following:
Verify or modify the location for the NetBeans IDE.
Verify or modify the location of the associated Sun JDK.
NetBeans and GlassFish require the Sun JDK for installation. For more information, see Installing the JDK Software and Setting JAVA_HOME.
Click Next.
On the GlassFish Installation window, do the following:
Verify or modify the location for GlassFish.
Verify or modify the location of the associated Sun JDK.
If you have no port conflict, accept the default server properties.
Click Next.
The default server properties are described below:
Setting |
Description |
Default |
---|---|---|
Admin user name |
The name you use when you log in as administrator. |
admin |
Admin password |
The password you use when you log in as administrator. |
adminadmin |
HTTP port number |
The port on which GlassFish listens for HTTP requests for web applications that you deploy. |
8080 |
Secure HTTPS port number |
The port on which GlassFish listens for HTTPS requests for web applications that you deploy. |
8181 |
Admin port number |
The port on which GlassFish listens for administrative HTTP requests. |
4848 |
If you select a Java Runtime Environment (JRETM) instead of a Sun JDK, you cannot install or configure GlassFish.
When the Summary page appears, verify each component of the installation and then click Install. If you need to make changes, click Previous to return to a previous screen.
If a firewall blocks any of the components from installing, remove the block and continue installing the component. The installation process can take several minutes, depending on the speed of your system.
When the Registration Screen appears, you can choose any of the following:
Open the registration page in a browser when you click Finish.
The Registration form appears, requesting general information, such as name, email address, and so on. It requires that you set up a password for your account. This page also allows you to log in with your existing Sun Online Account email address and password.
You must have a Sun Online account set up before you can register GlassFish ESB and receive the benefits of registration.
Skip registration now and register later (deselect the open registration page option before clicking Finish).
When you register, the following benefits become available to you:
Notification of new versions, patches, and updates
Special offers on Sun developer products, services, and training
Ability to track and manage your registered products on the Sun Inventory site
Click Finish.
GlassFish ESB is configured for your system. For additional details about the installation, see the installation logs. Use the NetBeans Plugin Manager to change installed components or add NetBeans plugins.
To start NetBeans and the GlassFish server after the initial installation, navigate to the GlassFish ESB install directory or to the directory where the component is installed that you want to start. Run the appropriate command.
Component |
From GlassFish ESB Installation Directory |
---|---|
NetBeans IDE |
Windows GUI: Double-click the NetBeans desktop icon, select NetBeans from the Start menu, or run install-directory\start_netbeans.bat Mac OSX GUI: Select the NetBeans icon in the Dock or double-click NetBeans.app in the GlassFish ESB home directory UNIX: Run the executable file in install-directory/netbeans/bin |
GlassFish Server |
Windows GUI:install-directory\start_glassfish_domain_name.bat Mac OSX GUI:install-directory\start_glassfish_domain_name UNIX:Run asadmin start-domain from install-directory/glassfish/bin Note – You can also start the GlassFish server from the Services tab on the NetBeans IDE. |