JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Using the Oracle Java CAPS 6.3 Installation CLI     Java CAPS Documentation
search filter icon
search icon

Document Information

Using the Java CAPS 6.3 Installation CLI

Overview of CLI Installations

Installing the JDK Software and Setting JAVA_HOME

To Install the JDK Software and Set JAVA_HOME on a UNIX System

To Install the JDK Software and Set JAVA_HOME on a Windows System

Creating the Configuration Properties File for Silent Installations

To Create the Properties File for a Command-Line Installation

Installing Java CAPS Silently Using CLI

To Install Java CAPS Silently Using CLI

Installing Java CAPS Using the CLI Console

To Install Java CAPS Components Using the Command Line Console

Enabling Oracle Advanced Queueing

To Create the Java CAPS Advanced Queue User

To Install Advanced Queueing Support After Installing Java CAPS

To Allow Enterprise Manager to Delete Advanced Queue Messages

Enabling WebLogic JMS for Java CAPS

To Install WebLogic JMS Support After Installing Java CAPS

Links to Additional Installation Information

Installing Additional Components

Starting and Stopping Java CAPS

Running Java CAPS as a Windows Service

Increasing the NetBeans Heap Size

Working With the Repository

Installing Java CAPS Using the CLI Console

You can use the Java CAPS command-line installation script to perform a complete installation using a text console interface. You do not need to create a properties file for this type of installation.

This procedure installs the GlassFish Enterprise Server, NetBeans IDE, and Java CAPS core products such as the Oracle Java CAPS Enterprise Service Bus, Java CAPS Repository, Java CAPS Enterprise Manager, Oracle Java CAPS JMS IQ Manager, and the UDDI Server using the Java CAPS Console command line installation.

Java CAPS does not support:

This installation includes installing support for WebLogic JMS and Oracle Advanced Queueing. If you elect not to install this support during the Java CAPS installation, you can install it from a command line at a later time.


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


To Install Java CAPS Components Using the Command Line Console

Before You Begin

  1. Download the installation executable file from the delivery media to the installation directory.

    You can download the file from the following media:

    • The Oracle download URL supplied by Oracle Support

    • The DVDs that come with the Java Composite Application Platform Suite Media Kit

  2. Extract the installation executable file to a temporary directory.
    • UNIX and Linux: JavaCAPS-OS.bin, where OS is the name of the operating system.

    • Windows: JavaCAPS-Windows.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. From a command line, navigate to the location of the executable file and run one of the following commands:

    UNIX and Linux: JavaCAPS-OS.bin -i console, where OS is the name of the operating system.

    Windows: JavaCAPS-Windows.exe -i console

    The text-based Console appears. This might take several minutes.

  4. Read the introduction to the installation, and press Enter to begin the installation.
  5. When asked to choose an installation directory, type an absolute path. Do not use any spaces in the pathname. If Java CAPS is already install in the given path, do one of the following:
    • To go back and enter a new path, type 1 and enter a new pathname.
    • To cancel and exit the installation, type 2.
  6. Do one of the following:
    • To confirm your selection, type Y.
    • To use different directory, type N and enter a new pathname.
  7. Choose an installation set.
    • To install all of the Java CAPS components, type 1.
    • To select the components you want to install, type 2, and then enter a comma-separated list of numbers representing the components you want to install.

      The numbers corresponding to each components are listed on the Console.

  8. Press Enter when you are done.
  9. 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.
  10. Set up the Repository.
    1. Press Enter to accept the default name for the Repository (repository1), or provide a custom value and press Enter.

      Do not enter “repository” as the name because this will cause connectivity problems.

    2. Press Enter to accept the default port number for the Repository (12000), or provide a custom value and press Enter.
  11. For NetBeans IDE Input, press Enter to accept the default value (to install Repository NBMs), or type 0 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.

  12. Specify the settings for the GlassFish server.

    Tip - 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. Note that previous versions of Java CAPS set default Admin and Master passwords. Beginning with Java CAPS 6.3, you must set these passwords manually following Oracle standards. The passwords must be eight characters, contain one number, and contain at least one lowercase and one uppercase character.



    Setting
    Description
    Default
    Admin User
    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.
    none
    Master Password
    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.
    none
    Admin Port
    The port on which GlassFish listens for administrative HTTP requests.
    4848
    HTTP Port
    The port on which GlassFish listens for HTTP requests for web applications that you deploy.
    8080
    HTTPS Port
    The port on which GlassFish listens for HTTPS requests for web applications that you deploy.
    8181
    JMS Port
    The port on which GlassFish listens for JMS IQ Manager requests.
    7676
    JMX Admin Port
    The port on which GlassFish listens for JMX administration requests.
    8686
    IIOP Port
    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
  13. Configure support for Oracle Advanced Queueing. If you choose to install support, be sure to perform the additional steps described in Enabling Oracle Advanced Queueing after the installation.
    Setting
    Description
    Default
    Install Oracle AQ Support
    An indicator of whether to install support for Oracle Advanced Queue monitoring and administration. Enter 1 to install AQ support; otherwise enter 0.
    0
    Oracle AQ Name
    A descriptive name for the Advanced Queue instance. This name will appear on the Enterprise Manager with OracleAQ prepended to it.
    No default.
    Oracle AQ Host
    The name of the server on which the Advanced Queue database is stored.
    localhost
    Oracle AQ Port
    The port number for the Advanced Queue database.
    1521
    Oracle AQ Username
    The user name to use to log in to the Advanced Queue database. You can use the administrator user for the queue or you can create a new user, as described in To Create the Java CAPS Advanced Queue User.
    No default.
    Oracle AQ Password
    The password to use to log in to the Advanced Queue database.
    No default.
    Oracle AQ SID
    The Oracle SID name of the Advanced Queue database.
    No default.
  14. Configure support for WebLogic JMS.

    WebLogic can also be enabled after Java CAPS is installed. For more information, see Enabling WebLogic JMS for Java CAPS .


    Setting
    Description
    Default
    Install WebLogic JMS Support
    An indicator of whether to install support for WebLogic JMS monitoring and administration. Enter 1 to install support; otherwise enter 0.
    0
    WebLogic JMS Name
    A descriptive name for the JMS server. This name will appear on the Enterprise manager with WebLogicMQ prepended to it.
    No default.
    WebLogic JMS Host
    The name of the computer on which the WebLogic JMS server is located.
    localhost
    WebLogic JMS Port
    The port number for the JMS server.
    7001
    WebLogic JMS User
    The user name to use to log in to the JMS server.
    No default.
    WebLogic JMS Password
    The password to use to log in to the JMS server.
    No default.
    WebLogic JMS Module Name
    The name of the JMS Module containing the system resources and configuration.
    No default.
    WebLogic JMS Server Name
    The name of the WebLogic JMS Server. The server name is optional, and if not specified defaults to the first JMS server.
    No default.
    WebLogic JMS Sub Deployment Name
    The name of the JMS sub-deployment within the given module. The sub-deployment name is optional, and if not specified defaults to the first sub-deployment in the module.
    No default.
  15. Specify the settings for the Oracle Java CAPS JMS IQ Manager.

    If you do not install the Oracle Java CAPS JMS IQ Manager now, you can install the JMS IQ Manager manually to the same or a different GlassFish server after this installation completes.

    1. Enter one of the listed operating system indicators, or enter donotinstall to skip the JMS IQ Manager installation.
    2. Press Enter to accept the default JMS IQ Manager port number of 18007, or provide a custom value and then press Enter.
    3. Press Enter to accept the default JMS IQ Manager SSL port number of 18008, or provide a custom value and then press Enter.
    4. If you have a previous version of the 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.
  16. Specify the settings for the Enterprise Manager:
    1. Press Enter to accept the default Host Name, or provide a custom value and then press Enter.

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


    2. Press Enter to accept the default Admin Port for Enterprise Manager, or provide a custom value and then press Enter.

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

  17. 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, type back and press enter to make the appropriate changes.


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

  19. The default domain is not registered in the NetBeans IDE. In order to access the application server and any JBI runtime components, you need to add the server to the IDE as described in Adding the GlassFish Server to the NetBeans IDE in Using the Oracle Java CAPS 6.3 Installation GUI.
  20. 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 in Using the Oracle Java CAPS 6.3 Installation GUI for more information.

    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.