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

Creating the Configuration Properties File for Silent Installations

The silent installation requires a properties file to determine the configuration of the Java CAPS environment. This file is not required for commend-line installation using the console or GUI mode. The properties file includes properties such as the JDK home, installation directory, Repository and Enterprise Manager information, and so on. Use the sample file below to set up your configuration properties file, and copy the customized file to the directory where you are going to install Java CAPS.


Note - When installing using the silent option, the scripted file, file.properties, is automatically generated by the Java CAPS Installer if the product has already been installed.


You can set the file to install only runtime components or only design-time components.

To Create the Properties File for a Command-Line Installation

  1. Copy the sample properties file following this procedure into a text file on the computer where you are installing Java CAPS.

    Tip - If you have an existing Java CAPS installation, you can find additional properties files at JavaCAPS_Home/install/docs. The file is also included in the /documentation directory under the installer on the installation media.


  2. Configure the following properties:

    Note - The administrator and master passwords in this file must adhere to Oracle guidelines. They must be at least eight characters, contain one number, and at least one lowercase and one uppercase character.



    Property or Section
    Description
    CHOSEN_INSTALL_ FEATURE_LIST
    The list of primary components to install. Include any of the following in the list, separated by commas with no spaces:
    • Repository – The Java CAPS Repository and Repository-based components

    • Appserver – The GlassFish Enterprise Server and associated runtime components

    • NetBeans – The NetBeans IDE and associated design-time components

    • STCMS – The Oracle Java CAPS Java JMS IQ Manager

    • UDDI – The UDDI server

    • EM – The Java CAPS Enterprise Manager.

    For example, CHOSEN_INSTALL_FEATURE_LIST=Repository,NetBeans,Appserver,EM.

    USER_JDK__HOME
    The path to your JDK software. Note that once you install Java CAPS, you need to copy webservices-api.jar from JavaCAPS_Home\appserver\lib\endorsed to JDK_Home\lib\endorsed.
    USER_INSTALL_DIR
    The path where you want to install Java CAPS. Do not use a path with spaces in the name.
    REPOSITORY_NAME
    The name to give the Repository. You can change the default repository of repository1 but do not use “repository” because assigning a name that is the same as the component name in lowercase can cause connection problems.
    REPOSITORY_ADMIN_PORT
    The port number for the repository. There must be 10 consecutive port numbers that are not in use, beginning with this number.
    NETBEANS_INSTALL_NBMS
    An indicator of whether to install NetBeans NBMs. Enter 1 to install the Repository-based components in NetBeans; otherwise specify 0.
    Appserver Get User Input Properties
    In this section, enter the following information for the GlassFish server, or accept the default values.
    • APPSERVER_ADMIN_USER: The name you use when you log in as administrator.

    • APPSERVER_ADMIN_PASSWORD: The password you use when you log in as administrator.

    • APPSERVER_MASTER_PASSWORD: The key used to protect data in GlassFish, that is, the password of the secure keystore.

    • APPSERVER_DOMAIN_NAME: The name to give to the domain that is created on the GlassFish server.

    • APPSERVER_ADMIN_PORT: The port on which GlassFish listens for administrative HTTP requests.

    • APPSERVER_HTTP_PORT: The port on which GlassFish listens for HTTP requests for web applications that you deploy.

    • APPSERVER_HTTPS_PORT: The port on which GlassFish listens for HTTPS requests for web applications that you deploy.

    • APPSERVER_JMS_PORT: The port on which GlassFish listens for JMS IQ Manager requests.

    • APPSERVER_JMX_ADMIN_PORT: The port on which GlassFish listens for JMX administration requests.

    • APPSERVER_IIOP_PORT: The port on which GlassFish listens for CORBA requests.

    • APPSERVER_IIOP_SSL_PORT: The port on which GlassFish listens for secure CORBA requests.

    • APPSERVER_IIOP_MUTUALAUTH_PORT: The port on which GlassFish listens for mutual authentication requests.

    STCMS Get User Input
    In this section, enter information for the Oracle Java CAPS JMS IQ Manager. The possible values for the STCMS_OS_TYPE property are listed below. If you want to migrate the JMS IQ Manager from a previous version of Java CAPS, type the root directory of the previous installation in the STCMS_MIGRATION_FROM_DIR property.
    STCMS_OS_TYPE
    The name of the operating system on which you are installing the Oracle Java CAPS Java JMS IQ Manager. Specify any of the following values:

    • solx86 – Solaris 10 x86 (32/64-bit), Intel

    • solamd64 – Solaris 10 x86 (64-bit), AMD

    • solaris64 – Solaris 10 (64-bit), SPARC

    • aix32 – IBM AIX 5L 5.3 (32-bit)

    • aix64 – IBM AIX 5L 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)

    • itanium – HP-UX 11i

    • donotinstall – Do not install the STCMS component

    EM Get USer Input
    In this section, enter the name of the computer on which you are installing Java CAPS and enter the port number to access the Enterprise Manager.

    Note - The default port number 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.


    ORACLE_AQ_SUPPORT
    In this section, specify whether to install support for Oracle Advanced Queueing, and then configure the Oracle AQ information. If you choose not to install support, comment out all but the first property described in the following list.
    • 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.

    • ORACLE_AQ_NAME: A descriptive name for the Advanced Queue instance. This name will appear on the Enterprise Manager with OracleAQ prepended to it.

    • ORACLE_AQ_HOST: The name of the server on which the Advanced Queue database is stored.

    • ORACLE_AQ_PORT: The port number for the Advanced Queue database.

    • ORACLE_AQ_USERNAME: The user name to use to log in to the Advanced Queue database.

    • ORACLE_AQ_PASSWORD: The password to use to log in to the Advanced Queue database.

    • ORACLE_AQ_SID: The Oracle SID name of the Advanced Queue database.

    In this section, specify whether to install support for WebLogic JMS, and then configure the JMS information. If you choose not to install support, comment out all but the first property described in the following list.
    • WLS_JMS_SUPPORT: An indicator of whether to install support for WebLogic JMS monitoring and administration. Enter 1 to install support; otherwise enter 0.

    • WLS_JMS_NAME: A descriptive name for the JMS server. This name will appear on the Enterprise manager with WebLogicMQ prepended to it.

    • WLS_JMS_HOST: The name of the computer on which the WebLogic JMS server is located.

    • WLS_JMS_PORT: The port number for the JMS server. The default is 7001.

    • WLS_JMS_USERNAME: The user name to use to log in to the JMS server.

    • WLS_JMS_PASSWORD: The password to use to log in to the JMS server.

    • WLS_JMS_MODULE_NAME: The name of the JMS Module containing the system resources and configuration.

    • WLS_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.

    • WLS_JMS_DEPL_NAMES: 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.

  3. To install only runtime components:
    • Specify the runtime components that you want to install in the CHOSEN_INSTALL_FEATURE_LIST property. The runtime components are Appserver, Repository, and STCMS.

    • In the lower part of the file, comment out the configuration for the components you do not want to install.

  4. To install only design-time components:
    • Specify NetBeans in the CHOSEN_INSTALL_FEATURE_LIST property.

    • In the lower part of the file, comment out the configuration for the components you do not want to install.

  5. When you are done configuring the properties, save and close the file.
  6. Continue to Installing Java CAPS Silently Using CLI.

Example 1 Sample Configuration Properties File for Silent Installations

CHOSEN_INSTALL_FEATURE_LIST=Repository,NetBeans,Appserver,STCMS,UDDI,EM

#Choose JDK
#----------
USER_JDK_HOME=install-dir

#Choose Install Folder
#---------------------
USER_INSTALL_DIR=C:\\JavaCAPS6

#Repository Get User Input
#-------------------------
REPOSITORY_NAME=repository1
REPOSITORY_ADMIN_PORT=12000

#NetBeans Get User Input
#-----------------------
NETBEANS_INSTALL_NBMS=1

#Appserver Get User Input
#------------------------
APPSERVER_ADMIN_USER=admin
APPSERVER_ADMIN_PASSWORD=Welcome1
APPSERVER_MASTER_PASSWORD=Welcome1
APPSERVER_DOMAIN_NAME=domain1
# Basic Ports
APPSERVER_ADMIN_PORT=4848
APPSERVER_HTTP_PORT=8080
APPSERVER_HTTPS_PORT=8181
# Advanced Ports
APPSERVER_JMS_PORT=7676
APPSERVER_JMX_ADMIN_PORT=8686
APPSERVER_IIOP_PORT=3100
APPSERVER_IIOP_SSL_PORT=3820
APPSERVER_IIOP_MUTUALAUTH_PORT=3920

#STCMS Get User Input
#--------------------
STCMS_OS_TYPE=OS
STCMS_PORT=18007
STCMS_SSL_PORT=18008
STCMS_MIGRATION_FROM_DIR=

#EM Get User Input
#-----------------
EMANAGER_HOST_NAME=localhost
EMANAGER_ADMIN_PORT=15000

#ORACLE_AQ SUPPORT
#----------------------

ORACLE_AQ_SUPPORT=1
ORACLE_AQ_NAME=AQ_EMAIL
ORACLE_AQ_HOST=localhost
ORACLE_AQ_PORT=1521
ORACLE_AQ_USERNAME=aqadm
ORACLE_AQ_PASSWORD=aqadm;
ORACLE_AQ_SID=ORCL

#Weblogic JMS Information
#-------------------------

WLS_JMS_SUPPORT=1
WLS_JMS_NAME=jmsJavaCAPS
WLS_JMS_HOST=localhost
WLS_JMS_PORT=7001
WLS_JMS_USERNAME=weblogic
WLS_JMS_PASSWORD=weblogic
WLS_JMS_MODULE_NAME=JMSModule
WLS_JMS_SERVER_NAME=WLJMSServer
WLS_JMS_SUB_DEPL_NAME=JMSModule_Server1