Adsense Ad

Tuesday, 7 March 2017

How to display icons in oracle forms 11g


1. Create a "icons" folder in any location and place all image file like *.gif (Example: cd C:\ icons)


2. Go to C:\icons from command prompt and then From this location, make a jar file of all gif images:
jar -cvf icons.jar *.gif (Example: C:\ icons >D:\Oracle\Middleware\Oracle_FRHome1\jdk\bin\ jar -cvf icons.jar *.gif)
(a jar file with named icons.jar will be created in C:\icons)


3. Copy this jar(icons.jar) into "D:\Oracle\Middleware\Oracle_FRHome1\forms\java "
4. sign this jar file by following commands:
4.1 cd D:\Oracle\Middleware\asinst_1\bin
4.2 sign_webutil.bat D:\Oracle\Middleware\Oracle_FRHome1\forms\java\icons.jar


5. Change the following parameters in formsweb.cfg (Location: D:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config):


codebase=/forms/java
imageBase=codebase
archive=frmall.jar,icons.jar


6. Change the following parameters in Registry.dat (Location: D:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config\forms\registry\oracle\forms\registry):


default.icons.iconpath=icons/

default.icons.iconextension=gif


7. Restart your browser

2 comments:

Zakria Nawaz said...

getting error the syntax of the command is incorrect. after executing sign_webutil.bat

Unknown said...

Getting error while signing the jar file, something like "Password incorrect"