Using the Java CAPS 6 Installation CLI

Installing Java CAPS Using the CLI Console

This procedure installs the Sun Java System Application Server 9.1 (SJSAS). NetBeans IDE 6.1 ML, and Java CAPS core products such as the Sun Enterprise Service Bus, Java CAPS Repository version 6, Java CAPS Enterprise Manager version 6, Sun JMS IQ Manager version 6, and the UDDI Server using the Java CAPS Console command line installation.

Java CAPS Release 6 does not support:

ProcedureTo Install Java CAPS Components Using the Command Line Console

Before You Begin

Exit from all programs prior to beginning the installation.


Note –

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


  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. Extract the installation executable file to the directory where are going to install Java CAPS.

    • Solaris, AIX, and Linux: JavaCAPS.bin

    • Windows: JavaCAPS.exe


    Caution – Caution –

    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.


  3. Begin the Console installation.

    • Solaris, AIX, and Linux: JavaCAPS.bin -i console

    • Windows: JavaCAPS.exe -i console

    The Console installation begins.

  4. Read the introduction to the installation, and press Enter to begin the installation.

  5. Read each section of the License Agreement, pressing Enter after each segment. Type Y to accept the terms.

  6. When asked to choose an installation directory, type an absolute path or press Enter to accept the default value of JavaCAPS6.

    • If a directory named JavaCAPS6 already exists, type I to confirm your selection.

    • If the directory named JavaCAPS6 already exists and you want to use another directory, type 2.

  7. Choose an installation set.

    “Complete” is the default. Choosing “Customize” allows you to select the product features you want to install.

    Determine the installation set.

    • To install all of the product features, type 1 for Complete (the default).

    • To select the product features you want to install, type 2 for Customize.

      If you select Customize, type the numbers that represent the features you do not want to install separated by commas.

  8. When asked to choose a Java Developer Kit (JDK), provide an absolute path to the JDK or press Enter to accept the default.


    Note –

    You must have already installed the JDK prior to beginning the installation. If you have not already installed the JDK, see Installing the JDK Software and Setting JAVA_HOME.


  9. Set up the Repository.

    • Accept the default name for the Repository, “repository1,” or provide a custom value.

    • Accept the default port number for the Repository, “12000,” or provide a custom value.

  10. When asked to install NBMs for NetBeans IDE, either accept the default value, “1” for “TRUE,” or type 2 for “FALSE.”

  11. Determine the settings for the Sun Java System Application Server.

    Record your selections for later use. To start the Sun Java System Application 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 the Sun Java System Application Server, 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 the Sun Java System Application Server listens for administrative HTTP requests. 

    4848

    HTTP port number 

    The port on which the Sun Java System Application Server listens for HTTP requests for web applications that you deploy. 

    8080

    Secure HTTPS port number 

    The port on which the Sun Java System Application Server listens for HTTPS requests for web applications that you deploy. 

    8181

    JMS port number 

    The port on which the Sun Java System Application Server listens for JMS IQ Manager requests. 

    7676

    JMX admin port number 

    The port on which the Sun Java System Application Server listens for JMX administration requests. 

    8686

    IIOP port number 

    The port on which the Sun Java System Application Server listens for CORBA requests. 

    3100

    Secure IIOP port number for the initial server instance 

    The port on which the Sun Java System Application Server 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. The Sun Java System Application Server asks for the administrator name, password, and master password when you start it using the start_appserver_domain1 script. When you start the server from AS Admin or NetBeans IDE the administrator name, password, and master password are not required.


  12. Provide the appropriate information to set up the Sun JMS IQ Manager.

    You must install the Sun Java System Application Server if you install the Sun JMS IQ Manager. You can also install the JMS IQ Manager manually to a different Sun Java System Application Server after this installation completes.

    1. Provide the appropriate OS type.

      The Sun Java IQ Manager uses native binaries. There are different binaries for different operating systems and processor architectures. When providing the OS value, use the abbreviation.

      solx86

      Sun Solaris 10 x86 (32/64-bit), Intel

      solamd64

      Sun Solaris 10 x86 (64-bit), AMD

      solaris64

      Sun Solaris 10 (64-bit), SPARC

      aix32

      IBM AIX 5L 5.2 and 5.3 (32-bit)

      aix64

      IBM AIX 5L 5.2 and 5.3 (64-bit)

      linux7

      Red Hat Enterprise Linux Advanced Server 3, 4, and 5 (32/64-bit), Intel

      linuxamd64

      Red Hat Enterprise Linux Advanced Server 3, 4, and 5 (64-bit), AMD

      redhat5_64

      Red Hat Enterprise Linux 5 Advanced Server (Intel and AMD x86-64)

      suse8

      SUSE Linux Enterprise Server 9 and 10 (32/64-bit), Intel

      win32

      Windows (32-bit)

      donotinstall

      Does not install the Sun JMS IQ Manager

    2. Accept the default Sun JMS IQ Manager port number of 18007 or provide a custom value.

    3. Accept the default Sun JMS IQ Manager SSL port number of 18008 or provide a custom value.

    4. If you have used the Sun JMS IQ Manager prior to Java CAPS Release 6, you can migrate it from the previous directory to your current installation directory by providing an absolute path.

  13. Provide the appropriate information to set up the Enterprise Manager.

    1. Accept the default Host Name or provide a custom value.

      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 Sun Java System Application 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.


      Note –

      The Host Name is the name of the computer on which you are installing. Enterprise Manager relays this name to other components, such as the Sun Java System Application Server; these components then use this name to access Enterprise Manager. Although this is usually the name of the computer Enterprise Manager is running on, you can specify the name of a proxy server.


    2. Accept the default Admin Port for Enterprise Manager or provide a custom value.

      The default value is 15000. This port assignment requires five consecutive available ports. Therefore, during installation, the system selects four additional port numbers that sequentially follow the initial port number (15001–15004 for the default). Because port checking performed at installation only detects ports in use at that time, the installation will not detect ports that are configured to be used by other applications that are not running at that time. Consequently, be careful if you choose to 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.

  14. If you are satisfied with your installation selections, press Enter to continue and then press Enter a second time to begin the installation.


    Note –

    If you are not satisfied with your installation selections, use the Previous and Next buttons to navigate backward and forward in the installation and make the appropriate changes.


  15. After the installation completes, press Enter to exit from the Console Installer.


    Caution – Caution –

    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.