Plan your installation by reviewing Planning for Java CAPS Installation, which contains information necessary for your to complete a successful installation of Java CAPS such as supported platforms, operating system limitations, and parameter definitions.
Exit from all programs prior to beginning the installation.
Install the JDK software and set JAVA_HOME, as described in Installing the JDK Software and Setting JAVA_HOME.
Download the installation executable file from the delivery media to the installation directory.
You can download the file from the following media:
The Sun Download Center (SDLC) URL supplied by Sun Support
The DVDs that come with the Java Composite Application Platform Suite Media Kit
Extract the installation executable file to a temporary directory.
UNIX and Linux: JavaCAPS.bin
Windows: JavaCAPS.exe
On UNIX systems, the Java CAPS Installer uses /tmp as its workspace by default even when /var/tmp is the system temporary directory, as is the case on Solaris SPARC systems. If you do not have access to /tmp, set the environment variable IATEMPDIR=/var/tmp. The Java CAPS Installer will then use /var/tmp as its temporary directory.
From a command line, navigate to the location of the executable file and run one of the following commands:
UNIX and Linux: JavaCAPS.bin -i console
Windows: JavaCAPS.exe -i console
The text-based Console appears. This might take several minutes.
Read the introduction to the installation, and press Enter to begin the installation.
Read each section of the License Agreement, pressing Enter after each segment. Type Y to accept the terms.
When asked to choose an installation directory, type an absolute path or press Enter to accept the default value that appears on the screen.
Choose an installation set.
When asked to choose a Java Developer Kit (JDK), provide an absolute path to the JDK or press Enter to accept the default value that is listed at the prompt.
Set up the Repository.
For NetBeans IDE Input, press Enter to accept the default value (to install Repository NBMs), or type 2 and press Enter (Repository NBMs will not be installed).
If you do not install the Repository NBMS, you will need to manually install them later if you want to use them.
Specify the settings for the GlassFish server.
Record your selections in this section for later use. To start the GlassFish server you need the administrator user name, password, and master password during the log in process.
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. This password must be a minimum of eight characters. |
adminadmin |
Master password for the SSL certificate for AS Admin operations |
The key used to protect data in GlassFish, that is, the password of the secure keystore. This key must be at least 8 characters long. |
changeit |
Admin port number |
The port on which GlassFish listens for administrative HTTP requests. |
4848 |
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 |
JMS port number |
The port on which GlassFish listens for JMS IQ Manager requests. |
7676 |
JMX admin port number |
The port on which GlassFish listens for JMX administration requests. |
8686 |
IIOP port number |
The port on which GlassFish listens for CORBA requests. |
3100 |
IIOP SSL Port |
The port on which GlassFish listens for secure CORBA requests. |
3820 |
IIOP Mutual Auth Port |
The Mutual Authentication IIOP port number for the initial server instance. |
3920 |
Specify the settings for the Sun JMS IQ Manager.
If you do not install the Sun JMS IQ Manager now, you can install the JMS IQ Manager manually to the same or a different GlassFish server after this installation completes.
Enter one of the following operating system indicators:
Sun Solaris 10 x86 (32/64-bit), Intel
Sun Solaris 10 x86 (64-bit), AMD
Sun Solaris 10 (64-bit), SPARC
IBM AIX 5L 5.2 and 5.3 (32-bit)
IBM AIX 5L 5.2 and 5.3 (64-bit)
Red Hat Enterprise Linux Advanced Server 3, 4, and 5 (32/64-bit), Intel
Red Hat Enterprise Linux Advanced Server 3, 4, and 5 (64-bit), AMD
Red Hat Enterprise Linux 5 Advanced Server (Intel and AMD x86-64)
SUSE Linux Enterprise Server 9 and 10 (32/64-bit), Intel
Windows (32-bit)
Does not install the Sun JMS IQ Manager
Press Enter to accept the default Sun JMS IQ Manager port number of 18007, or provide a custom value and then press Enter.
Press Enter to accept the default Sun JMS IQ Manager SSL port number of 18008, or provide a custom value and then press Enter.
If you have a previous version of the Sun JMS IQ Manager, provide an absolute path to the previous directory to migrate it to your current installation directory, or press Enter to skip this step.
Specify the settings for the Enterprise Manager:
Press Enter to accept the default Host Name, or provide a custom value and then press Enter.
The Host Name is the name of the computer on which you are installing Java CAPS. Enterprise Manager relays this name to other components, such as the GlassFish server. These components then use this name to access Enterprise Manager. Although this value is usually the name of the computer Enterprise Manager is running on, you can specify the name of a proxy server.
Press Enter to accept the default Admin Port for Enterprise Manager, or provide a custom value and then press Enter.
The default value is 15000. This port assignment requires five consecutive available ports and the system selects four additional port numbers that sequentially follow the initial port number (15001–15004 for the default). Port checking performed at installation only detects ports in use at that time, so the installation will not detect ports used by other applications that are not currently running. Use caution if you change the default port value.
After setting the parameters for all the components you are installing, a Pre-Installation Summary appears that lists your selections for this installation.
If you are satisfied with your installation selections, press Enter to continue and then press Enter a second time to begin the installation.
If you are not satisfied with your installation selections, type back and press enter to make the appropriate changes.
After the installation completes, press Enter to exit from the Console Installer.
Ensure that you exit from the Console Installer as directed. If you exit the program by pressing CTRL-C, the javacaps_install_log.xml file will not be placed in the installation directory.
After you exit the Installer, a Sun Product Registration form opens on your browser. You can complete the Java CAPS product registration at that time, or you can return to the registration form at a later time by navigating to the base installation directory and typing register.html at the command prompt.