7 Replies Latest reply: Jan 5, 2012 9:42 AM by Michael Ferrante-Oracle RSS

    java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions

    882670
      hi all,
      i am using the oracle forms10g, and os: windows 7(itself application server).
      i installed jre(j2dk 1.6.0 30) instead of jinitiator. while i am running the forms through IE and calling the excel report the followinfg error is coming oracle.forms.webutil.ole ole functions bean not found
      after that i opened the java console the following exception is found
      java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions

      ==========================
      webutil configuration in formsweb.cfg
      ==========================
      [webutil]
      archive=frmall.jar,frmwebutil.jar,jacob.jar
      #archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,f90all_jinit.jar
      WebUtilArchive=frmwebutil.jar,jacob.jar
      WebUtilLogging=on
      WebUtilLoggingDetail=normal
      WebUtilErrorMode=Alert
      WebUtilDispatchMonitorInterval=5
      WebUtilTrustInternal=true
      WebUtilMaxTransferSize=16384
      baseHTMLjinitiator=webutiljpi.htm
      #baseHTMLjinitiator=basejpi.htm
      baseHTMLjpi=webutiljpi.htm
      baseHTML=webutilbase.htm
      baseHTML=webutiljpi.htm
      lookAndFeel=Oracle

      ===================
      java console
      ===================

      Java Plug-in 1.6.0_30
      Using JRE version 1.6.0_30-b12 Java HotSpot(TM) Client VM
      User home directory = D:\Users\admin
      ----------------------------------------------------
      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>
      ----------------------------------------------------


      proxyHost=null
      proxyPort=0
      connectMode=HTTP, native.
      Forms Applet version is : 10.1.2.0
      java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
           at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at java.awt.Container.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
           at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
           at java.awt.Component.dispatchEventImpl(Unknown Source)
           at java.awt.Container.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
           at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
           at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
           at java.awt.Container.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
           at java.awt.EventQueue.access$000(Unknown Source)
           at java.awt.EventQueue$1.run(Unknown Source)
           at java.awt.EventQueue$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.awt.EventQueue$2.run(Unknown Source)
           at java.awt.EventQueue$2.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at oracle.forms.handler.UICommon.instantiate(Unknown Source)
           at oracle.forms.handler.UICommon.onCreate(Unknown Source)
           at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.awt.EventQueue$2.run(Unknown Source)
           at java.awt.EventQueue$2.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at oracle.forms.handler.UICommon.instantiate(Unknown Source)
           at oracle.forms.handler.UICommon.onCreate(Unknown Source)
           at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
           at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
           at oracle.forms.engine.Runform.processMessage(Unknown Source)
           at oracle.forms.engine.Runform.processSet(Unknown Source)
           at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
           at oracle.forms.engine.Runform.onMessage(Unknown Source)
           at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
           at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
           at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
           at java.awt.Component.dispatchEventImpl(Unknown Source)
           at java.awt.Container.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
           at java.awt.EventQueue.access$000(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at oracle.forms.handler.UICommon.instantiate(Unknown Source)
           at oracle.forms.handler.UICommon.onCreate(Unknown Source)
           at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
           at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at oracle.forms.handler.UICommon.instantiate(Unknown Source)
           at oracle.forms.handler.UICommon.onCreate(Unknown Source)
           at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
           at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at oracle.forms.handler.UICommon.instantiate(Unknown Source)
           at oracle.forms.handler.UICommon.onCreate(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Unknown Source)
           at oracle.forms.handler.UICommon.instantiate(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)
      java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
           at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
           at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
           at java.awt.EventDispatchThread.run(Unknown Source)

      kindly help me how to resolve this problem
      thank you.
        • 1. Re: java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
          spilgrim
          Is the frmwebutil.jar specified in the classpath in your default.env file (or the env file named in formsweb.cfg) ?

          Another thing to do is to press 'L' on the java console to see which jars have been loaded.

          Steve
          • 2. Re: java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
            Michael Ferrante-Oracle
            Several problems:

            1. You appear to be using 10.1.2.0 with JRE 1.6.0. This is not supported and likely will not work correctly. You must be using 10.1.2.3 or newer Forms version.

            2. Windows 7 is not supported for use with Forms 10.1.2.0. You need to patch to 10.1.2.3 (see MyOracleSupport note 1292919.1)

            3. Looking at your java console, it does not appear that frmwebutil.jar is being downloaded. This suggests a configuration issue in formsweb.cfg or you (the end-user) are not properly calling the form. Try using the default webutil config. For example:

            http://server:port/forms/frmservlet?form=myWebUtilform&config=webutil

            4. To use webutil (10.1.2.3) on a Win7 client, there are several things which must be considered:

            <li> You must use a 32bit browser and 32bit JRE
            <li> You need to reconfigure WebUtil to send the libraries to an unrestricted directory on the client. Refer to MOS note 783937.1)
            <li> It may be necessary to relax or disable Windows UAC (refer to the MS documentation)


            .

            Edited by: Michael Ferrante on Jan 3, 2012 9:50 AM
            • 3. Re: java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
              882670
              hi, thank you for your reply
              i checked in the default.env. the frmall.jar class path is already entered.and pressed 'L' in java console the following jar file is showing

              Live entry: key=http://sys25:8889/forms/java/,frmall.jar, refCount=1, threadGroup=sun.plugin2.applet.Applet2ThreadGroup[name=http://sys25:8889/forms/java/-threadGroup,maxpri=4]
              Done.
              • 4. Re: java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
                spilgrim
                So frmwebutil.jar is not specified then. You need to add it in.
                • 5. Re: java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
                  Michael Ferrante-Oracle
                  If you want to fix the problem(s) and have something stable, refer back to what I said just above.

                  1. Forms 10.1.2.0 not supported with JRE 1.6 or on Win7. For Win7, you need to be using Forms 10.1.2.3
                  2. After fixing #1, try using the URL I suggested in order to utilize the webutil config.
                  3. Refer to the MOS notes I mentioned in order to change the client destination directories. In order to do this, you will need to patch up to 10.1.2.3 plus add on the Forms Bundle patch(es). The patches are needed as new functionality was added in these patches which permits the changing of the destination directory. If you do not do this, webutil will not work on Win7 regardless of the versions you are using.

                  If you do not have a Support Contract and access to MyOracleSupport, you will not be able to get these patches and therefore will not be able to easily overcome your issue in a supported manner.
                  • 6. Re: java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
                    882670
                    can you please guide me how to add this webutil.jar file
                    thank you
                    • 7. Re: java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
                      Michael Ferrante-Oracle
                      Have you read any of the feedback above?

                      Have you tried this:

                      http://server:port/forms/frmservlet?form=myWebUtilform&config=webutil

                      If this fails, verify that frmwebutil.jar exists in \forms\java directory. If it does and you have also tested the url above, refer back to what I have said several times. You will NOT be able to use 10.1.2.0 on a Windows 7 client without changing the destination directory AND patching. If you want to run in an unsupported environment, the only other option would be to disable the Windows security that will prevent writing files to the JRE home and \bin directories.

                      Please re-read all the feedback provided so far.