The Problem
Recently, I completed a fresh installation of Oracle Forms 12 (release 12.2.1.4.0). This comprised a complete installation of Oracle Fusion Middleware Infrastructure on my Windows 10 PC. I opened an existing fmb file in Form Builder, compiled it and launched it. Everything worked as expected until the point where the URL to run the form appeared in the browser address bar. The form name included the full path name, which the Forms server could not handle and consequently gave an error, informing me that the form could not be found. Therefore, I needed some way of removing the full Windows path from the form file name when launching the form from within Form Builder.
The Solution
The issue was resolved by adding the following registry entry:
FORMS_OBR_REMOVE_PATH
with a value of:
TRUE
I added the entry in the following registry location:
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\<Oracle Home>
where <Oracle Home> was the name of the Oracle Home that was created by the Oracle Forms installation process; in my case the actual name was "KEY_OracleHome1".
After adding this new registry setting, I started up the Form Builder and tried launching a form. This time the URL did not contain the path name for the fmb file and the form module opened without any issues.