12 Replies Latest reply: Dec 17, 2012 5:31 AM by ab*424391*iy RSS

    java plugins

    ab*424391*iy
      Hi,
      I have an application witch works properly on IAS 10g with Jinitiator under Windows xp, I want to use Java Plugin cause Jinitiator makes me many problems with IExplorer where i can not use explorer 8 and upper i changed my formsweb.cfg file to use sun plugin as follows:

      baseHTMLjinitiator=basejpi.htm
      baseHTMLjpi=basejpi.htm

      the form is run in explorer8 but the problem is the icons not appear in the form
      how can i fixed that
      the database server is oracle database 11g under windows server2003 and
      the oracle application server forms and report services 10g under windows server2003
      thanks
        • 1. Re: java plugins
          ab*424391*iy
          please i did not receive any reply to my problem
          is mean there is no solution for my problem
          thanks
          • 2. Re: java plugins
            Fabian
            Hi ab****, :)
            I want to use Java Plugin cause Jinitiator makes me many problems with IExplorer where i can not use explorer 8
            Follow the link and make same changes for switching to Jnitiator to Jre
            http://sathyabh.at/2010/12/01/making-oracle-forms-use-jre-instead-of-jinitiator/

            For sample formsweb.cfg
            http://www.visi.com/~mseberg/Test_JRE_Config_for_iAS.html
            the form is run in explorer8 but the problem is the icons not appear in the form
            Just want to inquire.
            1)Is this after switching to JRE from Jinitiator??
            2)Does the icons appear on IE 7 or older versions??Is it the problem only with IE 8??

            Try Removing a trace of form ie http://<ipadress>:<port>/forms/frmservlet?config=<name>&record=forms
            Trace file gets generated at *$ORACLE_HOME/forms/trace/* folder

            For adding Icons in You Forms,Follow the below link

            http://docs.oracle.com/cd/B14099_19/web.1012/b14032/configure009.htm

            In My Environment,We have followed Storing Icons in a Java Archive File and have loaded the jar file under archive_jini in formweb.cfg
            for example,I have created icons.jar

            archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,icons.jar

            Thanks and Regards
            Fabian
            • 3. Re: java plugins
              ab*424391*iy
              thanks Mr.Fabain
              for your reply
              1- yes that is happend after switching to jre
              2- the problem appear also on IE 7 after switching to jre

              thanks for you
              • 4. Re: java plugins
                Fabian
                Hi,

                have you gone through the links mentioned in my 1st post?

                Follow the link and make same changes for switching to Jnitiator to Jre
                http://sathyabh.at/2010/12/01/making-oracle-forms-use-jre-instead-of-jinitiator/
                For sample formsweb.cfg
                http://www.visi.com/~mseberg/Test_JRE_Config_for_iAS.html
                For adding Icons in You Forms,Follow the below link
                http://docs.oracle.com/cd/B14099_19/web.1012/b14032/configure009.htm
                Try enabling trace through form level as i had mentioned in 1st post.

                Regards,
                Fabian
                • 5. Re: java plugins
                  ab*424391*iy
                  thanks Mr.Fabian for help me
                  still the same problem icons does not display on my forms i show to you the part of my formsweb.cfg
                  envFile=emp.env
                  #baseHTMLjinitiator=g:\oracle\FRHome_1\forms\server\webutiljini.htm
                  #baseHTMLjpi =g:\oracle\FRHome_1\forms\server\webutiljpi.htm
                  #baseHTML =g:\oracle\FRHome_1\forms\server\webutilbase.htm
                  baseHTMLjpi =basejpi.htm
                  baseHTML=basejpi.htm
                  baseHTMLjinitiator=basejpi.htm
                  baseHTMLie=basejpi.htm
                  jpi_classid=clsid:CAFEEFAC-0016-0000-0020-ABCDEFFEDCBA
                  jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u20-windowsi586.cab
                  # for Firefox/Netscape/IE browsers
                  jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_20
                  # for Firefox/Netscape browsers
                  jpi_download_page=http://java.sun.com/javase/downloads/index.jsp
                  Detail-Start?ProductRef=jre-1.5.0_06-oth-JPR@CDS-CDS_Developer
                  WebUtilLogging=on
                  archive_jini=frmall_jinit.jar,ums_icons.jar,frmwebutil.jar,jacob.jar
                  imageBase=Codebase
                  archive=frmall.jar
                  separateFrame=true
                  width=100%
                  height=100%
                  splashScreen=false
                  lookandfeel=Oracle
                  colorScheme=teal
                  HTMLbodyAttrs=topmargin=0 leftmargin=0
                  userid=
                  form=menu4.fmx
                  ############
                  where is the icon jar file is ums_icons.jar and it is display the icons when i back to use jinitiator
                  thanks again for help me
                  • 6. Re: java plugins
                    Fabian
                    Oh ur using Windows Platform,
                    For windows platform you need to edit the registry file as well

                    1) Make a directory UMS_ICONS in g:\oracle\FRHome_1\forms\java\
                    Copy all gif and jpg file to UMS_ICONS folder.

                    2) Modify REGISTRY.DAT file as follows
                    Run -> regedit ->HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE -> ORABI_HOME -> FORMS_PATH
                    Append "g:\oracle\FRHome_1\forms\java\UMS_ICONS" under forms path.
                    example :g:\oracle\FRHome_1\forms\:g:\oracle\FRHome_1\forms\java\UMS_ICONS

                    3) Place a copy of ums_icons.jar in g:\oracle\FRHome_1\Forms\Java folder
                    • 7. Re: java plugins
                      ab*424391*iy
                      thanks Mr.Fabian
                      i make all these changes but still the same problem(the form is run without display icons)
                      what should be do please
                      • 8. Re: java plugins
                        Fabian
                        1)I assuming ur using only gif and jpg format for icons
                        2)Go to "g:\oracle\FRHome_1\forms\server\forms.conf
                        Append the path under
                        # Virtual path for icons
                        AliasMatch ^/forms/icons/(..*) "g:\oracle/FRHome_1/forms/java/UMS_ICONS/$1"
                        3)Go to g:\oracle\FRHome_1\forms\java\oracle\forms\registry
                        Modify REGISTRY.DAT file
                        Append the existing parameter default.icons.iconpath as follows:
                        default.icons.iconpath=UMS_ICONS/
                        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

                        After Changes Restart the instances

                        These are the last try from my end..hope this works
                        • 9. Re: java plugins
                          ab*424391*iy
                          thanks Mr.Fabian
                          i will make all these changes and i tell you , i am using only ( .gif) icons
                          i have other problem i am using functions from webutil like client_host it is also not working with java plugins
                          what should be do about that ..?
                          • 10. Re: java plugins
                            ab*424391*iy
                            Thanks Mr.Fabian
                            the icons with last your solution is display
                            but i still have problem with using webutil package
                            where i using client_host is not work
                            i make these changes
                            baseHTMLjinitiator=webutiljini.htm
                            baseHTMLjpi=webutiljpi.htm

                            thanks again for help me.
                            • 11. Re: java plugins
                              Fabian
                              Hi Ab,

                              Great to know that ur icons are displayed...
                              Now about CLient_Host,Was this working before ie migrating from jnitiator to JRE???
                              Check your Webutil Configuration

                              1.Download WebUtil http://www.oracle.com/technology/software/products/forms/files/webutil/webutil_106.zip
                              2. Download Java Com Library http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
                              3. Extract both zips to some directory.
                              1. Create directory webutil in ORACLE_HOME/forms

                              2. Transfer in binary mode the following files in the directory
                              $ORACLE_HOME/forms/webutil
                              d2kwut60.dll
                              jacob.dll
                              JNIsharedstubs.dll

                              3. The following alias was created in the file ORACLE_HOME/forms/server/forms.conf:
                              AliasMatch ^/forms/webutil/(..*) "ORACLCE_HOME/forms/webutil/$1"

                              4.The file webutil.cfg was created in the ORACLE_HOME/forms/server and he is
                              looking like:
                              logging.file=
                              logging.enabled=FALSE
                              logging.errorsonly=FALSE
                              logging.connections=FALSE
                              install.syslib.location=/webutil
                              install.syslib.0.7.1=jacob.dll|94208|1.0|true
                              install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
                              install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true

                              5. Copy/sign jar files in the following directory ORACLE_HOME/forms/java:
                              jacob.jar,frmwebutil.jar

                              6.If you already have a schema in your RDBMS which contains the WebUtil stored
                              code,
                              you may skip this step. Otherwise have a look at note:333385.1
                              , step 4

                              7.Copy from webutil_106\java to ORACLE_HOME/forms/java the following two
                              javascript files:
                              forms_base_ie.js
                              forms_ie.js

                              8. Transfer in binary mode the following files :

                              webutil.olb
                              webutil.pll
                              WU_TEST_106.fmb
                              in the ORACLE_HOME/forms directory

                              9. Transfer the following files :
                              webutilbase.htm
                              webutiljini.htm
                              webutiljpi.htm
                              in the directory ORACLE_HOME/forms/server

                              10. In formsweb.cfg create the following config section
                              [webutil]

                              WebUtilArchive=frmwebutil.jar,jacob.jar
                              WebUtilLogging=off
                              WebUtilLoggingDetail=normal
                              WebUtilErrorMode=Alert
                              WebUtilDispatchMonitorInterval=5
                              WebUtilTrustInternal=true
                              WebUtilMaxTransferSize=16384
                              baseHTMLjinitiator=webutiljini.htm
                              baseHTMLjpi=webutiljpi.htm
                              baseHTML=webutilbase.htm
                              archive_jini=frmall_jinit.jar
                              archive=frmall.jar
                              lookAndFeel=generic

                              11. Compile the webutil.pll library:
                              frmcmp.sh MODULE=$ORACLE_HOME/forms/webutil.pll USERID=webutil/webutil@orcl
                              MODULE_TYPE=LIBRARY
                              OUTPUT_FILE=$ORACLE_HOME/forms/webutil.plx
                              - no compilation errors

                              12. Bounce the OC4J_BI_Forms container on the application server middle tier
                              For Quick resolution,Open a new thread under
                              Forms

                              Regards
                              Fabian
                              • 12. Re: java plugins
                                ab*424391*iy
                                Hello Mr.Fabian
                                the client_host is working on jinitiator
                                but on jre is not work.
                                thanks