9 Replies Latest reply on Aug 13, 2003 4:57 PM by Duncan Mills-Oracle

    Problems using Webutil....

    349681
      I am using Webutil to achieve client side integration while running Oracle Forms on the Web. I have proceeded the way given on the doc. But iam getting an error WUC-015, i have subclassed the webutil objgroup which has the required Java bean.
      Error message is "Your Form must contain the following Bean for this function to be available:".
      Please suggest...

      Babu
        • 1. Re: Problems using Webutil....
          Duncan Mills-Oracle
          Recompile the Form using Control-Shift-K, and make sure that your WebUtil calls are not in your startup code (e.g. When-New-form-instance, Pre-Form etc.)
          • 2. Re: Problems using Webutil....
            349681
            I have complied all the forms using shift+ctrl+k. Iam using a timer to execute the webutil calls as i have to call the webutil package only at new form instance.

            Babu
            • 3. Re: Problems using Webutil....
              Duncan Mills-Oracle
              OK can you post the contents of the Java console from when you run the form up to the point of failure...
              • 4. Re: Problems using Webutil....
                349681
                Please find the contents of Java console....

                Oracle JInitiator: Version 1.3.1.9
                Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
                User home directory = C:\Documents and Settings\babu.ramasamy

                Proxy Configuration: no proxy

                JAR cache enabled
                Location: C:\Documents and Settings\babu.ramasamy\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>
                ----------------------------------------------------

                Downloading http://uksolsresias1:7777/forms90/java/f90all_jinit.jar to JAR cache

                Downloading http://uksolsresias1:7777/forms90/java/pjcjdbclib.jar to JAR cache

                Downloading http://uksolsresias1:7777/forms90/java/pjc3525.jar to JAR cache

                Downloading http://uksolsresias1:7777/forms90/java/pjc.jar to JAR cache

                Downloading http://uksolsresias1:7777/forms90/java/vpe_gifs.jar to JAR cache

                connectMode=HTTP, native.

                Forms Applet version is : 902101

                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 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.sendInitialMessage(Unknown Source)

                     at oracle.forms.engine.Runform.startRunform(Unknown Source)

                     at oracle.forms.engine.Main.createRunform(Unknown Source)

                     at oracle.forms.engine.Main.start(Unknown Source)

                     at sun.applet.AppletPanel.run(Unknown Source)

                     at java.lang.Thread.run(Unknown Source)

                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 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.sendInitialMessage(Unknown Source)

                     at oracle.forms.engine.Runform.startRunform(Unknown Source)

                     at oracle.forms.engine.Main.createRunform(Unknown Source)

                     at oracle.forms.engine.Main.start(Unknown Source)

                     at sun.applet.AppletPanel.run(Unknown Source)

                     at java.lang.Thread.run(Unknown Source)

                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 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.sendInitialMessage(Unknown Source)

                     at oracle.forms.engine.Runform.startRunform(Unknown Source)

                     at oracle.forms.engine.Main.createRunform(Unknown Source)

                     at oracle.forms.engine.Main.start(Unknown Source)

                     at sun.applet.AppletPanel.run(Unknown Source)

                     at java.lang.Thread.run(Unknown Source)

                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 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.sendInitialMessage(Unknown Source)

                     at oracle.forms.engine.Runform.startRunform(Unknown Source)

                     at oracle.forms.engine.Main.createRunform(Unknown Source)

                     at oracle.forms.engine.Main.start(Unknown Source)

                     at sun.applet.AppletPanel.run(Unknown Source)

                     at java.lang.Thread.run(Unknown Source)

                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 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.sendInitialMessage(Unknown Source)

                     at oracle.forms.engine.Runform.startRunform(Unknown Source)

                     at oracle.forms.engine.Main.createRunform(Unknown Source)

                     at oracle.forms.engine.Main.start(Unknown Source)

                     at sun.applet.AppletPanel.run(Unknown Source)

                     at java.lang.Thread.run(Unknown Source)

                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 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.sendInitialMessage(Unknown Source)

                     at oracle.forms.engine.Runform.startRunform(Unknown Source)

                     at oracle.forms.engine.Main.createRunform(Unknown Source)

                     at oracle.forms.engine.Main.start(Unknown Source)

                     at sun.applet.AppletPanel.run(Unknown Source)

                     at java.lang.Thread.run(Unknown Source)

                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 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.sendInitialMessage(Unknown Source)

                     at oracle.forms.engine.Runform.startRunform(Unknown Source)

                     at oracle.forms.engine.Main.createRunform(Unknown Source)

                     at oracle.forms.engine.Main.start(Unknown Source)

                     at sun.applet.AppletPanel.run(Unknown Source)

                     at java.lang.Thread.run(Unknown Source)

                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 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.sendInitialMessage(Unknown Source)

                     at oracle.forms.engine.Runform.startRunform(Unknown Source)

                     at oracle.forms.engine.Main.createRunform(Unknown Source)

                     at oracle.forms.engine.Main.start(Unknown Source)

                     at sun.applet.AppletPanel.run(Unknown Source)

                     at java.lang.Thread.run(Unknown Source)

                • 5. Re: Problems using Webutil....
                  Duncan Mills-Oracle
                  So that shows that you have not correctly configured WebUil - the webutiljini.htm template is not being used and your webutil jar file is not being downloaded.
                  That would cause the WUC-15 as no jar means no beans...
                  • 6. Re: Problems using Webutil....
                    349681
                    Yes problem is because the configuration of webutil is not proper & it's been fixed.
                    Now other question is whether all my forms should have webutil object group? Because iam replacing OLE2 with client_ole2 only to few forms that access ole.
                    But these few forms access a pll which has the ole2 call, and this pll is used by all the forms in the application. Since this pll is attached to all the forms it seems that it requires webutil objectgroup to all the forms.

                    Please suggest...

                    Babu
                    • 7. Re: Problems using Webutil....
                      Duncan Mills-Oracle
                      You shoudl only need to put the object group into Forms that need to call webutil functions - it's ok to have the library attached to one that does not as the library will only get called if:
                      1) You make a webutil call in code
                      2) You have the OLB attached in which case it will call the library itself.
                      • 8. Re: Problems using Webutil....
                        349681
                        Yes i need to attach webutil.pll & subclass the objgroup to all my forms since it calls the webutil.pll.
                        But after doing the above steps for one form iam getting WUC-015 error on the screen & following is the error in the Java console. Please suggest...

                        Oracle JInitiator: Version 1.3.1.9
                        Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
                        User home directory = C:\Documents and Settings\babu.ramasamy

                        Proxy Configuration: no proxy

                        JAR cache enabled
                        Location: C:\Documents and Settings\babu.ramasamy\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>
                        ----------------------------------------------------

                        Downloading http://uksolsresias1:7777/forms90/java/webutil.jar to JAR cache

                        Downloading http://uksolsresias1:7777/forms90/java/jacob.jar to JAR cache

                        Downloading http://uksolsresias1:7777/forms90/java/f90all_jinit.jar to JAR cache

                        Downloading http://uksolsresias1:7777/forms90/java/pjcjdbclib.jar to JAR cache

                        Downloading http://uksolsresias1:7777/forms90/java/pjc3525.jar to JAR cache

                        Downloading http://uksolsresias1:7777/forms90/java/pjc.jar to JAR cache

                        Downloading http://uksolsresias1:7777/forms90/java/vpe_gifs.jar to JAR cache

                        connectMode=HTTP, native.

                        Forms Applet version is : 902101

                        connectMode=HTTP, native.

                        Forms Applet version is : 902101

                        2003-Aug-11 15:51:54.54 ERROR>WUO-714 [OleFunctions.setExceptionValues()] Unable to get the last OLE Error details; Exception
                        null

                        2003-Aug-11 15:51:54.54 ERROR>WUO-700 [OleFunctions.create_obj()] Unable to create the OLE Server Vanflex.Flex4; Exception
                        com.jacob.com.ComFailException: Can't get object clsid from progid
                        • 9. Re: Problems using Webutil....
                          Duncan Mills-Oracle
                          So thta's just a problem talking to the OLE server - it may be that the interfaces are not supported - what is the Vanflex.Flex4 server? is That in-house code or a third party server?
                          - You might want to open a separate thread on this as we've solved the problem this thread dealth with.