8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | 21c | 23c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux
Oracle Forms and Reports 11gR2 Silent Installation on Oracle Linux 6
This article describes the silent installation of Oracle Forms and Reports on Oracle Linux 6. The article assumes there is already an Oracle WebLogic Server 11gR1 (10.3.6) installation present on the machine. Normal WebLogic installations can use either a Java6 or Java7 JDK as both are supported. If your WebLogic installation is for use with Oracle Forms, you must use a Java6 JDK, like JRockit.
Related Articles.
- Oracle Forms and Reports 11gR2 Installation on Oracle Linux 6
- Oracle WebLogic Server (WLS) 11gR1 (10.3.5 and 10.3.6) Installation on Oracle Linux 5 and 6
- Oracle Forms and Reports Services 11gR2 Configuration Notes
Software
Download the Forms and Reports 11gR2 software from Oracle Technology Network.
- Oracle Fusion Middleware Downloads (ofm_frmrpts_linux_11.1.2.2.0_64_disk1_1of1.zip)
Prerequisites
In addition to any prerequisites performed during the WebLogic 11g installation, the following packages should be installed.
yum install binutils -y yum install compat-libcap1 -y yum install compat-libstdc++-33 -y yum install compat-libstdc++-33.i686 -y yum install gcc -y yum install gcc-c++ -y yum install glibc -y yum install glibc.i686 -y yum install glibc-devel -y yum install glibc-devel.i686 -y yum install libaio -y yum install libaio-devel -y yum install libgcc -y yum install libstdc++ -y yum install libstdc++.i686 -y yum install libstdc++-devel -y yum install libXext.i686 -y yum install libXtst.i686 -y yum install openmotif -y yum install openmotif22 -y yum install sysstat -y yum install ksh -y
Turning off the firewall and setting SELinux to Permissive reduces the chances of problems during the installation. You can see how to do this here.
The rest of the article assumes all required software is present in the "/u01/software" directory. Adjust as required.
Response Files
Response files provide all the answers to the questions normally asked by the Oracle Universal Installer (OUI).
Create a file called "/u01/software/forms.rsp" with the following contents. Alter the parameters as required.
[ENGINE] #DO NOT CHANGE THIS. Response File Version=1.0.0.0.0 [GENERIC] #Set this to true if you wish to specify a directory where latest updates are downloaded. This option would use the software updates from the specified directory SPECIFY_DOWNLOAD_LOCATION=false # SKIP_SOFTWARE_UPDATES=true #If the Software updates are already downloaded and available on your local system, then specify the path to the directory where these patches are available and set SPECIFY_DOWNLOAD_LOCATION to true SOFTWARE_UPDATES_DOWNLOAD_LOCATION= #Set this to true if installation and configuration need to be done, all other required variables need to be provided. Variable "INSTALL AND CONFIGURE LATER TYPE" must be set to false if this is set to true as the variables are mutually exclusive INSTALL AND CONFIGURE TYPE=true #Set this to true if only Software only installation need to be done. If this is set to true then variable "INSTALL AND CONFIGURE TYPE" must be set to false, since the variables are mutually exclusive. INSTALL AND CONFIGURE LATER TYPE=false #Give the complete path to a valid Middleware Home with WebLogic Server installed. MW_HOME=/u01/app/oracle/middleware #Give the complete path to a valid WebLogic Server Home for the corresponding Middleware Home entered. WL_HOME=/u01/app/oracle/middleware/wlserver_10.3 #Give the name of the Oracle Home directory. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. ORACLE_HOME=/u01/app/oracle/middleware/FR_home #Give the complete path for an Oracle Instance directory to be created. This is the location where the software configuration files and runtime processes will reside. INSTANCE_HOME=/u01/app/oracle/middleware/FR_inst #Give a name for Oracle Instance corresponding to the Instance Home. The Oracle Instance name may only contain alphanumeric and underscore (_) characters, it must begin with an alphabetic (a-z or A-Z) character, and must be from 4 to 30 characters in length. INSTANCE_NAME=FR_inst #This option configures Forms and Reports Builders. OHS and Oracle Enterprise Management Agent are not included.Variable "CONFIGURE_FOR_DEPLOYMENT" must be set to false if this is set to true as the variables are mutually exclusive. CONFIGURE_FOR_DEVELOPMENT=false #This option configures Forms and Reports Servers. OHS and Oracle Enterprise Management Agent are included.Variable "CONFIGURE_FOR_DEVELOPMENT" must be set to false if this is set to true as the variables are mutually exclusive. CONFIGURE_FOR_DEPLOYMENT=true #Set this to true if you want to create a new domain, all other required variables need to be provided. If this is set to true then variables "EXTEND_DOMAIN" and "EXPAND_CLUSTER" must be set to false, since the variables are mutually exclusive. CREATE_DOMAIN=true #Set this to true if you want to extend an already existing domain, all other required variables need to be provided. If this is set to true then variables "CREATE_DOMAIN" and "EXPAND_CLUSTER" must be set to false, since the variables are mutually exclusive. EXTEND_DOMAIN=false #Set this to true if you want to expand a cluster in an already existing domain, all other required variables need to be provided. If this is set to true then variables "CREATE_DOMAIN" and "EXTEND_DOMAIN" must be set to false, since the variables are mutually exclusive. EXPAND_CLUSTER=false #Write the name of the domain you want to create. Domain name may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters. DOMAIN_NAME=ClassicDomain #The directory location which will contain the domain.A new directory with the name same as "DOMAIN_NAME" will be created under the "DOMAIN_LOCATION". If no value is specified to "DOMAIN_LOCATION" ,then the default value that will get set is MW_HOME/user_projects/domains. DOMAIN_LOCATION=/u01/app/oracle/config/domains #Host on which the Domain is configured/to be configured. The following values should be completed whether creating a domain, expanding a cluster or extending a domain. DOMAIN_HOSTNAME=ol6.localdomain #Port on which the Domain is/will be listening. DOMAIN_PORT=7001 #Give an administrator user name for the domain if you are creating a new one otherwise give the administrator user name for the domain configured at the host. ADMIN_USER_NAME=weblogic #Give an administrator password for the domain if you are creating a new one otherwise give the administrator password for the domain configured at the host. ADMIN_PASSWORD=Password1 #Write the administrator password again to confirm. ADMIN_CONFIRM_PASSWORD=Password1 #Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name. MYORACLESUPPORT_USERNAME= #Provide the My Oracle Support Password MYORACLESUPPORT_PASSWORD= #Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration DECLINE_SECURITY_UPDATES=true #Set this to true if My Oracle Support Password is specified SECURITY_UPDATES_VIA_MYORACLESUPPORT=false #Provide the Proxy Host PROXY_HOST= #Provide the Proxy Port PROXY_PORT= #Provide the Proxy Username PROXY_USER= #Provide the Proxy Password PROXY_PWD= #Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port] COLLECTOR_SUPPORTHUB_URL= #Set this to true if you want the configuration wizard to assign the ports automatically. AUTOMATIC_PORT_DETECT=true #Give the location for the file containing the list of static ports if you manually want to assign ports. STATICPORT INI FILE LOCATION= #Set this to true if you do not want to use proxy. DO NOT USE PROXY SETTINGS=true #Set this to true if you do want to use proxy. ENABLE PROXY=false #Give the host name for proxy settings. PROXY HOST NAME= #Give the port for proxy settings. PROXY PORT NO= #Give the bypass addresses for proxy settings. PROXY BY PASS ADDRESS= #Set this to true to use either OSSO or OAM as the Single Sign On Solution. USE_OID=false #Give the Application OID hostname. OID_HOST= #Give the Application OID port. OID_PORT= #Give the Application OID username. OID_USERNAME=cn=orcladmin #Give the Application OID password. OID_PASSWORD= #Set this to true if you want to use OID in SSL mode. OID_USE_SSL=false #Set this to true to use OSSO as the Single Sign On solution. Variable "USE_OAM" must be set to false if this is set to true as the variables are mutually exclusive. USE_SSO=false #Set this to true to use OAM as the Single Sign On solution. Variable "USE_SSO" must be set to false if this is set to true as the variables are mutually exclusive. USE_OAM=true #Give the Application OAM hostname. OAM_HOST= #Give the Application OAM port. OAM_PORT= #Give the Application OAM username. OAM_USERNAME= #Give the Application OAM password. OAM_PASSWORD= #Set this to true if you want to use OAM in SSL mode. OAM_USE_SSL=true [SYSTEM] [APPLICATIONS] [RELATIONSHIPS] #Set this to true if you want to configure Oracle Forms CONFIGURE_FORMS=true #Set this to true if you want to configure Oracle Reports CONFIGURE_REPORTS=true #Set this to true if you want to configure Oracle Forms Builder. "CONFIGURE_FORMS" must also be set to true then as Oracle Forms Builder Configuration is dependent on it. CONFIGURE_FORMS_BUILDER=true #Set this to true if you want to configure Oracle Reports Builder. "CONFIGURE_REPORTS" must also be set to true then as Oracle Reports Builder Configuration is dependent on it. CONFIGURE_REPORTS_BUILDER=true #Set this to true if you set CONFIGURE_FOR_DEVELOPMENT=true and if you want to configure Forms servers and builders. CONFIGURE_FORMS_ENVIRONMENT=true #Set this to true if you set CONFIGURE_FOR_DEVELOPMENT=true and if you want to configure Reports servers and builders. CONFIGURE_REPORTS_ENVIRONMENT=true #Set this to true if you want to configure Oracle HTTP Server. CONFIGURE_OHS=true #Set this to true if you want to configure Oracle Enterprise Manager. ENTERPRISE_MANAGEMENT=true #Set this to true if you want to create a cluster for the selected applications CREATE_CLUSTERED=true
Create a file called "/u01/software/oraInst.loc" with the following contents.
inventory_loc=/u01/app/oraInventory inst_group=oinstall
Installation
Unzip the software and navigate to the "Disk1" directory.
mkdir -p /u01/software/forms cd /u01/software/forms unzip -o ../ofm_frmrpts_linux_11.1.2.2.0_64_disk1_1of2.zip unzip -o ../ofm_frmrpts_linux_11.1.2.2.0_64_disk1_2of2.zip cd Disk1
Run the installer, referencing the "forms.rsp" and "oraInst.loc" files.
./runInstaller -silent -response /u01/software/forms.rsp -invPtrLoc /u01/software/oraInst.loc
Once the installation is complete, create a boot.properties file for the AdminServer and the managed servers.
echo "username=weblogic" > /u01/app/oracle/config/domains/ClassicDomain/servers/AdminServer/security/boot.properties echo "password=Password1" >> /u01/app/oracle/config/domains/ClassicDomain/servers/AdminServer/security/boot.properties cp $DOMAIN_HOME/servers/AdminServer/security/boot.properties $DOMAIN_HOME/servers/WLS_FORMS/security/boot.properties cp $DOMAIN_HOME/servers/AdminServer/security/boot.properties $DOMAIN_HOME/servers/WLS_REPORTS/security/boot.properties
Your installation is now complete.
Post-Installation
Once the server is started you can access the administrator console using the "http://hostname:7001/console" URL. Log in using the username and password set during the installation.
The following scripts are useful. They assume a Boot Identity File has been created for the AdminServer and the WLS_FORMS and WLS_REPORTS managed servers.
# Set environment. export MW_HOME=/u01/app/oracle/middleware export WLS_HOME=$MW_HOME/wlserver_10.3 export WL_HOME=$WLS_HOME # Set to the appropriate JAVA_HOME. export JAVA_HOME=/u01/app/oracle/jdk1.7.0_79 export PATH=$JAVA_HOME/bin:$PATH export FR_HOME=$MW_HOME/FR_home export FR_INST=$MW_HOME/FR_inst export DOMAIN_HOME=/u01/app/oracle/config/domains/ClassicDomain # Start NodeManager nohup $WLS_HOME/server/bin/startNodeManager.sh > /dev/null 2>&1 & # Start WebLogic Domain nohup $DOMAIN_HOME/bin/startWebLogic.sh > /dev/null 2>&1 & sleep 60 # Start the managed Servers nohup $DOMAIN_HOME/bin/startManagedWebLogic.sh WLS_FORMS > /dev/null 2>&1 & nohup $DOMAIN_HOME/bin/startManagedWebLogic.sh WLS_REPORTS > /dev/null 2>&1 & sleep 60 # Start anything remaining using OPMN $FR_INST/bin/opmnctl startall # Stop anything remaining using OPMN $FR_INST/bin/opmnctl stopall # Stop the managed Servers $DOMAIN_HOME/bin/stopManagedWebLogic.sh WLS_FORMS $DOMAIN_HOME/bin/stopManagedWebLogic.sh WLS_REPORTS # Stop WebLogic Domain $DOMAIN_HOME/bin/stopWebLogic.sh
The basic URLs of importance are shown below. Ports may vary between installations.
- http://localhost:7001/console (Console)
- http://localhost:7001/em (Enterprise Manager)
- http://localhost:9001/forms/frmservlet (Forms Base URL)
- http://localhost:9002/reports/rwservlet (Reports Base URL)
- http://localhost:8888/forms/frmservlet (Base HTTP URL you would normally use to initiate Forms and Reports)
- https://localhost:8890/forms/frmservlet (Base HTTPS URL you would normally use to initiate Forms and Reports)
Before you can start using Forms and Reports Services you will need to do some environment configuration, which is discussed here.
Patch HTTP Server
Make sure all the services associated with Forms and Reports Services have been stopped before you begin patching.
# Unzip Opatch cd /u01/software unzip -o p6880880_111000_Linux-x86-64.zip # Unzip the HTTP server patch. mkdir /u01/software/http cd /u01/software/http unzip -o ../p21640624_111170_Linux-x86-64.zip cd 21640624 # Set environment. export MW_HOME=/u01/app/oracle/middleware export ORACLE_HOME=$MW_HOME/FR_home export PATH=/u01/software/OPatch:$PATH # Apply the patch. opatch apply -silent
If you have no other patches to apply, you can now start Forms and Reports Services.
Patch ADF
Make sure all the services associated with Forms and Reports Services have been stopped before you begin patching.
# Unzip Opatch if you haven't already. cd /u01/software unzip -o p6880880_111000_Linux-x86-64.zip # Unzip the ADF patch for FRS. cd /u01/software mkdir adf2 cd adf2 unzip -o ../p20715966_111170_Generic.zip cd 20715966/oui # Set environment. export MW_HOME=/u01/app/oracle/middleware export ORACLE_HOME=$MW_HOME/FR_home export PATH=/u01/software/OPatch:$PATH # Apply the patch. opatch apply -silent
If you have no other patches to apply, you can now start Forms and Reports Services.
For more information see:
- Oracle WebLogic Server (WLS) 11gR1 (10.3.5 and 10.3.6) Installation on Oracle Linux 5 and 6
- Oracle Forms and Reports Services 11gR2 Configuration Notes
- Oracle Fusion Middleware Downloads
- Oracle Fusion Middleware: Forms and Reports Documentation
- Oracle Fusion Middleware Installation Guide for Oracle Forms and Reports 11g Release 2 (11.1.2)
Hope this helps. Regards Tim...