1 2 3 Назад Вперед 30 Ответы Последний ответ: 03.12.2008 18:57, автор: 673768

    WebUtil problem.

    4112
      Hi,

      I am facing problem with Oracle Forms9i. While deploying webutil functionality I floowed all the steps (more or less ).

      I am selecting some files (to read and store in the DB) by the command in the forms as

      But while running my application it is thtowing message as

      filepath := CLIENT_GET_FILE_NAME(File_Filter=> 'All files(*,*)|*.*|(*.bmp)|*.bmp|(*.gif)|*.gif|(*.jpg)|*.jpg|');

      "oracle.forms.webutil.file.filefunctions bean not found WEB_UTIL_FILE_SELECTION_DIALOG_INT will not work"

      When cheked in the Java consol I found these errors which i have pasted in my message

      java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(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.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.Window.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 33 more
      java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(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.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.Window.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 33 more
      java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(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.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.Window.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 33 more
      java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(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.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.Window.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 33 more
      java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(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.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.Window.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 33 more
      java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(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.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.Window.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 33 more
      java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(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.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.Window.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 33 more
      java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
           at sun.applet.AppletClassLoader.findClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at sun.applet.AppletClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClass(Unknown Source)
           at java.lang.ClassLoader.loadClassInternal(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.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.Window.dispatchEventImpl(Unknown Source)
           at java.awt.Component.dispatchEvent(Unknown Source)
           at java.awt.EventQueue.dispatchEvent(Unknown Source)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      Caused by: java.io.IOException: open HTTP connection failed.
           at sun.applet.AppletClassLoader.getBytes(Unknown Source)
           at sun.applet.AppletClassLoader.access$100(Unknown Source)
           at sun.applet.AppletClassLoader$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Native Method)
           ... 33 more


      Please help as it is Ungent.

      Regards,
      Snehangsu
        • 1. Re: WebUtil problem.
          sgalaxy
          Hi ,
          until a week up to 10 days before a guy had a similar problem.
          I propose to look at it first ...
          • 2. Re: WebUtil problem.
            488135
            Hi,

            This means that the implementation class of bean areas in WEBUTIL_CANVAS not implemented correctly.
            (to see the above functionality double click on webutil.olb,copy WEBUTILCONFIG,WEBUTIL to your form)

            copy your .JAR file into forms90/java.
            Can you send details of all default.env, formsweb.cfg,your reqirement, your server is Linux/windows,webutil version

            Waiting for your reply.

            Thanks
            Bhujendra
            • 3. Re: WebUtil problem.
              4112
              Thanks for the reply.

              I am using my own environment file and version of webutil is Release 1.0.6. We are user Linux DB server Oracle 10.1.2.0. and Windows 2003 10G AS Application Server.

              I will be sending the parameter setup ASAP.

              Regards,
              Snehangsu
              • 4. Re: WebUtil problem.
                4112
                Hi,

                After investigation what I can find out that it is failing due to the digital certificates of the webutil.jar and jacob.jar. But I am soigning it with sing_webutil.bat(Windows version) utility and it is generaitng the keystore file also.

                Still the Java console is showing the certificate probelm.

                What could be the reason?

                Regards,
                Snehangsu
                • 5. Re: WebUtil problem.
                  488135
                  Hi,

                  Can you send me the output of java console window.



                  ~Bhujendra
                  • 6. Re: WebUtil problem.
                    4112
                    Hi,

                    Plase find the problem what the Java Console is showing as attached.

                    Cached copy of http://10.179.100.18:7778/forms90/java/frmwebutil.jar is out of date
                    Cached copy: Apr 24, 2006 9:06:44 PM
                    Server copy: Apr 27, 2006 7:49:21 PM
                    Downloading http://10.179.100.18:7778/forms90/java/frmwebutil.jar to JAR cache
                    Downloading http://10.179.100.18:7778/forms90/java/frmwebutil.jar to JAR cache
                    Cached copy of http://10.179.100.18:7778/forms90/java/jacob.jar is out of date
                    Cached copy: Apr 24, 2006 9:15:31 PM
                    Server copy: Apr 27, 2006 7:49:28 PM
                    Downloading http://10.179.100.18:7778/forms90/java/jacob.jar to JAR cache
                    java.security.cert.CertificateException: Check signature failed in certificate
                    at sun.plugin.security.TrustDecider.isAllPermissionGranted(Unknown Source)
                    at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
                    at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
                    at java.security.SecureClassLoader.defineClass(Unknown Source)
                    at java.net.URLClassLoader.defineClass(Unknown Source)
                    at java.net.URLClassLoader.access$100(Unknown Source)
                    at java.net.URLClassLoader$1.run(Unknown Source)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at java.net.URLClassLoader.findClass(Unknown Source)
                    at sun.applet.AppletClassLoader.findClass(Unknown Source)
                    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
                    at java.lang.ClassLoader.loadClass(Unknown Source)
                    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
                    at java.lang.ClassLoader.loadClass(Unknown Source)
                    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
                    at sun.applet.AppletPanel.createApplet(Unknown Source)
                    at sun.plugin.AppletViewer.createApplet(Unknown Source)
                    at sun.applet.AppletPanel.runLoader(Unknown Source)
                    at sun.applet.AppletPanel.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
                    load: class oracle.forms.engine.Main not found.
                    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
                    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
                    at sun.applet.AppletClassLoader.access$100(Unknown Source)
                    at sun.applet.AppletClassLoader$1.run(Unknown Source)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at sun.applet.AppletClassLoader.findClass(Unknown Source)
                    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
                    at java.lang.ClassLoader.loadClass(Unknown Source)
                    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
                    at java.lang.ClassLoader.loadClass(Unknown Source)
                    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
                    at sun.applet.AppletPanel.createApplet(Unknown Source)
                    at sun.plugin.AppletViewer.createApplet(Unknown Source)
                    at sun.applet.AppletPanel.runLoader(Unknown Source)
                    at sun.applet.AppletPanel.run(Unknown Source)
                    at java.lang.Thread.run(Unknown Source)
                    RegisterWebUtil - Loading WebUtil Version 1.0.6

                    Please let me know whta is the probable cause of it and the solution for this.

                    Regards,
                    Snehangsu Burman
                    • 7. Re: WebUtil problem.
                      4112
                      Hi,
                      The oracle document says:

                      You need to sign both the frmwebutil.jar and the jacob.jar with the same digital certificate. This is a one-time operation, which allows your end-users to trust that the JACOB routines can access client side resources. If you do not have an existing signing certificate or are not sure how to go about signing Jar files, scripts have been supplied in the forms/webutil directory for you.

                      My question is how I can sign both the jar with the same digital certificate? Please help.

                      As aafter signing them I am facing the "Check signature failed in certificate" problem in Java console.

                      Regards,
                      Snehangsu
                      • 8. Re: WebUtil problem.
                        488135
                        Hi,
                        My question is how I can sign both the jar with the same digital certificate?
                        1)open command prompt
                        2)Bring up the command prompt Sign_webutil.bat (windows),Sign_wbutil.sh (Linux)
                        (rename webutil1.0.6 folder to webutil and place it in <ORA_HOME>/ forms90
                        directory)
                        ex:at present your sign_webutil path is <ora_home>/forms90/webutil/
                        in cmd bring up to this path and issue like

                        1) still from cmd prompt <ora_home>/forms90/webutil>sign_webutil <ora_home>/forms90/java/frmwebutil.jar (don't close command prompt)
                        2) still from cmd prompt <ora_home>/forms90/webutil>sign_webutil <ora_home>/forms90/java/jacob.jar
                        3)check whether frmwebutil.jar.unsigned and jacob.jar.unsigned exists in forms90/java after you signed these jar files.


                        ~Bhujendra
                        • 9. Re: WebUtil problem.
                          4112
                          Hi,
                          Thanks for the reply. I did the same several times but the sign_webutil.bat will have a jay key (WEBUTIL2) as the same one and it is not allowing me to sign the two with the same jar key. So I signed the WEBUTIL.JAR with the default jar key provided.

                          Then I changed the jay key in sign_webutil.bat to some other key for signing the jacob.jar.

                          When I changed the jar key it allowed me to sign JACOB.JAR and the .keystore file has been genarated. Still i am facing the digital certificate problem.

                          Note: The .unsinged files are not present in <ora_home>/forms90/java directory? Does it mean the signing is not happening properly?

                          Please help.

                          Regards,
                          Snehangsu

                          Message was edited by:
                          snehangsub
                          • 10. Re: WebUtil problem.
                            488135
                            Hi,
                            Note: The .unsinged files are not present in <ora_home>/forms90/java >>directory? Does it mean the signing is not happening properly?
                            Yes.When ever you signed those jar files, .unsigned files were generating.
                            If you don't have these files, you'll face signing problems.

                            Can you send me output of command prompt?



                            ~Bhujendra
                            • 11. Re: WebUtil problem.
                              4112
                              Hi,

                              Please find the webutil.jar and jacob.jar signing window snapshot.

                              Note: I have tried with same jar key and diff jar key for signing them.

                              1) Same Jar Key

                              E:\OraHome1\forms90\webutil>sign_webutil.bat E:\OraHome1\forms90\java\frmwebutil
                              .jar
                              Generating a self signing certificate for key=webutil8...
                              ...successfully done.

                              .
                              Backing up E:\OraHome1\forms90\java\frmwebutil.jar as E:\OraHome1\forms90\java\f
                              rmwebutil.jar.old...
                              1 file(s) copied.
                              Signing E:\OraHome1\forms90\java\frmwebutil.jar using key=webutil8...
                              ...successfully done.

                              E:\OraHome1\forms90\webutil>sign_webutil.bat E:\OraHome1\forms90\java\jacob.jar
                              Generating a self signing certificate for key=webutil8...
                              keytool error: java.lang.Exception: Key pair not generated, alias <webutil8> alr
                              eady exists
                              .
                              There were warnings or errors while generating a self signing certificate. Pleas
                              e review them.
                              .
                              Backing up E:\OraHome1\forms90\java\jacob.jar as E:\OraHome1\forms90\java\jacob.
                              jar.old...
                              1 file(s) copied.
                              Signing E:\OraHome1\forms90\java\jacob.jar using key=webutil8...

                              2) Diff jar Key

                              E:\OraHome1\forms90\webutil>sign_webutil.bat E:\OraHome1\forms90\java\frmwebutil
                              .jar
                              Generating a self signing certificate for key=webutil5...
                              ...successfully done.

                              .
                              Backing up E:\OraHome1\forms90\java\frmwebutil.jar as E:\OraHome1\forms90\java\f
                              rmwebutil.jar.old...
                              1 file(s) copied.
                              Signing E:\OraHome1\forms90\java\frmwebutil.jar using key=webutil5...
                              ...successfully done.

                              E:\OraHome1\forms90\webutil>sign_webutil.bat E:\OraHome1\forms90\java\jacob.jar
                              Generating a self signing certificate for key=webutil6...
                              ...successfully done.

                              .
                              Backing up E:\OraHome1\forms90\java\jacob.jar as E:\OraHome1\forms90\java\jacob.
                              jar.old...
                              1 file(s) copied.
                              Signing E:\OraHome1\forms90\java\jacob.jar using key=webutil6...
                              ...successfully done.

                              E:\OraHome1\forms90\webutil>

                              Please let me know what is going wrong here.

                              Regards,
                              Snehangsu Burman
                              • 12. Re: WebUtil problem.
                                488135
                                Hi,

                                1) check whether you copy sign_webutil.bat file in your E:\OraHome1\jdk\bin.If it is not there please copy it into this path.
                                2) copy your d2kwut60.dll,jacob.dll,JNIsharedstubs.dll to E:\OraHome1\forms90\java to refer jar files(I don't know whether this step solved your problem or not.I followed this step and rectify my error)

                                I hope this solve your problem.If it's not solve your problem don't blame me
                                Use always same jar key for both jar files.

                                If you want to refer extra information please refer this link
                                https://metalink.oracle.com/metalink/plsql/f?p=130:3:11215930423906716675::::p3_database_id,p3_docid,p3_show_header,p3_show_help,p3_black_frame,p3_font:NOT,357903.1,1,1,1,helvetica


                                Thanks,
                                Bhujendra
                                • 13. Re: WebUtil problem.
                                  4112
                                  Hi,

                                  How can I use the same Jar Key. As you can see the the Sign_Webutil.Bat is throwing the error while using the same jar key.

                                  Please let me know how did you manage the sing them together with the same jar key?

                                  When I checked the Java console for the certificates also. Those certificates were not there.

                                  So it seems the Certificate creation is having some problem.

                                  Can anybody help me out. It is really urgent for me.

                                  Please...

                                  Regards,
                                  Snehangsu
                                  • 14. Re: WebUtil problem.
                                    488135
                                    Hi Snehangsub,


                                    Cached copy of http://system5:8889/forms90/java/frmwebutil.jar is out of date
                                    Cached copy: Jan 9, 1999 9:23:51 PM
                                    Server copy: Mar 23, 2005 8:52:34 AM

                                    Downloading http://system5:8889/forms90/java/frmwebutil.jar to JAR cache


                                    whenever we replaced signed frmwebutil.jar(but frmwebutil.jar.old exists) with new frmwebutil.jar(without signing), we got above error.



                                    D:\DevSuiteHome\forms90\webutil\util>sign_webutil D:\Devsuitehome\forms90\java\f
                                    rmwebutil.jar
                                    Generating a self signing certificate for key=webutil2...
                                    keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> alr
                                    eady exists
                                    .
                                    There were warnings or errors while generating a self signing certificate. Pleas
                                    e review them.
                                    .
                                    Backing up D:\Devsuitehome\forms90\java\frmwebutil.jar as D:\Devsuitehome\forms9
                                    0\java\frmwebutil.jar.old...
                                    1 file(s) copied.
                                    Signing D:\Devsuitehome\forms90\java\frmwebutil.jar using key=webutil2...
                                    ...successfully done.


                                    This warnings are mainly occur due to path setting of JDK .I am not setting any path of JDK
                                    No problem with this.Using webutil106 version you got frmwebutil.jar.old and jacob.jar.old instead of webutil.jar.unsigned and jacob.jar.unsigned (webutil 1.0.2)


                                    I got the error like you but i am not facing any signing problems for frmwebutil.jar.I think it may not be signing problem.

                                    My console window after signing frmwebutil.jar and jacob.jar ::::

                                    Oracle JInitiator: Version 1.3.1.17
                                    Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
                                    User home directory = C:\Documents and Settings\Administrator

                                    Proxy Configuration: no proxy

                                    JAR cache enabled
                                    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
                                    Maximum size: 50 MB
                                    Compression level: 0
                                    ----------------------------------------------------
                                    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
                                    q: hide console
                                    s: dump system properties
                                    t: dump thread list
                                    x: clear classloader cache
                                    0-5: set trace level to <n>
                                    ----------------------------------------------------
                                    Loading http://system5:8889/forms90/java/f90all_jinit.jar from JAR cache
                                    Loading http://system5:8889/forms90/java/myAppicon.jar from JAR cache
                                    Loading http://system5:8889/forms90/java/jacob.jar from JAR cache
                                    Loading http://system5:8889/forms90/java/webutil.jar from JAR cache
                                    Loading http://system5:8889/forms90/java/timeout.jar from JAR cache
                                    Loading http://system5:8889/forms90/java/frmwebutil.jar from JAR cache

                                    proxyHost=null
                                    proxyPort=0
                                    connectMode=HTTP, native.
                                    Forms Applet version is : 9.0.4.0

                                    (click this link http://10.179.100.18:7778/forms90/java/frmwebutil.jar, observe frmwebutil.jar will be downloading or not (Start OC4J Instance))


                                    Can you send me updated console window::(still you got these errors let me know)

                                    java.security.cert.CertificateException: Check signature failed in certificate
                                    at sun.plugin.security.TrustDecider.isAllPermissionGranted(Unknown Source)
                                    at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
                                    at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
                                    at java.security.SecureClassLoader.defineClass(Unknown Source)
                                    at java.net.URLClassLoader.defineClass(Unknown Source)
                                    at java.net.URLClassLoader.access$100(Unknown Source)
                                    at java.net.URLClassLoader$1.run(Unknown Source)
                                    at java.security.AccessController.doPrivileged(Native Method)
                                    at java.net.URLClassLoader.findClass(Unknown Source)
                                    at sun.applet.AppletClassLoader.findClass(Unknown Source)
                                    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
                                    at java.lang.ClassLoader.loadClass(Unknown Source)
                                    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
                                    at java.lang.ClassLoader.loadClass(Unknown Source)
                                    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
                                    at sun.applet.AppletPanel.createApplet(Unknown Source)
                                    at sun.plugin.AppletViewer.createApplet(Unknown Source)
                                    at sun.applet.AppletPanel.runLoader(Unknown Source)
                                    at sun.applet.AppletPanel.run(Unknown Source)
                                    at java.lang.Thread.run(Unknown Source)
                                    load: class oracle.forms.engine.Main not found.
                                    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
                                    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
                                    at sun.applet.AppletClassLoader.access$100(Unknown Source)
                                    at sun.applet.AppletClassLoader$1.run(Unknown Source)
                                    at java.security.AccessController.doPrivileged(Native Method)
                                    at sun.applet.AppletClassLoader.findClass(Unknown Source)
                                    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
                                    at java.lang.ClassLoader.loadClass(Unknown Source)
                                    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
                                    at java.lang.ClassLoader.loadClass(Unknown Source)
                                    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
                                    at sun.applet.AppletPanel.createApplet(Unknown Source)
                                    at sun.plugin.AppletViewer.createApplet(Unknown Source)
                                    at sun.applet.AppletPanel.runLoader(Unknown Source)
                                    at sun.applet.AppletPanel.run(Unknown Source)
                                    at java.lang.Thread.run(Unknown Source)
                                    RegisterWebUtil - Loading WebUtil Version 1.0.6


                                    Please give feedback quickly as it is urgent.I'll respond you quickly.


                                    Thanks
                                    Bhujendra
                                    1 2 3 Назад Вперед