1 2 Previous Next 19 Replies Latest reply: Aug 16, 2013 5:04 AM by MeghVidani RSS

    WebUtil function is not working properly on client side

    598710
      Hi all,
      Everything is ok when I testing forms at my server-side. But the problem occurs when I calling the forms from client-side.
      And i found that some of the webutil function is not working properly.
      ButtonA: client_host---------- OK
      ButtonB: client_win_api_environment.read_ini_file ---------FAIL

      Is there anyone that can help me???
      Thanks.
        • 1. Re: WebUtil function is not working properly on client side
          550188
          What is the message in "Java Console" on client side
          • 2. Re: WebUtil function is not working properly on client side
            598710
            Loading http://AppServ:8889/forms/java/frmall_jinit.jar from JAR cache
            Loading http://AppServ:8889/forms/java/frmwebutil.jar from JAR cache
            Loading http://AppServ:8889/forms/java/jacob.jar from JAR cache
            Loading http://AppServ:8889/forms/java/imgdb.jar from JAR cache
            proxyHost=null
            proxyPort=0
            connectMode=HTTP, native.
            Forms Applet version is : 10.1.2.0
            2007-Oct-04 08:49:40.106 ERROR>WUC-21 [URLDownload.pullFile()] System library http://AppServ:8889/forms/frmservlet/webutil/jacob.dll has incorrect size in WebUtil config. Download will be cancelled
            2007-Oct-04 08:49:40.122 ERROR>WUC-21 [URLDownload.pullFile()] System library http://AppServ:8889/forms/frmservlet/webutil/JNIsharedstubs.dll has incorrect size in WebUtil config. Download will be cancelled
            2007-Oct-04 08:49:40.137 ERROR>WUC-21 [URLDownload.pullFile()] System library http://AppServ:8889/forms/frmservlet/webutil/d2kwut60.dll has incorrect size in WebUtil config. Download will be cancelled
            2007-Oct-04 08:49:44.677 ERROR>WUL-928 [CApiFunctions.register_function()] Library d2kwut60.dll not accessible, or does not contain function d2kwutil_ReadINIFile
            2007-Oct-04 08:49:44.724 ERROR>WUL-925 [CApiFunctions.parse_funcHnd()] Object returned from object cache is not of type CFunc
            Exception occurred during event dispatching:
            java.lang.NoClassDefFoundError: oracle.forms.webutil.cApi.CPtr
                 at oracle.forms.webutil.cApi.CParamList.toArray(CParamList.java:168)
                 at oracle.forms.webutil.cApi.CApiFunctions.invokeCApi(CApiFunctions.java:825)
                 at oracle.forms.webutil.cApi.CApiFunctions.getProperty(CApiFunctions.java:144)
                 at oracle.forms.handler.UICommon.onGet(Unknown Source)
                 at oracle.forms.engine.Runform.onGetHandler(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.run(Unknown Source)
            • 3. Re: WebUtil function is not working properly on client side
              598710
              Is there anyone that can help me on this error (WUC-21)???
              Thanks
              • 4. Re: WebUtil function is not working properly on client side
                François Degrelle
                Hello,

                The webutil.cfg file store the length of all files that have to be downloaded on the client machine, and these lengths seems to not be equal to the real file names.
                Did you change anything in your webutil.cfg file ?

                Francois
                • 5. Re: WebUtil function is not working properly on client side
                  598710
                  Hi,
                  I didn't change any setting in webutil.cfg file....
                  But some PC can run forms properly without any error. Why?

                  Thanks for reply.

                  MKBH
                  • 6. Re: WebUtil function is not working properly on client side
                    François Degrelle
                    As the message says, there is a difference in length with the files you want to download from the application server.
                    Check these files on the client machines (those that are ok and thoses that are not)

                    Francois
                    • 7. Re: WebUtil function is not working properly on client side
                      598710
                      But I didn't configure any setting at client machines ....
                      Do I need to configure any setting at client machine?
                      MKBH
                      • 8. Re: WebUtil function is not working properly on client side
                        François Degrelle
                        No, you are right, but maybe some files, already present on the client machine do not pass the control. If it works on a machine and not on another one, you have to find out what are the differences.

                        Francois
                        • 9. Re: WebUtil function is not working properly on client side
                          498693
                          hi i have the same problem. have u found any solution?

                          thank u
                          • 10. Re: WebUtil function is not working properly on client side
                            598710
                            Search from metalink. But the solution doesn't work for me.

                            Make sure the webutil.properties file exists.

                            MKBH

                            Message was edited by:
                            MKBH
                            • 11. Re: WebUtil function is not working properly on client side
                              422169
                              did you find the answer?
                              • 12. Re: WebUtil function is not working properly on client side
                                753372
                                Hi everyone,

                                The error was:

                                ERROR>WUC-21 [URLDownload.pullFile()] System library http://AppSer:7778/forms/frmservlet/webutil/jacob.dll has incorrect size in WebUtil config. Download will be cancelled

                                I didn't solve the problem, but I find out that it is wrong url.
                                Virtual directory works fine on url path: http://AppSer:7778/forms/webutil/jacob.dll
                                When I put url on client's machine browser dialog for file download is opened.

                                In Apache log there is a line:

                                12.12.12.1 - - [24/Feb/2010:10:58:11 +0100] "GET /forms/frmservlet/webutil/jacob.dll HTTP/1.1" 200 2551

                                IP address 12.12.12.1 is not application server IP.

                                Virtual path in forms.conf:

                                # Virtual path for webutil
                                AliasMatch ^/forms/webutil/(..*) "C:\J2EE/forms/webutil/$1"

                                Virtual directory in orion-web.xml is:

                                <virtual-directory virtual-path="/webutil"
                                real-path="C:\J2EE/forms/webutil" />
                                • 13. Re: WebUtil function is not working properly on client side
                                  PamH
                                  To solve this error, open webutil.cfg and find install.sysllib.0.7.1=jacob.dll and change the numbers after the pipe symbol to match the size of the jacob.dll file that you are using.
                                  example: install.syslib.0.7.1=jacob.dll|94208To |1.0|true
                                  • 14. Re: WebUtil function is not working properly on client side
                                    655451
                                    also make sure that the new jacob.dll is in your oh/forms/webutil directory on the forms server so the workstations can download it when the call is made.
                                    1 2 Previous Next