Using the Java CAPS 6 Installation GUI

Installing Java CAPS Using the Java CAPS Installer

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.


Caution – Caution –

Java CAPS Release 6 does not support spaces in the installation directory path.



Note –

Certain adapters require additional installation procedures. For details, see Installing Third-Party JAR Files.


ProcedureTo Install Java CAPS Components Using Java CAPS Installer

Before You Begin

Do not use telnet if you install on a Windows system.


Note –

A security alert may appear during installation. If so, unblock the tagged program to continue the installation.


  1. 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

  2. For some operating systems, the installation files are packaged inside a ZIP file. Extract JavaCAPS.zip to a temporary directory.


    Note –

    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.


  3. Exit from all programs prior to beginning the installation.

    You can cancel the installation at any time during the process.

  4. 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

  5. When the Java CAPS Installer wizard appears, click Next on the Introduction page to begin the installation.


    Tip –

    Use the Next and Previous buttons to navigate forward and backward in the installation.


  6. On the License Agreement page select “I accept the terms of the License Agreement” and then click Next.

  7. On the Choose Install Directory page, accept the default or click Choose to browse to another directory and then click Next.


    Caution – Caution –

    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.

  8. On the Choose Install Set page, select the type of installation you want to perform (Complete or Custom) and then click Next.

  9. If you selected Custom, on the Choose Components page deselect any of the components you do not want to install, and then click Next.


    Note –

    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.


  10. 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.

  11. On the Java CAPS Repository Input page, accept the default port number or enter a new port number, and then click Next.


    Caution – Caution –

    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.


  12. 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.

  13. 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


    Tip –

    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.


  14. 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.


    Note –

    The JMS IQ Manager is not an option on Macintosh systems.


    1. 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.

    2. Specify the Port number that JMS IQ Manager will listen on or accept the default.

    3. Specify the SSL port number that JMS IQ Manager will listen on or accept the default.

    4. 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.

    5. Click Next.

  15. 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.

  16. On the Pre-Installation Summary page, click Install if you are satisfied with your selections. Otherwise, use the Previous button to change your selections.


    Note –

    If a firewall blocks any of the components from installing, remove the block and continue installing the component.


    The Installing Java CAPS page appears.

  17. 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

  18. Register Java CAPS.

    1. (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.

    2. 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.


    Note –

    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.


  19. 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.