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.
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.
To install only runtime components:
Change the install set from Complete to Custom (CHOSEN_INSTALL_SET=Custom).
Set the runtime components that you want. The runtime components are Sun Java System Application Server, Repository, and Sun JMS IQ Manager.
Comment out components that you do not want to install, such as NetBeans.
To install only design-time components:
Change the install set from Complete to Custom (CHOSEN_INSTALL_SET=Custom).
Ensure that NetBeans is set.
Comment out components that you do not want to install, such as Repository.
#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.