This procedure installs the GlassFish ES, NetBeans IDE, Java CAPS core products such as the Sun Enterprise Service Bus, and Java CAPS add-on components such as adapters, Sun Java Repository version 6, Sun Java Enterprise Manager version 6, Sun JMS IQ Manager version 6, and the UDDI Server using Java CAPS Installer. The Sun Uninstallation software is also installed.
Although you can change the defaults, accepting most of them is a good practice, especially the port numbers.
Java CAPS Release 6 does not support spaces in the installation directory path.
Certain adapters require additional installation procedures. For details, see Installing Third-Party JAR Files.
Install Sun Java SDK. For more information, see Installing the JDK Software and Setting JAVA_HOME.
On UNIX systems, 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. For example,
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.
A security alert may appear during installation. If so, unblock the tagged program to continue the installation.
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
For some operating systems, the installation files are packaged inside a ZIP file. Extract JavaCAPS.zip to a temporary directory.
If a /tmp directory is not accessible or there is not enough space to extract the installation files and install, the Java CAPS Installer asks for a new 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:
UNIX or Linux: sh JavaCAPS.bin
Macintosh: JavaCAPS.app or sh ./JavaCAPS.app
Windows: JavaCAPS.exe
When the Java CAPS 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 select “I accept the terms of the License Agreement” and then click Next.
On the Choose Install Directory page, accept the default or click Choose to browse to another directory and then click Next.
Java CAPS Release 6 does not support spaces in the installation directory path.
If you select the default directory and it does not exist, the Installer creates it for you. If you select another directory and want to return to the default directory, click Restore Default Folder.
On the Choose Install Set page, select the type of installation you want to perform (Complete or Custom) and then click Next.
If you selected Custom, on the Choose Components page deselect any of the components you do not want to install, and then click Next.
You should install all the components. Sun JMS IQ Manager is required if you have Projects from any product releases between version 5.0.5 and version 5.1.3. The JMS IQ Manager is not an option on Macintosh installations.
On the Choose Java Developer Kit (JDK) page, accept the default location or click Choose to navigate to the directory where your JDK software is located and then select it. Click Next.
You need to select a JDK directory and not a Java Runtime Environment (JRETM); otherwise you cannot install or configure GlassFish.
On the Java CAPS Repository Input page, accept the default port number or enter a new port number, and then click Next.
The default value is 12000. This port assignment requires ten consecutive available ports, and during installation the system selects nine additional port numbers that sequentially follow the initial port number (12001–12009 for the default). Port checking only detects ports in use at the 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.
On the NetBeans IDE Input page, deselect Install Repository NBMs only if you do not want to install Repository–based Java CAPS components such as Adapters. Click Next.
On the Sun Java System Application Server Input page, accept or change the defaults and then click Next.
This server is the GlassFish Java EE and JBI server on which you create and deploy Java CAPS applications. The fields 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 |
Master password for the SSL certificate for AS Admin operations |
The key used to protect data in the GlassFish ES, that is, the password of the secure keystore. The password 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 |
Secure IIOP port number for the initial server instance |
The port on which the GlassFish listens for secure CORBA requests. |
3820 |
Mutual Authentication IIOP port number for the initial server instance |
3920 |
Record the administrator name, password, and master password, as well as the port numbers, for later use. You need the passwords when starting the GlassFish Admin Console, among other things.
On the Sun JMS IQ Manager Input page, specify how to install JMS IQ Manager.
Use the JMS IQ Manager for Java CAPS projects that require the same messaging behavior found in releases 5.0.5 through 5.1.3. It can be installed in addition to JMQ, the JMS server that ships with GlassFish. You can also install JMS IQ Manager manually to a different instance of GlassFish after this installation completes.
The JMS IQ Manager is not an option on Macintosh systems.
Select the operating system for the JMS IQ Manager.
The Sun JMS IQ Manager uses native binaries, which are different for different operating systems and processor architectures. Choose the binary that matches the platform on which you want to install JMS IQ Manager.
Specify the Port number that JMS IQ Manager will listen on or accept the default.
Specify the SSL port number that JMS IQ Manager will listen on or accept the default.
To migrate the JMS IQ Manager from a previous version of Java CAPS, type the root directory of the previous installation in the Migration From Directory field.
Click Next.
On the Java CAPS Enterprise Manager Input page, specify the Host Name and Admin Port or accept the default values. Click Next.
The Host Name is the name of the computer on which you are installing. Although this is usually the name of the computer Enterprise Manager is running on, you can specify the name of a proxy server.
The Admin Port is the port on which Enterprise Manager listens to HTTP requests.
The default value is 15000. This port assignment requires five consecutive available ports. During installation, the system selects four additional port numbers that sequentially follow the initial port number (15001–15004 for the default). Port checking only detects ports in use at the 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.
Record the port number for later use.
On the Pre-Installation Summary page, click Install if you are satisfied with your selections. Otherwise, use the Previous button to change your selections.
If a firewall blocks any of the components from installing, remove the block and continue installing the component.
The Installing Java CAPS page appears.
When the Installation Complete page appears, read the comments before you click Done to exit the Installer.
Java CAPS is configured for your system. For additional details about the installation, see the installation logs, located .
The Java CAPS Installer closes and a “Register Now!” page opens on your browser. When you register Java CAPS with the Sun Developer Network, the following benefits become available to you:
Notification of new versions, patches, and updates
Special offers on Sun developer products, services, and training
Access to early releases and documentation
Ability to track and manage your registered products on the Sun Inventory site
Register Java CAPS.
(Optional) If you do not already have a Sun account, under Create An Account click Sign Up Now to Register for a Sun Online Account.
The Registration form appears and asks for general information, such as name, email address, and so on. It requires that you set up a password for your account. Once you have filled out the form to your satisfaction, click Submit.
You must have a Sun account set up before you can register Java CAPS and receive the benefits of registration.
To register, under Use My Account, enter your User Name and Password, select “I accept the terms of use for registering Sun programs,” and click Register Now.
You can register at a later time. To do this, navigate to the base directory where you installed Java CAPS and initiate register.html. When a Sun Product Registration screen appears, click Register to access the “Register Now!” page.
If you deselected Install Repository NBMs on the NetBeans IDE Input page, you can install them now. See Installing Components Using the NetBeans IDE Update Center for details.
However, if you chose to install the Repository NBMs as part of the initial Java CAPS installation, all the modules have already been downloaded from the Repository to the NetBeans IDE.