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.
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.
Copy the sample properties file following this procedure into a text file on the computer where you are installing Java CAPS.
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.
Configure the following properties:
To install only runtime components:
Change the install set from Complete to Custom (CHOSEN_INSTALL_SET=Custom).
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.
To install only design-time components:
Change the install set from Complete to Custom (CHOSEN_INSTALL_SET=Custom).
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.
When you are done configuring the properties, save and close the file.
Continue to Installing Java CAPS Silently Using CLI.
#[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