Installation and Configuration of Oracle Forms and Reports 12c on
Windows
Download the required software from oracle edelivery and oracle download sites for either your
32/64 bit
Install JDK
Click OK
Then click location to Install on C://
Java has been successfully installed
The JAVA_HOME is located here:
C:\Program Files\Java\jdk1.8.0_192
Invoke system properties and make changes to environment variable
JAVA_HOME(add the new home)
Install Weblogic Infrastructure Installer
NB Run command prompt as administrator
Click Next
Click Finish
Do not create domain at this stage (Do not click Next)
The domain will be created at a later stage
Next stage will be to create a metadata repository
Unzip the database software files
Install Database 12c
Execute the setup executable
Untick
Click Yes
Click Next
Choose Server class
Click Next
Click Next
Click Next
Modify paths
Click Next
The installer will check requirements
Click Install
Click Allow Access
The installation was successful
Install Forms and Reports
Unzip the installation files
Run the executable
Click Next
Click Next
Click Next
Select the Oracle Home where weblogic Infrastructure was installed installed
Click Next
Leave default and click Next
Select the JDK_HOME
Click Next
Passed all requirements
Click Next
Click Install
Click Finish
Create Repository
Invoke the rcu.bat
Click Next
Click Next
Enter details for metarep database created earlier
It will search for the database,if exists will continue
Click OK
Select Oracle Platform Security Services
And Click Next
Checking prerequisites successful,Click OK
Enter password
Click Next
Click Next and the tablespaces will be created
Click OK
Click OK
Click Create
Repository Creation completed successfully
Close
Create a new domain
Invoke config.cmd
Click Next
Select Components:
Oracle Forms 12.2.1.3.0(forms)
Oracle Reports Application
Oracle HTTP Server Collated
Oracle Reports Tools
Oracle Reports Server
Oracle Reports Bridge
Click Next
Click Next
Enter password for weblogic(password123)
Click Next
Select Production
Click Next
Now enter correct metadata repository details and click get RCU configuration
Retrieving RCU configuration successful
Click Next
Select All
Click Next
Click Next
Enable SSL and click Next
Enter Node Manager credentials(weblogic credentials)
Click Next
Enable SSL on both WLS_REPORTS and WLS_FORMS
Click Next
Click Next
Leave Defaults,Click Next
Click Next
Click Next
Click Next
Click Next
Assign server to machines on the right using the arrow
Click Next
Click Next
Click Next
Add Oracle HTTP Server(ohs)
Click Next
Click Next
Click Next
Assign system component to system components on the right using the arrow
Click Next
Click Next
Click Next
Issue
An issue with coherence servers should have non-localhost addresses,go back to WLS_REPORTS and
WLS_FORMS and change from All Local Addresses to IP 127.0.0.1
Click Create
Click Next
Click Finish
Domain creation complete
Now proceed to do the post installation configurations
POST INSTALLATION CONFIGURATION
Add your ORACLE HOME binaries to environment variables
PATH
LD_LIBRARY_PATH
FORMS_PATH
Invoke registry editor add your forms path entry to the location of your WIP object files of your
application
ie for DVSD
Add this path to form_path
RunRegeditHKEY_LOCAL_MACHINESOFTWAREORACLEKEY_OracleHome2
(Make sure you select the correct Oracle Home which points to your installation directories)
TNS_NAMES
Add entry in this location
C:\u01\app\oracle\Middleware\12.2.1\user_projects\domains\base_domain\config\fmwconfig
Once the entry is added to the tnsnames.ora you can now invoke and connect to the database with
Oracle Forms Builder
Add your entry to tnsnames.ora as below in my case metadb
Another important location is:
C:\u01\app\oracle\Middleware\12.2.1\network\admin
Add your entry there to be able to connect your forms builder to your database
FORMS BUILDER
Invoke Forms Builder at this location
C:\u01\app\oracle\Middleware\12.2.1\bin
frmbld.exe
Invoke Oracle Reports Developer
cd C:\u01\app\oracle\Middleware\12.2.1\bin
Invoke rwbuilder.exe using command prompt
Error-cannot open reports developer
Cause
Missing rwbuilder.conf. The Reports Tools Instance is not yet created.
Solution
Create the Reports Tools Instance
Invoke the WLST tool and login to Admin Server
Create the Reports Tools Instance
(NB WLS_REPORTS should be down when creating the Reports Tools Instance)
Created successfully
STARTING SERVICES
Invoke startNodeManager script as administrator
cd C:\u01\app\oracle\Middleware\12.2.1\user_projects\domains\base_domain\bin
This shows the listener has started successfully on port 5556
Invoke startWeblogic script as administrator
cd C:\u01\app\oracle\Middleware\12.2.1\user_projects\domains\base_domain\bin
Enter weblogic credentials
This shows the weblogic admin server is now in running state
Access Oracle Enterprise Manager OEM to start the services
https://127.0.0.1:7001/em
Enter weblogic credentials to login
The FORMS and REPORT managed services are down,therefore we have to start them
Start WLS_FORMS
Click on WLS_FORMS and click on Start Up
Started successfully
Start WLS_REPORTS
Click on WLS_FORMS and click on Start Up
Status of all services
Start ohs
Navigate to HTTP Serverohs1Start Up
Click ohs1
Oracle HTTP Server started successfully
Now since all services started invoke Reports Builder again
Encountered same error
Solution
This is a wrong path to invoke the rwbuilder,once the report tools instance was created on the task
above.It created the following directories on the DOMAIN_HOME directory as below;
The right way is to invoke the rwbuilder from this specific directory.Invoke from the command
prompt as below:
cd C:\u01\app\oracle\Middleware\12.2.1\user_projects\domains\base_domain\reports\bin
This will start the Reports Builder 12c
OTHER ISSUES ENCOUNTERED AND RESOLUTIONS
1.Issue connecting to a remote Database not a local database gives ORA-12170: TNS:Connect
timeout occurred
Resolution
Make sure your entry in tnsnames.ora is correctly added on location:
C:\u01\app\oracle\Middleware\12.2.1\network\admin
Commented out SERVER=DEDICATED
2.Cannot compile forms Using Forms Builder
Error
Before invoking set the environment variable
Set the environment variable FORMS_PLSQL_BHVR_COMMON_SQL=1 before compiling.
Reference:Forms11g/12c: ORA-00947 Error When Compile Form with Setting
FORMS_PLSQL_BHVR_COMMON_SQL=1 (Doc ID 2207817.1)
Therefore set the environment variable using cmd run as administrator
Compile