How to Configure WebUtil in Oracle Forms 14c

ยท

3 min read

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

  1. Open Java Control Panel

  2. Go to Security > Manage Certificates

  3. 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:

  1. Open Control Panel

  2. Click on Java Icon

  3. Go to Security Tab

  4. Click Edit Site List

  5. Add your application URL

  6. 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

ย