Icons not displaying in oracle forms.

Hi All,
I am trying to display icons on Oracle forms 10g.I just brought over these forms from another system and I am trying to display the icons like next record, clear form etc..
I have done the following steps so far. The icons are still not displaying. Appreciate any help.
Created a folder in D:\oracle\oracleas\forms\java called icons.
Copied all gif files and jpeg files into icons. Then created a jar file.
D:\oracle\oracleas\forms\java>jar -cvf my_icons.jar icons
It created the jar file in the same directory D:\oracle\oracleas\forms\java
Also changes were made to these files as shown below each file.
forms.conf
AliasMatch ^/forms/icons/(..*) "D:\oracle\oracleas\forms\java\icons/$1"
registry.dat
default.icons.iconpath=http://servername:7778/forms/java/
formweb.cfg
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=codebase
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar,frmmain.jar, frmjdapi.jar, my_icons.jar
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar,frmmain.jar, frmjdapi.jar, my_icons.jar
Also added this line under orion-web-app in orion-web.xml file.
     <virtual-directory virtual-path="/icons" real-path="D:\oracle\oracleas\forms\java\icons" />
Restarted the OC4J forms server after any change.

To test your configuration, you can try building an URL:
i.e.
http://localhost:8889/forms/frmservlet/icons/iconname.gif
Does it show the icon ?
If that does not work, I would try re-generating the my_icons.jar file, but instead of going directly to the forms/java/icons folder, copy the icons folder to the root directory i.e. c:\icons and execute the command to jar the icons folder, then redeploy the my_icons.jar file.
Then try again with the URL... if the URL does not work, you still have configuration issues.
PS: Don't forget to clear the cache in your browser so that the new .jar files is loaded?
Furthermore:
========
Remove the changes made to the forms.conf and orion-web.xml, they are only needed if the icons are
not stored in a .jar file.
forms.conf
AliasMatch ^/forms/icons/(..*) "D:\oracle\oracleas\forms\java\icons/$1"
orion-web.xml
<virtual-directory virtual-path="/icons" real-path="D:\oracle\oracleas\forms\java\icons" />
Edited by: Rodolfo Ferrari on Jun 17, 2009 6:14 PM
To double check your configuration, follow steps in metalink note 232413.1 - How to Deploy Iconic Images via a JAR File in Forms 9i/10g?.
Edited by: Rodolfo Ferrari on Jun 17, 2009 7:19 PM
Edited by: Rodolfo Ferrari on Jun 17, 2009 7:24 PM

Similar Messages

  • BMP is not displayed in Oracle Forms 10g

    Hi,
    I am trying to display logo on the custom logon form.
    I have created an image item in the block. The following code is written in WNFI
    DECLARE
    Master_image VARCHAR2(80) := 'SS.bmp';
    BEGIN
    set_window_property(forms_mdi_window, window_state, maximize);
    set_window_property(forms_mdi_window, Title, 'Accounting System');
    READ_IMAGE_FILE(master_image, 'BMP', 'image_master');
    END;
    But the BMP is not getting displayed.
    Am i missing something here?
    Thanks
    AT

    Hi Gerd,
    I thought so.
    But it is working same way in another application also on 10g.
    I do not have access to that form but i got the above mentioned code used there and i tried to use it in my form.
    Can think of something?
    Thanks
    AT

  • Images are not displaying in the forms run time.

    Hello All,
    I am using forms 10.1.2.3.0 and database 11g in the windows XP platform.
    I am not able to see the images in the buttons at the run time. I have done the following setup for the same but still I am not able to display images in the buttons. I have gone through all the previous threads for the same. Can any body suggest where I am doing the wrong?
    1) Created one JAR file with the below command putting all the gif files in a folder (All the GIF files are in lower case). Kept this jar file in the forms/java folder. (When I am extracting the JAR file getting all the gif files and one more folder META-INF).
    rem====
    jar cvf icon.jar *.gif
    rem=====
    2) Modified the formsweb.cfg file as follows.
    imageBase=codeBase
    archive_jini=frmall_jinit.jar,icon.jar
    3) In the buttons property Iconic = Yes and Iconicfile name = icon_print (gif file name).
    4) Modified the Registry.dat file in the path "forms\java\oracle\forms\registry\Registry.dat" as follows.
    default.icons.iconpath=forms/java
    default.icons.iconextension=gif
    Start the OC4J instance, and run the application, but still not able to see the images in the buttons. After I modified the regedit file I am able to see the images in the design time but not in the run time.
    Any thing more needed to do the same. All the suggestions are welcome.
    Thanks,
    SUN
    Edited by: User SUN@ on Nov 23, 2009 11:25 AM

    Create a virtual directory icons in your /forms/server/forms.conf file
    In the registry.dat file change
    change
    default.icons.iconpath=http://yourmachine:port/forms/icons/
    Re: icons not displaying in oracle forms.
    Re: Icon deploy issue in 10g forms
    Re: cannot show icon images
    Re: Step by step creation of iconic buttons

  • ICONS are not appearing in oracle forms 10g

    Dear All,
    Good Morning.
    I am using oracle 10g forms.
    I had my old application in forms6i. I migrated it into forms 10g.
    Application is running fine no function problem there is.
    But icons are appeared into button.
    Please tell me way, how can i configure for icons.

    The above mentioned thread is talking about icons not appearing in the Forms builder and not at runtime. I don't think it will help you.
    In Webforms displaying "Icons" it's a little bit different than client/server, Webforms use .gif files as icons and not .ico files and these files should be Jarred in a .Jar file and put in a directory where the JVM can reach.
    Follow the instruction in the [url http://www.oracle.com/technology/products/forms/pdf/webicons.pdf]Webicons file in page 3 under the "Don't want to learn about the details, Just get started!" it's very easy and fun.
    Tony

  • Display in "Oracle Forms 10g" a BLOB item

    Hey, anybody know if there was any java component or a way to display in "Oracle Forms 10g" a BLOB item, which contains no images, but files of type PDF, DOC, TXT ....
    Thank you

    <p>The Enhanced HTML browser bean allows showing amost everything in its window. See this screen shot</p>
    So you could download your stored document onto the AS or the client with the Webutil FILE_TRANSFERT package, or you could envisage top develop
    a nice PL/SQL procedure that would send the content via the UTL_HTTP package.
    Francois

  • IPhoto event icons not displaying in chronological order. How do I fix?

    iPhoto event icons not displaying in chronological order. How do I fix?

    Have you explored the options under the View -> Sort Events menu?
    Regards
    TD

  • Wirless icon not displaying, but says I am connected to network

    I am a new Iphone user, so I apologize is this a rookie questions. I believe I am connected to my house wireless connected as the name of my network is checked off when I go to settings and Wifi.
    My question is, though, why is my icon not displaying on the top left corner? It displays when I am connected at work and everywhere else I was able to connect. Is there something in my settings that I may have checked?
    And, does that mean I am not really connected wirelessly?
    Thanks in advance for your help!

    Thanks, all. So, I just rebooted and there was no change.
    Then, as SteveCWatkings recommended, I went into my settings page. I went into the properties page, and there isn't anything listed beside IP address, Subnet Mask, Router, DNS, etc. They are all empty...
    *UPDATE*
    Okay, something just happened. AS I WAS RESPONDING, I was clicking on each of the fields (IP address, Subnet, etc to see if I could enter information since they were empty. And,when I got to DNS, it allowed me to type something in. Not knowing what to enter, I clicked back and it took me back to the Settings page. So, I clicked on my network again and when I tapped my network, all the fields were filled in, and the icon appeared.
    So, now it appears to be connected. I don't know if it will remain connected, or if I had to tap something (DNS?) or if it was glitch, but it appears to be working now.
    Thanks a ton!

  • Could not start the Oracle Forms Server

    I am using Windows 2000 Professional
    The Oracle Forms Server [Forms60Server] service failed to start due to the following error:
    Access is denied.
    Event ID: 7000
    Source: Service Control Manager
    Description: Could not start the Oracle Forms Server [Form60Server] service on a Local Computer.
    Error 0005: Access is Denied

    Description:
    I Installed Oracle Forms6i and when i tried to run web test form I got this :
    Event Type:     Information
    Event Source:     Application Popup
    Event Category:     None
    Event ID:     26
    Description:
    Application popup: ifcgi60.exe - Unable To Locate DLL : The dynamic link library D2LA60.dll could not be found in the specified path C:\orant\tools\web60\cgi;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem.
    this missed file already exist in <Oracle Home>\Bin
    directory, and if I copied it to the asked destination
    it asks for more CORE40.dll and NLSRTL33.dll
    and then those also copied then the screen disappears
    Question : Why did this error occur, what went wrong
    and how do I fix this problem
    2)the other question is in Forms9iDS Version 9.0.2.7.0 I am getting this error
    Event Type:     Error
    Event Source:     Service Control Manager
    Event Category:     None
    Event ID:     7000
    Description:
    The OracleOraHome9iAgent service failed to start due to the following error:
    Access is denied.
    FRM-92060 :Failed to connect to the server
    Bad machine specification :/forms90/190servlet:-1
    Any Suggestion will be appreciated

  • Oracle Drive:  Icon Not Displayed in "My Computer"

    I have a couple of users who are using Oracle Drive, and they have no problem connecting, and they have the "Open Explorer window after connection" option selected. However, if they accidentally close the Explorer window, and try to go back into "My Computer" and find the icon for the drive to open it, it's not displayed. However they are actually still connected to the drive. Both of these users are running WinXP, SP2, and have all current Windows updates, patches, etc. We also have about 20 other users with the same OS and environment who are not having this problem. All of these users are in a domain controller (Windows Active Directory Server 2003) environment. This is not a huge issue, but are there any ideas as to why this is happening?

    try to check with some one from microsoft as this error happens even with a local driver under windows. Or u can re-install windows again!!

  • Menu toolbar icons not displayed in colour when deployed on the Web

    Hello!
    We are developing an application using Forms6i on Windows NT.
    Our problem is that menu toolbar icons are not displayed in colour when the application is deployed on the Web using lookAndFeel = generic. This is the case both when using Microsoft IE5 and Netscape 4.5. When lookAndFeel = oracle, however, the icons are displayed in colour.
    The icons are stored as *.gif files in the same directory as the application *.html file. It does not help to create a virtual path /web_icons/ in the www listener and edit the parameter default.icons.iconpath in the file Registry.dat.
    When running the application as client/server, the menu toolbar icons are displayed in colour as expected.
    Any ideas on how to solve this problem?
    Regards,
    Kjell Pedersen
    Nera SatCom AS
    Norway
    null

    Hi,
    I got the same problem and I didn't figure out, how to solve this problem.
    But did you try to printout the form anyway? I guess you will see the icons on the printout, won't you?
    Regards
    Dirk

  • Image is not displayed in APEX Form with APEX utility Function

    Dear APEX experts,
    As i am new to the oracle apex development. I have just created the basic employee information form in which i upload the photograph of the employee. The photograph gets uploaded but it does not display properly. I have already referred the sample database application to display the image. Moreover, i have followed the same steps as it is used to display the product image in that application. Still i am unable to get result. I am getting following output:
    <img src="apex_util.get_blob_file?a=35682&s=101496289174102&p=15&d=10639237623242912156&i=10639236703270912154&p_pk1=21&p_pk2=&p_ck=FCA12832591A1C706D76FDD589E551A2" />
    Please help me seniors to solve this issue. How to display the image using this utility.

    mehpandya wrote:
    I have observed following HTML code after inspecting the two application.
    1.Sample Database application:
    In this application , the product image is uploaded and displayed correctly and following code is rendered in the HTML source.
    <span id="P6_IMAGE" class="display_only" ><img src="apex_util.get_blob_file?a=64703&s=134073736366663&p=6&d=25732916709090782422&i=25433760606377189086&p_pk1=1&p_pk2=&p_ck=7E23190CC0BFE98BBE4CCE2ADFBBEF26" /></span>
    2.Sample HRMS Application - Which i have created for learning.
    In this application , the employee photo is uploaded but it is not displayed correctly. Following is code is rendered in the HTML.
    "<span id="P15_EMPIMG" class="display_only" >&lt;img src="apex_util.get_blob_file?a=35682&amp;s=100541516379272&amp;p=15&amp;d=10639237623242912156&amp;i=10639236703270912154&amp;p_pk1=21&amp;p_pk2=&amp;p_ck=31A8328E0F5754D7CBD0FC0C6313B38A" /&gt;</span>"
    Hence , in my application the code is not rendered perfectly and syntax is not completed.
    following characters are rendered like this.: &lt , &quot , &gt , &amp.
    So, is this the reason of not displaying the image???Yes.
    To get a Display Item to render as HTML, in the item definition Security section set Escape special characters to No.
    For a report column, ensure the Display Text As report column attribute is Standard Report Column rather than the default Display as Text (escape special characters).
    Use a Display Image item and declarative BLOB support instead of this clunky manual method.
    Please read the FAQ and forum sticky threads (if you haven't done so already.
    You'll get a faster, more effective response to your questions by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    The APEX documentation is here.

  • Icon not displaying

    I am getting problem in displaying icons in the toolbar.
    Before posting here, i have gone through all the threads related to it, but could not get my problem fixed.
    Following steps have been followed:
    1- created jar file of the GIF images i.e. my.jar. All the images were in the root directory.
    2- Copied the jar file to G:\DevSuiteHome\forms\java directory.
    3- In the form, in the property of menu item, i specified the exactly same image file name with no extension.
    4- Modified the formsweb.cfg file with following changes:
    archive_jini=f90all_jini.jar,my.jar
    imagebase=codebase
    i can access the jar file in the browser using the following url:
    http://<servername>:8891/forms/java/my.jar
    The platform is Windows 2003 with Developer suit 10g.
    Kindly help me to fix this problem.
    Thanks

    Without changing any configuration, however, when i execute the application by entering the following command into the start->run menu
    iexplore http://ssi-mmunir.ssilhr.com.pk:8891/forms/frmservlethttp://ssi-mmunir.ssilhr.com.pk:8891/forms/frmservlet?config=summit
    then application successfully display the icons in the toolbar.
    But when it is executed from form builder, no icons are displayed.

  • Eye icon not displaying in AccordionPanelTab

    This problem is across sites. One of them is http://www.alvingolf.com/documents.html. Strangely, on that site, there is also an accordion where I cannot directly edit in design view, but must edit in the code. That page is http://www.alvingolf.com/banquet-room.html. All the other accordions on the site all editing in design view but still display no eye icon. I can open the panels in the Properties panel, however.
    SpryAccordion.js - version 0.15 - Spry Pre-Release 1.6.1
    SpryAccordion.css - version 0.4 - Spry Pre-Release 1.6.1
    -- but greatly customized
    Dreamweaver CS5
    Other sites with the same problem are http://www.cityofhillcrestvillage.org/documents.html and http://www.bababaseball.org/documents.html. They have 1.6.1 .js but I noticed they have the 1.4 .css. Now I'm wondering if I copied over something important when I added my former styles back to the SpryAccordion.css on alvingolf.com.
    I would like to just reload the new framework, but the link given on the sidebar says explicitly that it ONLY works with CS4, and I have CS5. I found the file in my configuration folder in Program Files, so I'm going to give that a go, but if anyone knows of another reason why the eye might not display, please pass it on.
    Actually, this problem started before I upgraded to CS5. And I guess the one where I cannot edit directly is the subject of another post.
    Thanks,
    Karen

    Karen, I have also seen this behavior. Make sure you have not turned off your Invisible Elements. Even in CS5, I get the eyeball when I turn on Invisible Elements and Visual Aids.
    If your Spry code is corrupted, however, with an extra div or other item between structure that the widget needs to work, you will not get the eye AND your widget will break.
    I have also experienced not being able to edit in Design View. I have not completely tracked down the cause, but in situations where I have not stated a height (most situations) but HAVE spec'd overflow: hidden; I can't edit in Design View in that element. This is in CS5, which seems pickier than CS4 did.
    Regarding the sidebar link that states that it ONLY works with CS4, perhaps it means ONLY CS4 and NOT CS3. Typically, code will work going forward, but not work going backward in version. You can get a clue on precise meaning of that statement if you have a date on when it was made. If it was made before CS5 was released (March 2010), it probably means to exclude CS3. If it was made after March 2010, it could mean to exclude also CS5.
    You can make a copy of the files/site in case of catastrophe and try using the newer framework in CS5.
    Beth

  • Displaying the Oracle Forms 10g

    Hi Everyone,
    I need help on this one.
    I am currently running Oracle Forms 10g and I want to display the Calendar object on an item in my module.
    I have attached the relevant libraries i.e Calendar and added the program units as required so in my module there are two additional data blocks that is
    DATE_CONTROL_BLOCK and DATE_BUTTON_BLOCK and I have my canvas and the DATE_LOV_CANVAS.
    What code do I had to the KeyListVal trigger to enable me to display the Calendar at runtime?

    Hi,
    Actually what I want to find out is how to include a
    Calendar in my Form Module at runtime.That wasn't your initial post's question, and what do you mean by at runtime??
    You need to have the objects you stated in your first post in the form to be able to show the calendar at runtime.
    If you have the Forms Demo read the help files they have explained everything in it. If not you can download it from [url http://www.oracle.com/technology/sample_code/products/forms/index.html]here
    Tony

  • JavaBean not working with Oracle Forms (URGENT)

    I have written a Javabean program which I invoke from Oracle Forms. The program is designed to pass a parameter from the form to the bean and get a parameter back to the form from the Javabean. The bean is called on the when-button-pressed event of a form button. The problem is, the form doesnt seem to invoke the bean at all. There seems to be no communcation between the form and the bean at runtime on-click of the form button other that all the messages in the form procedure being displayed.
    The event code for the button is,
    Declare
    setNewMsg varchar2(2000) := 'Hello World';
    getData varchar2(2000);
    BeanHdl Item;
    Begin
    BeanHdl := find_item('Block3.MYBEAN');
    If NOT ID_NULL(BeanHdl) Then
              Message('Before Set');
              SET_CUSTOM_PROPERTY(BeanHdl,1,'setMessage',setNewMsg);
              Message('Before Get');
              getData := GET_CUSTOM_PROPERTY(BeanHdl,1,'getMessage');
              SYNCHRONIZE;
              Message(getData);
              Message('After Get');
              Message(' ');
    Else
              Message('The ID is null');
              Message(' ');
    End If;
    END;
    The javabean code is,
    package oracle.forms.beans;
    import java.awt.*;
    import java.io.*;
    import java.beans.*;
    import oracle.forms.ui.*;
    import oracle.forms.properties.*;
    import oracle.forms.handler.*;
    import oracle.ewt.lwAWT.*;
    public class SimpleTestBean extends VBean { 
    public static final ID SETMESSAGE = ID.registerProperty("setMessage");
    public static final ID GETMESSAGE = ID.registerProperty("getMessage");
    private String msg = "";
    public String newMessage() {
         return msg;
    public Object getProperty(ID id) { 
         try { 
              if (id == GETMESSAGE) { 
                   return newMessage();
    return super.getProperty(id);
    catch (Exception e) { 
         e.printStackTrace();
    return null;
    public boolean setProperty(ID id, Object value) { 
         try { 
              if (id == SETMESSAGE) { 
              msg = (String) value;
    return super.setProperty(id, value);
    catch (Exception e) { 
         e.printStackTrace();
    return false;
    Thanks

    Hi,
         I have written a Javabean program which I invoke from Oracle Forms. The program is designed to pass a parameter from Oracle Form(Ver 6i) to the java bean and get a parameter back to the form. The Javabean is called on "When-Button-Pressed" event of a Form button. The problem is, Form doesn't seem to invoke the bean at all. There seems to be no communication between the Oracle Form and the Javabean at runtime.
         On-click of the Form button though all test messages in the Form trigger are being displayed (Even message before and after the Set_Custom_Property & Get_Custome_Property). The only issue is the Form variable doesn't show the returned value from the bean. So the big question is - Whether the bean is invoked at all or not.
         If YES then how to check it and if NO then how to communicate with the bean from Oracle Form. I am attaching the code of Javabean and trigger code.
    Thanks & Regards
    NOTE : All the ClassPath for the JavaBean has been set properly and the Form is also recognizing the Implementation Class for the Javabean.
         The Trigger Code is,
         --- This code is written on When-Button-Pressed trigger of Form button.
         --- The form also contains the bean area "MYBEAN", which i have referred in the code.
         Declare
              setNewMsg varchar2(2000) := 'Hello World';
              getData varchar2(2000);
              BeanHdl Item;
         Begin
         BeanHdl := find_item('Block3.MYBEAN');
         If NOT ID_NULL(BeanHdl) Then
              Message('Before Set');
              SET_CUSTOM_PROPERTY(BeanHdl,1,'setMessage',setNewMsg);
              Message('Before Get');
              getData := GET_CUSTOM_PROPERTY(BeanHdl,1,'getMessage');
              SYNCHRONIZE;
              Message(getData);
              Message('After Get');
              Message(' ');
         Else
              Message('The ID is null');
              Message(' ');
         End If;
         END;
    The Bean Code is,
         package oracle.forms.beans;
         import java.awt.*;
         import java.io.*;
         import java.beans.*;
         import oracle.forms.ui.*;
         import oracle.forms.properties.*;
         import oracle.forms.handler.*;
         import oracle.ewt.lwAWT.*;
         public class SimpleTestBean extends VBean { 
         public static final ID SETMESSAGE = ID.registerProperty("setMessage");
         public static final ID GETMESSAGE = ID.registerProperty("getMessage");
         private String msg = "";
         public String newMessage() {
              return msg;
         public Object getProperty(ID id) { 
              try { 
                   if (id == GETMESSAGE) { 
                        return newMessage();
    return super.getProperty(id);
         catch (Exception e) { 
              e.printStackTrace();
              return null;
         public boolean setProperty(ID id, Object value) { 
              try { 
              if (id == SETMESSAGE) { 
              msg = (String) value;
    return super.setProperty(id, value);
         catch (Exception e) { 
              e.printStackTrace();
              return false;
    ------------------------------------------------------------------------------------------

Maybe you are looking for