1 2 Previous Next 22 Replies Latest reply on Aug 10, 2011 7:44 PM by 881654

    Upgrading to FMW Forms 11g - Button Icons not appearing !!!

    Patrice Massieh-Oracle
      Dear Forms Gurus

      IHAC, that are engaged in upgrading their Forms 10g Application to Forms 11g.

      When we deploy and run an migrated/upgraded form (FMX) into an 11g Forms Server, everything works except the icons*.

      The application has a number of buttons that refer to custom icons *(MyIcon.gif).*

      When the Application is run, non of the icons appear on the button._

      I have checked, re-checked the config and have tried many variations:

      Basically, the config as follows:

      In the form, the button refers to an icon called myicon (lowercase and no extension and directory location).

      In the application Server, under the *‘/weblogic/Oracle/Middleware/as_1/forms/java’* location we have a jar file *(MyIcons.jar)* that contains all the gif files, including *‘myicon.gif’*

      I checked the jar, file, it is accessible, valid and the files inside of it are all in lowercase with the gif extension. I able to extract the jar files and see the gif files.

      I am even able to get the IE download dialog box (open/download/cancel) appear when I try to access the jar file by via the browser :

      http://<host>:<port>/forms/java/MyIcons.jar

      In the formsweb.cfg configuration file, I have the following entries:

      imageBase=codebase
      codebase=/forms/java
      archive=frmall.jar,/weblogic/Oracle/Middleware/as_1/forms/java/MyIcons.jar

      Even, I have updated the registry file, even though I have set the imageBase=codebase.

      The Registry.dat file in *($ORACLE_HOME/forms/java/oracle/forms/registry)* has been updated with the following entries:

      default.icons.iconpath=/weblogic/Oracle/Middleware/as_1/forms/java
      default.icons.iconextension=gif

      I have re-started the Oracle WebLogic Server, but I am still not able to see the icons appear on the application ?

      Is my setup correct ?

      Am I missing anything ?

      Has anyone been able to successfully migrate a forms application to 11g (and get the icons to come up) ?

      Any help and advise is appreciated ?

      Edited by: Patrice Massieh on Sep 24, 2009 6:20 PM
        • 1. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
          Sarah
          hi

          check in java consol that jar is loading or not?

          and also try something like this may it helps.

          serverApp=default
          # Forms applet archive setting for JInitiator
          archive_jini=frmall_jinit.jar,Your-Jar.jar


          sarah
          • 2. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
            Patrice Massieh-Oracle
            Sarah

            Thanks for your update, the commands that you have mentioned, do they go inside the formsweb.cfg ?

            Also, how do I check the Java Console ? wherther the JAR is downloaded or not ?

            Appreciate you help

            Thanks

            Patrice
            • 3. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
              618632
              Hi!

              May try to remove the path in front of your jar file.
              And as Sarah suggested take a look in the java console if your jar-file is beeing downloaded.

              btw:
              What's about the perfomance of the forms 11g server?

              Regards
              • 4. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                Sarah
                hi
                when u run form then the java console icon displays on windows taskbar its color is like pink and white u can say coffee color and just click on show console on the same icon..

                formsweb.cfg

                serverApp=default
                # Forms applet archive setting for JInitiator
                archive_jini=frmall_jinit.jar,Your-jar.jar



                sarah
                • 5. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                  618632
                  You get into the java console with a right click on the java coffee cup next to your clock on the taskbar.

                  @Sarah
                  with Forms 11g no JInitiator anymore.

                  !http://www.webpuzzle.de/clipart/java1.jpg!
                  • 6. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                    Sarah
                    Magoo

                    i have not tested 11G.
                    ok i got it.

                    sarah

                    Edited by: SarahSarahSarah on Sep 24, 2009 10:53 AM
                    • 7. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                      Patrice Massieh-Oracle
                      The Java Console does shows clearly the "Load Image...." messages for the GIF images that are being downloaded for the buttons, and yet the buttons still show no images....:-(

                      I am running out of ideas...
                      • 8. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                        618632
                        the message about loading images says unfortunately nothing about if it not found.

                        but do you get a message that your myicons.jar is downloaded to jar cache?

                        please close the browser and start again. Keep looking to the java console.
                        • 9. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                          Patrice Massieh-Oracle
                          I am assuming that I should be able to locate my JAR file (MyIcons.jar) file at the local PC somewhere right ? Does anyone know how and where I can find out where the JAR files is in the local PC ?
                          • 10. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                            618632
                            in the jar cache.
                            take a look into the windows control panel -> java -> temporary internet files where it is ...
                            • 11. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                              Patrice Massieh-Oracle
                              No none of the message in the Console say anything about the jar file itself being downloaded , just shows the GIF file names that are inside the JAR file.
                              • 12. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                                Sarah
                                hi

                                i am not sure about 11G.

                                did u see the following command in java console?

                                Loading http://------:8890/forms/java/You-jar.jar from JAR cache.



                                Sarah

                                Edited by: SarahSarahSarah on Sep 24, 2009 11:44 AM

                                Edited by: SarahSarahSarah on Sep 24, 2009 11:46 AM
                                • 13. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                                  Patrice Massieh-Oracle
                                  okay, in the Control Panel --> Java --> Temporary Internet Files, I can see MyIcons.jar cached. The location is the Application Server, rather then a physical location on the PC .
                                  • 14. Re: Upgrading to FMW Forms 11g - Button Icons not appearing !!!
                                    Patrice Massieh-Oracle
                                    Okay Guys

                                    I have sripped the form down to a very simple form with one button refering to a single image file called exit.

                                    In my MyIcons.jar file, I have my exit.gif file and nothing else.

                                    When I run the application the Java Console output displays the following:

                                    Java Plug-in 1.6.0_12
                                    Using JRE version 1.6.0_12 Java HotSpot(TM) Client VM
                                    User home directory = C:\Documents and Settings\7710955

                                    ----------------------------------------------------
                                    c:   clear console window
                                    f:   finalize objects on finalization queue
                                    g:   garbage collect
                                    h:   display this help message
                                    l:   dump classloader list
                                    m:   print memory usage
                                    o:   trigger logging
                                    q:   hide console
                                    r:   reload policy configuration
                                    s:   dump system and deployment properties
                                    t:   dump thread list
                                    v:   dump thread stack
                                    x:   clear classloader cache
                                    *0-5: set trace level to <n>*
                                    ----------------------------------------------------

                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/splash.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/oracle_logo.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/bgnd.gif
                                    Forms Session ID is ..38
                                    The proxy host is null, and the proxy port is 0.
                                    Native HTTP implementation is being used for the connection.
                                    The connection mode is HTTP.
                                    Forms Applet version is 11.1.1.1
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/frame.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/save.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/print.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/pset.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/exit.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/cut.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/copy.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/paste.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/entqry.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/exeqry.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/canqry.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/prvblk.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/prvrec.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/nxtrec.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/nxtblk.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/insrec.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/delrec.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/lockrec.gif
                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/frmall.jar!/oracle/forms/icons/help.gif
                                    Loaded image: http://10.245.211.199:8090/weblogic/Oracle/Middleware/as_1/forms/java/exit.BMP


                                    It appears that it is looking for a file called exit.BMP in location */weblogic/Oracle/Middleware/as_1/forms/java/exit*, which is weired, since my image file is GIF and it is inside a JAR file and the JAR file is forms/java

                                    I would have expected this to be like the other references:

                                    Loaded image: jar:http://10.245.211.199:8090/forms/java/MyIcon.jar!exit.gif


                                    Any ideas ???
                                    1 2 Previous Next