How to Configure WebUtil in Oracle Forms 14c

Complete Video Guide:
๐บ YouTube Video Link: Watch Here
๐ข Follow the Complete Series: YouTube Channel
๐ฒ Join Our WhatsApp Channel: Click Here
๐ Follow on LinkedIn: Click Here
Configuring Standard WebUtil in Oracle Forms 14c
Step 1: Execute Database Script
Run the create_webutil_db.sql
script from: ๐ Location: V:\Oracle\Middleware\Oracle_Home\forms\
Step 2: Modify webutil.cfg
๐ Location: V:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\components\FORMS\instances\forms1\server
i. Comment Out These Lines:
#install.syslib.0.0.7.1=jacob-1.21-x86.dll|195072|1.21|true
#install.syslib.0.1.7.1=jacob-1.21-x64.dll|247296|1.21|true
#install.syslib.0.0.9.1=JNIsharedstubs.dll|45056|1.0|true
#install.syslib.0.1.9.1=JNIsharedstubs.dll|58368|1.0|true
#install.syslib.0.0.9.2=d2kwut60.dll|81920|1.0|true
#install.syslib.0.1.9.2=d2kwut60.dll|102400|1.0|true
ii. Enable WebUtil Transfers
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.workAreaRoot=
transfer.appsrv.accessControl=TRUE
transfer.appsrv.read.1=c:\temp
transfer.appsrv.write.1=c:\temp
Step 3: Compile and Copy WebUtil Library
๐ Default Path: D:\Oracle\Middleware\Oracle_Home\forms
Compile
webutil.pll
Copy the
webutil.plx
to the execution folder (where.fmx
files are stored)
Step 4: Restart wls_forms
Once done, restart wls_forms
to activate WebUtil.
Step 5: Modify formsweb.cfg and Run Sample Form
๐ Sample Form Download: Download Here
Configuring WebUtil with OLE (Client_OLE2 or OLE2)
Step 1: Perform All Standard WebUtil Steps Above
Step 2: Uncomment DLLs in webutil.cfg
๐ Location: V:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\components\FORMS\instances\forms1\server
install.syslib.0.0.7.1=jacob-1.21-x86.dll|195072|1.21|true
install.syslib.0.1.7.1=jacob-1.21-x64.dll|247296|1.21|true
install.syslib.0.0.9.1=JNIsharedstubs.dll|45056|1.0|true
install.syslib.0.1.9.1=JNIsharedstubs.dll|58368|1.0|true
install.syslib.0.0.9.2=d2kwut60.dll|81920|1.0|true
install.syslib.0.1.9.2=d2kwut60.dll|102400|1.0|true
Step 3: Download Jacob.jar
๐ฅ Download Link: Click Here
Step 4: Extract and Copy Jacob Files
After extracting jacob-1.18-M2.zip
, copy files to the following locations:
jacob-1.18-M2-x64.dll
โD:\Oracle\Middleware\Oracle_Home\forms\webutil\win64
jacob-1.18-M2-x86.dll
โD:\Oracle\Middleware\Oracle_Home\forms\webutil\win32
jacob.jar
โD:\Oracle\Middleware\Oracle_Home\forms\java
Docs
folder โD:\Oracle\Middleware\Oracle_Home\forms\doc
Step 5: Modify extensions.jnlp
๐ Location: D:\Oracle\Middleware\Oracle_Home\forms\java
Change from:
<!-- <jar href="jacob.jar"/> -->
To:
<jar href="jacob.jar"/>
Step 6: Sign Jacob.jar
i. Generate Keystore File
Run the following command:
keytool.exe -genkey -alias etechwise -keyalg RSA -keystore .keystore_etechwise -validity 3650
๐ Location: D:\Oracle\Middleware\Oracle_Home\oracle_common\jdk\bin
ii. Sign jacob.jar
jarsigner -keystore .keystore_etechwise -storepass oracle $ORACLE_HOME/forms/java/jacob.jar etechwise
iii. Export Certificate
keytool.exe -export -keystore .keystore_etechwise -alias etechwise -file etechwise.cer
iv. Add Certificate to Java Security
Open Java Control Panel
Go to Security > Manage Certificates
Select Signer CA and add
etechwise.cer
Step 7: Modify Configuration Files
i. Modify default.env
๐ Location: D:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_12.2.1\config
Add jacob.jar
to the CLASSPATH
:
CLASSPATH=...;D:\Oracle\Middleware\Oracle_Home\forms\java\jacob.jar;
ii. Modify formsweb.cfg
๐ Location: D:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_12.2.1\config
Add:
WebUtilArchive=frmwebutil.jar,jacob.jar
Step 8: Restart wls_forms and Run Application
After making the above changes, restart wls_forms
and run your application.
Step 9: Resolve Java Security Issues
If you face security issues:
Open Control Panel
Click on Java Icon
Go to Security Tab
Click Edit Site List
Add your application URL
Save changes and restart the application.
๐ Congratulations! You have successfully configured WebUtil with OLE in Oracle Forms 14c.
Need Help? Contact Me
For any issues or further assistance, reach out:
๐ง Email: etechwise21@gmail.com
๐ฑ WhatsApp: +923327674430
Subscribe to my newsletter
Read articles from eTech Wise directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
