Forms 12 C
Forms 12 C
Author:
Abdellatif Abugharbieh
Date:
November 2015
Abdellatif Abugharbieh
Contents
Assumptions...................................................................................................................... 3
Software ............................................................................................................................ 3
Setup ................................................................................................................................. 3
JDK Installation ................................................................................................................ 5
Weblogic Installation ........................................................................................................ 8
Oracle Forms and Reports 12c (12.2.1) Installation ....................................................... 13
Repository Configuration Utility (RCU) ........................................................................ 18
Create Domain ................................................................................................................ 25
Additional Configuration ................................................................................................ 36
Web Start ........................................................................................................................ 41
Abdellatif Abugharbieh
Assumptions
Software
Download the required software from Oracle Technology Network.
Setup
Make sure the "C:\Windows\System32\drivers\etc\hosts" file contains correct entries for
both the "localhost" and real host names.
127.0.0.1
localhost
192.168.74.150 win2008
Abdellatif Abugharbieh
Disable notifications from Control Panel -> User Accounts -> User Account Settings
Abdellatif Abugharbieh
JDK Installation
Double click on jdk-8u65-windows-x64.exe
Click Next in the welcome screen
Click Next
Abdellatif Abugharbieh
Click Close
Abdellatif Abugharbieh
Abdellatif Abugharbieh
Weblogic Installation
Run the installer
C:\media> unzip fmw_12.2.1.0.0_infrastructure_Disk1_1of1.zip
C:\media> %JAVA_HOME%\bin\java -jar fmw_12.2.1.0.0_infrastructure.jar
Abdellatif Abugharbieh
Select the "Skip Auto Updates" options, then click the "Next" button.
Enter the middleware home ("c:\app\oracle\product\12.2.1") and click the "Next" button.
Abdellatif Abugharbieh
Accept the "Fusion Middleware Infrastructure" option by clicking the "Next" button.
Wait for the prerequisite checks to complete. If everything is ok, click the "Next" button.
Abdellatif Abugharbieh
Either enter your support details, or uncheck the security updates checkbox. Click the "Next"
button. If you chose not to receive security updates, click the "Yes" button on the warning dialog.
Abdellatif Abugharbieh
Wait for the installation to complete, and then click the "Next" button.
Abdellatif Abugharbieh
Abdellatif Abugharbieh
Select the "Skip Auto Updates" radio group, then click the "Next" button.
Enter the path for a previously installed 12.2.1 middleware home, then click the "Next"
button.
Abdellatif Abugharbieh
Select the "Forms and Reports Deployment" option, then click the "Next" button.
Abdellatif Abugharbieh
Abdellatif Abugharbieh
Unlike previous versions, where the Forms and Reports Services installation automatically
created the domain, in 12c you need to create repository and configure domain manually.
Abdellatif Abugharbieh
Accept the "Create Repository" and "System Load and Product Load" options by clicking the
"Next" button.
Abdellatif Abugharbieh
Enter the database connection details and click the "Next" button.
If all the prerequisite checks are successful, click the "OK" button.
Abdellatif Abugharbieh
Enter a schema prefix, select the components of interest and click the "Next" button. For Forms
and Reports Services, you should check the "Oracle Platform Security Services" option, which will
automatically select others.
If all the prerequisite checks are successful, click the "OK" button.
Abdellatif Abugharbieh
Enter the credentials for the schemas and click the "Next" button.
Optionally the "Manage Tablespaces" button if you want, or accept the defaults by clicking the
"Next" button.
Abdellatif Abugharbieh
Abdellatif Abugharbieh
Abdellatif Abugharbieh
Abdellatif Abugharbieh
Create Domain
Launch the Configuration Wizard with the following command.
C:\app\oracle\product\12.2.1\oracle_common\common\bin\config.cmd
Accept the "Create a new domain" option, enter the domain name at the end of the "Domain
Location", then click the "Next" button. In this case my domain was called "frs", so the path I used
was "c:\app\oracle\config\domains\frs".
Select the required product templates and click the "Next" button. In this case, we need the
following, which will bring some dependencies with them.
Abdellatif Abugharbieh
Enter the application location and click the "Next" button. I used
"c:\app\oracle\config\applications\frs".
Abdellatif Abugharbieh
Enter the admin name and password then click the "Next" button.
Enter the domain mode and JDK details, then click the "Next" button.
Abdellatif Abugharbieh
Enter the repository database connection details and click the "Get RCU Configuration" button. If
the connection is successful, click the "Next" button.
If you used the same password for all schemas, click the "Next" button. If not, fill in the correct
passwords first.
Abdellatif Abugharbieh
If all the connection tests were successful, click the "Next" button.
Select the "Managed Servers, Clusters and Coherence" and "System Components" options, then
click the "Next" button.
Abdellatif Abugharbieh
Enter the details for one or more managed servers, then click the "Next" button.
Abdellatif Abugharbieh
accept the default managed server to cluster assignments by clicking the "Next" button.
Abdellatif Abugharbieh
Abdellatif Abugharbieh
Click the "+ Add" button to add the OHS component (ohs1), then click the "Next" button.
Accept the default settings for the OHS Server component by clicking the "Next" button.
Abdellatif Abugharbieh
Map the system components to the managed server that controls them. Click the "Next" button.
Abdellatif Abugharbieh
Make a note of the Admin Server URL and click the "Finish" button.
Abdellatif Abugharbieh
Additional Configuration
If you chose the "Production Mode" options for the domain, you will need to create a
"boot.properties" file for the scripts referred to later to work without credentials. Adjust
the DOMAIN_HOME and credentials appropriately.
C:\>mkdir C:\app\oracle\config\domains\frs\servers\AdminServer\security
C:\>echo username=weblogic> C:\app\oracle\config\domains\frs\servers\AdminServer\security\boot.properties
C:\>echo password=weblogic123>> C:\app\oracle\config\domains\frs\servers\AdminServer\security\boot.properties
C:\>mkdir C:\app\oracle\config\domains\frs\servers\WLS_FORMS\security
C:\>echo username=weblogic> C:\app\oracle\config\domains\frs\servers\WLS_FORMS\security\boot.properties
C:\>echo password=weblogic123>> C:\app\oracle\config\domains\frs\servers\WLS_FORMS\security\boot.properties
C:\>mkdir C:\app\oracle\config\domains\frs\servers\WLS_REPORTS\security
C:\>echo username=weblogic> C:\app\oracle\config\domains\frs\servers\WLS_REPORTS\security\boot.properties
C:\>echo password=weblogic123>> C:\app\oracle\config\domains\frs\servers\WLS_REPORTS\security\boot.properties
C:\app\oracle\config\domains\frs\startWebLogic.cmd
Once the server is started you can access the administrator console using the
"http://hostname:port/console" URL. Log in using the username and password provided in
the previous step.
Abdellatif Abugharbieh
Start/Stop Weblogic
Use following commands to start/stop Weblogic:
# Start NodeManager
C:\app\oracle\config\domains\frs\bin\startNodeManager.cmd
# Start WebLogic Domain
C:\app\oracle\config\domains\frs\bin\startWebLogic.cmd
# Start the managed Servers
C:\app\oracle\config\domains\frs\bin\startManagedWebLogic.cmd WLS_FORMS
C:\app\oracle\config\domains\frs\bin\startManagedWebLogic.cmd
WLS_REPORTS
HTTP Setup
Since OPMN is no longer used, starting the HTTP Server must be done using the
Enterprise Manager console as below.
If you have any problems starting the OHS, start nodemanager and try again.
if HTTP Server fails to start even after starting nodemanager then try installing the
following windows patches:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=30679
http://www.microsoft.com/en-us/download/details.aspx?id=16771
http://www.microsoft.com/en-us/download/details.aspx?id=2092
Abdellatif Abugharbieh
The HTTP Server must be started once, for the directories associated with "ohs1" instance
to be created. The web tier is not configured by default, so you will need to do the
following.
Edit the "C:\app\oracle\product\12.2.1\forms\templates\config\forms.conf" file to contain
the following.
<Location /forms>
SetHandler weblogic-handler
WebLogicHost win2008
WebLogicPort 9001
</Location>
Copy the config files to the "moduleconf" directory under the "ohs1" instance.
copy C:\app\oracle\product\12.2.1\forms\templates\config\forms.conf
C:\app\oracle\config\domains\frs\config\fmwconfig\components\OHS\instances\ohs1\moduleconf
copy C:\app\oracle\product\12.2.1\reports\conf\reports_ohs.conf
C:\app\oracle\config\domains\frs\config\fmwconfig\components\OHS\instances\ohs1\moduleconf
Abdellatif Abugharbieh
Abdellatif Abugharbieh
The basic URLs of importance are shown below. Ports may vary between installations.
Abdellatif Abugharbieh
Web Start
Oracle Forms can easily be run using Java Web Start, freeing you from issues with
browser compatibility. For this to work, you need a Java 8 JRE installed on the PC. To run
using Web Start for the first time, simply issue the URL in the following form.
http://hostname:9001/forms/frmservlet?config=webstart
http://hostname:7777/forms/frmservlet?config=webstart
Depending on your browser, the Web Start version of the URL will either just run, or will
ask you to save a ".jnlp" file on your computer. Once saved, you can double click on the
file and it will launch Forms directly from the PC as a Web Start application, without
using a browser.
HTH
Abdellatif
Abdellatif Abugharbieh