Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Installing: Creating the Configuration Properties File for Silent Installations
 

Planning for Java CAPS Installation

Using the Java CAPS 6 Installation GUI

Using the Java CAPS 6 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

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

Starting and Stopping Java CAPS

Installing Additional Components for Java CAPS 6

Installing Third-Party JAR Files

Java CAPS Runtime Installation

Uninstalling Java CAPS 6

Installing Patches for Java CAPS

Creating the Configuration Properties File for Silent Installations

Use the sample file in this topic to set up your configuration properties file. Copy the file to the directory where you are going to install Java CAPS.

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

To comment out bundles and features you do not want to install, place a hash (#) symbol at the beginning of the relevant lines. You must set the following variables:

installername
The name of the installation executable file.
USER_JDK__HOME
The directory where your JDK software is located.
USER_INSTALL_DIR
The directory where you are installing Java CAPS.
REPOSITORY_NAME
The name of the computer on which you are installing the Repository. You can change the default repository of repository1 but do not use simply “repository” because assigning a name that is the same as the component name in lowercase can cause connection problems.
STCMS_OS_TYPE
The name of the operating system on which you are installing the Sun Java JMS IQ Manager. Possible values are:
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.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
Do not install

In the sample file, APPSERVER stands for the Sun Java System Application Server, and EM stands for Enterprise Manager.

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

Example 1 Sample Configuration Properties File for Silent Installations
#Installation command examples
#installername -i silent
#installername -f file.properties


#[silent|gui|console]
CHOSEN_INSTALL_FEATURE_LIST=Repository,NetBeans,Appserver,STCMS,UDDI,EM
#[Complete|Custom]
CHOSEN_INSTALL_SET=Complete


#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=adminadmin
APPSERVER_MASTER_PASSWORD=changeit
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

After creating a configuration properties file, you are ready to perform a silent CLI installation. For more information, see Installing Java CAPS Silently Using CLI.