Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » Setting of ICON in Oracle 10G Application Server (10G Release 2)
Setting of ICON in Oracle 10G Application Server [message #312467] Wed, 09 April 2008 00:14 Go to next message
sanju0003
Messages: 2
Registered: March 2008
Location: Chandigarh
Junior Member
Hi All...

What is the setting of icon's in 10G Release 2 on window plateform ?



Thanks & Regards
Sanjeev Kumar
Re: Setting of ICON in Oracle 10G Application Server [message #316479 is a reply to message #312467] Fri, 25 April 2008 05:29 Go to previous messageGo to next message
shahmayur
Messages: 22
Registered: November 2007
Location: London, UK
Junior Member
Displaying Icons on Push Buttons

Forms 10g no longer supports ICO files as icons for the buttons. You will need to convert your icon files into GIF or JPG format.

Design time Configuration

To display the icons in your Forms builder, modify your windows registry Hkey_Local_Machine\Software\Oracle\<Forms10g_Home>\UI_ICON by entering the path of your GIF/JPG files for e.g. C:\MY_APP\ICONS.

Runtime Configuration

1) Creating Jar file

i) Once you are ready with your GIF files or JPG files, create a folder called ICONS. You can create this folder anywhere. For e.g. you can create ICONS folder on a C drive under root directory or as a sub-folder under any folder.

ii) Assuming you have created ICONS folder as a root folder on C drive, now copy all your GIF files in this folder.

iii) Go to the DOS prompt and enter cd\

iv) At C:\ prompt enter the following command to create Java Archive File (JAR) called my_icons
Jar –cvf my_icons.jar icons

v) Copy this file in <Forms10g_Home>\Forms\Java folder.

Please remember that having the name of the folder holding GIF/JPG files as ICONS is very important. Because if the folder name is something else, icons will not be displayed in your form at run time. This reason is not mentioned anywhere in Oracle’s documentation. I learnt about this through metalink (Service Request no. 6602276.993) after struggling for more than one day to display the icons.

2) Modify REGISTRY.DAT file

i) Open this file located in <Forms10g_Home>\forms\java\oracle\forms\registry folder.

ii) Append the existing parameter default.icons.iconpath as follows:
default.icons.iconpath=icons/

iii) If you are going to use GIF files as image files for icons, then leave the existing parameter default.icons.iconextension=gif as it is. If you want to use JPG files instead of GIF files, replace GIF with JPG as shown below:
default.icons.iconextension=jpg

3) Modify FORMSWEB.CFG file

This file exists under <Forms10g_Home>\Forms\Server folder.

Append the following existing parameters:
i) imagebase=codebase
ii) archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,my_icons.jar

Re: Setting of ICON in Oracle 10G Application Server [message #316498 is a reply to message #316479] Fri, 25 April 2008 06:45 Go to previous messageGo to next message
sanju0003
Messages: 2
Registered: March 2008
Location: Chandigarh
Junior Member
Hi shahmayur..

I've solved my problem but i didn't modify REGISTRY.DAT.
All other setting are same mentioned by you.

Thanks for the Co-operation.

Sanjeev
Re: Setting of ICON in Oracle 10G Application Server [message #319889 is a reply to message #316479] Tue, 13 May 2008 06:17 Go to previous messageGo to next message
indxe
Messages: 4
Registered: May 2008
Location: Jordan
Junior Member

Hi shahmayur..

i applied your instructions to display icon on push butoon but it doesnt work, i dont know what is the problem, when i applied the instruction i changed the property iconic of the button to yes and i put the image name (jpg format) but it didnt work.
Re: Setting of ICON in Oracle 10G Application Server [message #346393 is a reply to message #312467] Mon, 08 September 2008 07:27 Go to previous messageGo to next message
marwa.m
Messages: 9
Registered: September 2008
Junior Member
The following line didn't work in prompt command


Jar –cvf my_icons.jar icons


Please help me
Re: Setting of ICON in Oracle 10G Application Server [message #380996 is a reply to message #312467] Wed, 14 January 2009 13:53 Go to previous messageGo to next message
RAY_HT
Messages: 155
Registered: May 2005
Location: Giza
Senior Member
go to the path of jar.exe , you find it at oraclehome/jdk/bin

then use the command of making jar files
Re: Setting of ICON in Oracle 10G Application Server [message #397412 is a reply to message #316479] Fri, 10 April 2009 09:18 Go to previous messageGo to next message
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member
I have create the jar file , place it in java and make the change in formweb.config, put the path
D:\DevSuiteHome_2\forms\java\oracle\forms\registry as
default.icons.iconpath=ICONS and then make the change in registry of ui_icons
but still not solved the problem.
help me.
Re: Setting of ICON in Oracle 10G Application Server [message #397606 is a reply to message #312467] Mon, 13 April 2009 00:32 Go to previous messageGo to next message
sirfkashif
Messages: 70
Registered: September 2007
Location: Rawalpindi
Member
1. Go to "Oracle_HOME"/forms/java/oracle/forms/registry
2. Open registry and change the following parameter (change IP) accordingly
3. default.icons.iconpath=http://your_IP:7778/forms/icons
4. default.icons.iconextension=gif
5. go to "Oracle_HOME"/forms/server/form.config
6. add the following line and change accordingly
7. AliasMatch ^/forms/icons/(..*) "c:\icons/$1"

where c:\icons is the icons directory.

Hope this helps


Note "Oracle_HOME" is application server home not Developer Home.

Regards,
Kashif
Re: Setting of ICON in Oracle 10G Application Server [message #397607 is a reply to message #312467] Mon, 13 April 2009 00:32 Go to previous messageGo to next message
sirfkashif
Messages: 70
Registered: September 2007
Location: Rawalpindi
Member
1. Go to "Oracle_HOME"/forms/java/oracle/forms/registry
2. Open registry and change the following parameter (change IP) accordingly
3. default.icons.iconpath=http://your_IP:7778/forms/icons
4. default.icons.iconextension=gif
5. go to "Oracle_HOME"/forms/server/form.config
6. add the following line and change accordingly
7. AliasMatch ^/forms/icons/(..*) "c:\icons/$1"

where c:\icons is the icons directory.

Hope this helps


Note "Oracle_HOME" is application server home not Developer Home.

Regards,
Kashif
Re: Setting of ICON in Oracle 10G Application Server [message #397608 is a reply to message #312467] Mon, 13 April 2009 00:33 Go to previous messageGo to next message
sirfkashif
Messages: 70
Registered: September 2007
Location: Rawalpindi
Member
sorry for duplication
Re: Setting of ICON in Oracle 10G Application Server [message #397636 is a reply to message #397606] Mon, 13 April 2009 02:01 Go to previous messageGo to next message
irfankundi786@yahoo.com
Messages: 269
Registered: February 2009
Location: pakistan
Senior Member
I folow yours step but still my problem is not solved.
I want to configure it on local machine not on Application Server.
please help how i can do it.
I have done the folowing steps.
default.icons.iconpat=D:/DevSuiteHome_2/forms/icons
default.icons.iconextension=gif
AliasMatch ^/forms/java/(..*) "c:\ICONS/$1"
but not solve my problem .
How i can do.
I want to configure it on developer 10g.
Re: Setting of ICON in Oracle 10G Application Server [message #401668 is a reply to message #312467] Wed, 06 May 2009 01:32 Go to previous messageGo to next message
debashispattanayak
Messages: 5
Registered: July 2008
Location: Bhubaneswar
Junior Member

Dear All,
I have followed the instruction but unsuccessful. The icon is visible at design time but not at run time. Please help me.



Regards
Debashis Pattanayak Shocked
Re: Setting of ICON in Oracle 10G Application Server [message #404329 is a reply to message #312467] Thu, 21 May 2009 06:44 Go to previous messageGo to next message
dirish
Messages: 232
Registered: November 2006
Senior Member
Hi All,

I am facing the same problem:

Version 10.1.2.0.2 on Solaris 10
Installation Type Forms and Reports Services

In mycfgfile.cfg,
imageBase has been set to codeBase, archive_jini set to my_icons.jar

In Forms Font and Icon Mapping (Registry.dat), I have set default.icons.iconpath to /oracle/ias10g/10.1.2/forms/java.
and
default.icons.iconextension to JPG


I have copied my_icons.jar to /oracle/ias10g/10.1.2/forms/java

Before creating the jar file (my_icons.jar), the images had extension .JPG


My icons are not being displayed Sad




Re: Setting of ICON in Oracle 10G Application Server [message #405693 is a reply to message #312467] Fri, 29 May 2009 01:57 Go to previous messageGo to next message
sanjeev_thoppil
Messages: 4
Registered: May 2009
Junior Member
Please check the following procedure which worked out for me.
1. <<home>>\forms\java\oracle\forms\registry\registery.dat
file add :default.icons.iconpath=SANJEEV/
and default.icons.iconextension=gif
2. This SANJEEV will be folder in which you save all the .gif
files.
3. Make a directory SANJEEV in
<<home>>\forms\java\
4. Copy all gif files to SANJEEV folder.
5. In command prompt enter the path for java.exe
path=d\ORACLE_APPLICATIONS\jdk\bin
6. Now in command prompt goto the SANJEEV folder.
7. In command prompt type
jar -cvf my_icons.jar *.gif
8. Move the file that is created ie. my_icons.jar to
\\<<home>>\forms\java folder.
9. In formsweb.cfg add to existing
archive=frmall.jar,my_icons.jar
archive_jini=frmall_jinit.jar,my_icons.jar

The above configuration should solve the problem.




Re: Setting of ICON in Oracle 10G Application Server [message #423966 is a reply to message #312467] Tue, 29 September 2009 08:56 Go to previous messageGo to next message
mamalik
Messages: 268
Registered: November 2008
Location: Pakistan
Senior Member

Dear All,

I created a folder on c:\ with name of "Icons" and set the parameter "UI_ICON" in registry with "c:|Icons", then i run Jar.Exe which i found in "C:\DevSuiteHome_1\jdk\bin", then i run follwoing command on dos prompt.

Jar -cfv my_icons.Jar Icons


but no jar file found in c:\ drive then i run following command

Jar -cfv my_icons.Jar *.gif


but still no jar file found in c:\ drive.

I stopped here. What may be problem?

Best Regards.
Asif.

Re: Setting of ICON in Oracle 10G Application Server [message #534188 is a reply to message #423966] Sat, 03 December 2011 23:12 Go to previous message
hajour
Messages: 1
Registered: December 2011
Location: KAU
Junior Member
Hi

you find icons jar file(.Jar) in the same folder of Gif icons (.gif)
thx Smile
Previous Topic: set new oracle patch
Next Topic: OCIEnvCreate failed with return code -1 but error message text was not available. or ORA-06413
Goto Forum:
  


Current Time: Thu Mar 28 14:25:02 CDT 2024