Pb de lenteur avec WEBUTIL / Slow problem with WEBUTIL

Bonjour,
J'ai implémenté l'objet WEBUTIL afin de charger les données d'un fichier Excel dans un Forms (10G). Cela fonctionne correctement mais je rencontre de gros problèmes de lenteur pour extraire ces données.
Avez-vous rencontré le même cas ? Comment l'avez-vous résolu ?
Merci pour votre aide.
Hi,
I use the Webutil object to import data, stored in Excel file, to a Forms in version 10G. It works but I have huge slow problems to extract the data.
Do you have this kind of problems ? How do you solve them ?
Thanks for helping.
Séverine

Yes, of course.
This is an extract of the code :
app     CLIENT_OLE2.OBJ_TYPE;
wbooks     CLIENT_OLE2.OBJ_TYPE;
wbook     CLIENT_OLE2.OBJ_TYPE;
wsheet     CLIENT_OLE2.OBJ_TYPE;
wsheets     CLIENT_OLE2.OBJ_TYPE;
args     CLIENT_OLE2.LIST_TYPE;          
app := CLIENT_OLE2.create_obj('Excel.Application');
CLIENT_OLE2.SET_PROPERTY(app,'Visible',0);
wbooks := CLIENT_OLE2.GET_OBJ_PROPERTY(app, 'Workbooks');     
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.add_arg(args, filename);
wbook := CLIENT_OLE2.INVOKE_obj(wbooks, 'Open', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
wsheets := CLIENT_OLE2.GET_OBJ_PROPERTY(wbook, 'Worksheets');     
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.add_arg(args, 'Instructions');
wsheet := CLIENT_OLE2.GET_OBJ_PROPERTY(wsheets, 'Item', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.add_arg(args, 1);
CLIENT_OLE2.add_arg(args, 1);
cell := CLIENT_OLE2.INVOKE_obj(wsheet, 'Cells', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
Tampon1 := TRIM(CLIENT_OLE2.get_char_property(cell, 'Value'));
CLIENT_OLE2.release_obj(cell);
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.add_arg(args, 1);
CLIENT_OLE2.add_arg(args, 3);
cell := CLIENT_OLE2.INVOKE_obj(wsheet, 'Cells', args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
Tampon2 := TRIM(CLIENT_OLE2.get_char_property(cell, 'Value'));
CLIENT_OLE2.release_obj(cell);
I get about a hundred cells in my Excel File and it takes more than 1 minute.
Thanks.
Séverine

Similar Messages

  • Slow Problems with Oracle Forms 10g and Oracle Database 11g

    Hi, I wonder if there is a compatibility problem between Version 10.1.2.0.2 32 Oracle Forms and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production. This is because my application runs correctly on a version of Oracle Database 10g, and when we migrated the database to an Oracle Database 11g, slowness problems came out.
    Thanks.

    We have the same issue happening with our custom forms and with some of the standard forms in EBSO. So far we have found that the form invoking a view causes ridiculous slowness in opening the form (40 mins). Using a table access has shortened the open time significantly. At this time Oracle DBAs at OOD have no clear idea why it is happening.
    we are on 11.1 database with 11.5 EBSO
    Edited by: user3223867 on Feb 4, 2011 7:55 AM

  • Some problems with webutil

    Hi everyone,
    I've been installing webutil on my oracle database 11g xe.
    Everything got fine until the moment when I needed to compile the library webutil.pll.
    I really don't know what is happening, when I try to do this action, is showed for me a message saying where Oracle Forms is unable to generate the plx.
    just that.
    nothing else.
    and.. for webutil to work fine is need to compile this library or else I'll have some exceptions and Oracle Errors.
    What can I do to solve my problem?
    Everything is working fine ( Oracle Forms, Database ) .. The only problem it's related with Webutil.
    Regards,
    Victor Hugo Lazari

    ihuu!
    I discovered what is the problem!
    The problem is connected with Oracle forms Builder exactly. I'm running it on Windows 7 or 8. Anyway, there is a bug on Forms.
    I needed to get into Windows register and to change a variable there called - NSL_LANG, changing it value to - AMERICAN_AMERICA.WE8ISO8859P1.
    After it has done, you just have to close and to open again the Oracle Forms.
    Tks mate!
    Victor Hugo Lazari

  • Having problem with Webutil

    Hello everyone,
    When I want to upload a document in the database from the client machine, it gives error of
    ORA-04063: package body 'SCOTT.WEBUTIL_DB' has errors
    I installed and configured webutil correctly but I can't figure out what's the problem.
    Can someone help me please??

    hi
    please read it properly i hope it will help u too.
    Configure WebUtil 1.06
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform,
    I also tested it on Linux and it works well (after of course taking care of the differences in PATH format)
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: Oracle_Home is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    Oracle_Home with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
      and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
      C:\webutile is the folder where you extracted Jacob, and will end in ...\jacob_18
         cd C:\webutile
         copy jacob.jar C:\DevSuiteHome_1\forms\java\.
         copy jacob.dll C:\DevSuiteHome_1\forms\webutil\.
      The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
      Open a DOS command prompt.
      Add C:\DevSuiteHome_1\jdk\bin to the PATH:
         set PATH=C:\DevSuiteHome_1\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         C:\DevSuiteHome_1\forms\webutil\sign_webutil C:\DevSuiteHome_1\forms\java\frmwebutil.jar
         C:\DevSuiteHome_1\forms\webutil\sign_webutil C:\DevSuiteHome_1\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
      you may skip this step. Otherwise,
      Create a schema to hold the WebUtil stored code, and privileges needed to
      connect and create a stored package. Schema name "WEBUTIL" is recommended
      for no reason other than consistency over the user base.
      Open C:\DevSuiteHome_1\forms\create_webutil_db.sql in a text editor, and delete or comment
      out the EXIT statement, to be able to see whether the objects were created witout
      errors.
      Start SQL*Plus as SYSTEM, and issue:
         CREATE USER webutil IDENTIFIED BY a
         DEFAULT TABLESPACE users
         TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         CONNECT webutil/webutil@rcci
         @C:\DevSuiteHome_1\forms\create_webutil_db.sql
         -- Inspect SQL*Plus output for errors, and then
         CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
      Reconnect as SYSTEM, and issue:
         grant execute on webutil_db to public;
    5) Modify C:\DevSuiteHome_1\forms\server\default.env, and append C:\oracle\developer\jdk\jre\lib\rt.jar
      to the CLASSPATH entry.
    6) Modify C:\DevSuiteHome_1\forms\server\formsweb.cfg insde [default] add :
        archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
        archive=frmall.jar
        also add  :
        [webutil]
        WebUtilLogging=off
        WebUtilLoggingDetail=normal
        WebUtilErrorMode=Alert
        WebUtilDispatchMonitorInterval=5
        WebUtilTrustInternal=true
        WebUtilMaxTransferSize=16384
        baseHTMLjinitiator=webutiljini.htm
        baseHTMLjpi=webutiljpi.htm
        baseHTML=webutilbase.htm
        archive_jini=frmall_jinit.jar
        WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
        archive=frmwebutil.jar,f90all.jar
        lookAndFeel=oracle
    7) Modify  C:\DevSuiteHome_1\forms\server\webutil.cfg and add :
        transfer.database.enabled=TRUE
        transfer.appsrv.enabled=TRUE
    8) Start the OC4J instance
    9) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
      Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
      It is important to generate the PLX, to avoid the FRM-40039 discussed in
      Note 303682.1
      If the PLX is not generated, the Webutil.pll library would have to be attached with
      full path information to all forms wishing to use WebUtil. This is NOT recommended.
    10) Create a new FMB.
      Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
      There is no need to Subclass the WebutilConfig object.
      Attach the Webutil.pll Library, and remove the path.
      Add an ON-LOGON trigger with the code
             NULL;
      to avoid having to connect to an RDBMS (optional).
      Create a new button on a new canvas, with the code
             show_webutil_information (TRUE);
      in a WHEN-BUTTON-PRESSED trigger.
      Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    11) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
      the "Application Server URL" is empty.
      Then append "?config=webutil" at the end, so you end up with a URL of the form
          http://server:port/forms/frmservlet?config=webutil
    12) Run your form.sarah

  • Problems with webutil FRM -92101- 1.0.5 Production - forms 10g

    I've installed webutil according with the webutil user's guide.
    I've also sign he .jar file.
    I have not made the configuration of the database with the webutil_file_transfer o webutil_db package becouse i don't need to use the file transfer utility.
    I 've tested a simple form with webutil.pll and .obj subclass with the devsuite enviroment and with a server with AS 10g from two client browser pc and all work fine.
    But after when i tried to test again the form it doesn't work in no pc client (with the server and eith the devsuite server).
    Without webutil.pll and obj the forms work fine.
    I've this error: FRM-92101: there where a failure .....
    I 've this message in java console:
    JInitiator: Versione 1.3.1.17
    Uso della versione JRE 1.3.1.17-internal Java HotSpot(TM) Client VM
    Directory principale utente = C:\Documents and Settings\wolverine1
    Configurazione proxy: nessun proxy
    JAR cache enabled
    Location: C:\Documents and Settings\wolverine1\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>
    Cached copy of http://ggdell2:8889/forms90/webutil/webutil.jar is out of date
    Cached copy: 1-ott-04 17.26.21
    Server copy: 4-ott-04 9.07.20
    Loading http://ggdell2:8889/forms90/java/f90all_jinit.jar from JAR cache
    Downloading http://ggdell2:8889/forms90/webutil/webutil.jar to JAR cache
    Cached copy of http://ggdell2:8889/forms90/webutil/jacob.jar is out of date
    Cached copy: 1-ott-04 17.26.44
    Server copy: 4-ott-04 9.07.38
    Downloading http://ggdell2:8889/forms90/webutil/jacob.jar to JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Versione Applet Forms: 9.0.4.0
    RegisterWebUtil - Loading WebUtil Version 1.0.5 Production
    oracle.forms.net.ConnectionException: Sessione Forms <1> terminata: impossibile comunicare con il processo runtime.
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.StreamMessageWriter.run(Unknown Source)     
    Who can help me ?

    THe Java Console would indicate that you're not using the right CFG settings - you should see the WebUtil Initialisation messages

  • Problems with WebUtil

    Hi everyone, i downloaded the webutil library and install step by step, then i dragged the webutil.olb, atach the webutil.pll, but when i ran the form in 9IDS, and i use a simple host or client_host a message appears that say "WUC-015 your form must contain the following Bean for this function to be available: oracle.forms.webutil.host.Host", when i look for the error it say that you don't have java beans on your form, i check and the form contain that, i include the path of webutil to forms90_builder_classpath and forms90_classpath, i change the formsweb.cfg, webutil.cfg and the default.env files, but if i go to the menu of developer forms, in program->Import Java Classes...
    and i select oracle.forms.webutil.host.Host an error appears that say Exception occurred: "java.lang.NoClassDefFoundError: oracle/forms/ui/VBean"
    what can i do?,
    Thanks advanced,

    To using Webutil in 9iDS. You only do following steps:
    - Download webutil and jacob
    - Modify Formweb90.cfg (reconfig baseHTML and add WebutilArchive)
    - Add vitual path for webutil.jar in orion-web.xml
    - Add Classpath in default
    Attention:
    in Formweb90.cfg distinguish lower case from upper case. So somtime if in vitual path you wrote "webutil" but if in formsweb90.cfg (WebutilArchive)you write "Webutil" you will get WUC-015 error.
    Cheer!

  • Problem with webutil file dialog box when trying to save/open

    Approximately 12 months ago we had this same issue and I think we managed to resolve it with a one off patch. Were getting it on another site now so any info will be much appreicated.
    Basically when using webutil file chooser Client_Get_File_Name to upload/download something to/from the database it works sporadically.
    When we choose a location to upload from or download to. we then click the buttonon the webutil file chooser and the box disapears without doing anything. Sometimes it works ok but i cant find any pattern to it working/not working
    Has anyone else experienced these problems?

    i found it
    patch 6127521
    thanks

  • Problem with webutil library in Forms 11g debug (FRM-93652)

    Hi.
    I have a problem when debug a forms in OFM11g, that used.
    the problem is that the forms, in debug mode, raise the error FRM-93652. Only in debug mode.
    I add tha jacob.jar and jacob.dll in the folder ORACLE_HOME/forms/java and Oracle_home/forms/webutil.
    the classpath variable in default.env, has added the jacob.jar file, and in my FORMS_BUILDER_CLASSSPATH Registry variable.
    Can some one help me???.
    Thanks and sorry for my english

    I have the same issue with debug_messages in Forms 11g -- they will not appear. I can, however, run in debug mode and attach the session to Forms Builder 10.1.2.0.2. Thus, when I run in debug mode and check the the Command Line tab under Global/System Variables, DEBUG_MESSAGES is always set to NO regardless of how I set it on the command line. Still works fine in our 10gR2 instances.
    DB 11.1.0.7
    Forms 11.1.1.4
    WebLogic 10.3.4
    AIX 5.3 64-bit
    AIX Java 1.6.0 SR9 FP1
    Client: WinXP JRE 1.6.0_25
    My real issue has to do with a FRM-40734 on EXIT_FORM after ENTER_QUERY or EXECUTE_QUERY have caused the KEY-EXEQRY trigger to erroneously fire -- especially when DO_KEY is involved -- but that's a different and much more problematic story.

  • MacBook freezing and crashing/running slow, problem with external hard drive

    I've been having some issues for the past couple months with my laptop randomly freezing, usually when I have a lot happening. I've ended up having to hard-restart it several times because it will just hang and I can't get into the menu at all to force quit things.  In the past couple days, it's now started crashing completely, although restarting okay. This last time, though, it crashed while I was trying to empty the trash and since then it's been crazy slow and not very responsive.I tried running disk utility and ccleaner, and although they repaired some stuff they didn't fix the problem.
    I think iTunes might be the issue. I was trying to move my music library when this last thing started. I have it all on an external hard drive, and I was trying to move it from one folder to another. I tried repairing the external hard drive with disk utility to see if that was the issue, but now my files have all vanished and the external appears blank.
    I also recently installed BootCamp, if that makes a difference.
    I'm mostly just really unsure what to do. I don't want to do anything to the external because I need to recover the stuff that was on it, but I also need my laptop to be usable.

    Thanks for the response. I tried booting in recovery mode and running disk utility again and that seemed to help. It's still hanging when I plug in the external hard drive but otherwise seems to be working okay. My main issue now is the invisible files. I tried booting in Windows, planning to install Recuva to try and get the files back. However, they show up fine there. This is a relief but I'm not totally sure what is happening. I'm guessing the disk has somehow mounted incorrectly on the mac portion but I'm not sure how to fix that. I'm about to restart on the other partition and see what's going on there.

  • Problems with webutil......alternative solution?

    not sure if this is the best forum to post this thread to...but here we go:
    we are currently using webutil to merge data from Oracle into a Word Template. Word is never actually seen by the end user...the Word Doc is just printed out on the users local printer.
    However this is causing errors....
    I want to find a solution that enables us to do this without the need for Word on the server.
    I've looked at WordWriter by Softartisans but the system requirements are a problem...
    We would prefer to use existing Word templates but I'm considering/researching the possibility of outputting the file as a .pdf or postscript...
    Any ideas/suggestions?
    Cheers

    thanks for the suggestions....unfortunately I do not know what errors occur using webutil....I hope to find out soon.
    However it seems it may be better doing this on the server using ORDCOM.
    Can anyone please provide futher info on this. And would others agree ORDCOM is my best bet?
    I have spoken to my manager...and apparently problems have occurred in the past using COM components. I am continuing to investigate.....but if anyone has any further comments or suggestion I would appreciate it.
    Thanks

  • Problems with WebUtil under Sun Java plugin

    Hi,
    I have a Forms application using WebUtil which works fine under Oracle jinitiator for years. It works with both MS IE and Mozilla Firefox (some other browsers were also successfully tested). Now when Mozilla released Firefox 3.6 requiring next generation Java (http://blogs.oracle.com/stevenChan/2010/01/firefox_36_ebs.html) Oracle jinitiator (Java version 1.3.1.22) cannot work and I was forced to download and install the latest JRE plugin version (http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab). I provided required formsweb.cfg modifications:
    jpi_classid=clsid:CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab#Version=1,6,0,18
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_18
    Now my application starts (previously it required a plugin installation) but fails with the error:
    oracle.forms.webutil.cApi.CApiFunctions bean not found. WEBUTIL_C_API.REBIND_PARAMETER will not work
    See full Java console log below:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\ilia
    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>
    Loaded image: http://kenya:7777/forms/java/fls_logo.gif
    Loaded image: http://kenya:7777/forms/java/fls_bgnd.gif
    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 java.lang.ClassLoader.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/clientInfo/GetClientInfo.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/file/FileFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/host/Host.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/session/SessionFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/fileTransfer/FileTransfer.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/ole/OleFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/cApi/CApiFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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.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.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://kenya:7777/forms/java/oracle/forms/webutil/browser/BrowserFunctions.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 19 more
    This happens on the very first call to WebUtil function in the ON-NEW-FORM-INSTANCE trigger.
    My questions are:
    - May I configure WebUtil for both jinitiator and Sun Java plugin usage?
    - What is missed in jpi configuration preventing WebUtil normal execution?
    Thank you in advance,
    Ilia

    Hi All,
    Thank you for your responds.
    The following separate configuration section is used in this situation:
    [jpiadm280]
    baseHTMLJInitiator=basejpi.htm
    envFile=InPlan.2.80.env
    pageTitle=InMind Administration Utilities v. 2.80
    width=950
    height=680
    form=CEDB_main_menu
    background=/forms/java/fls_bgnd
    logo=/forms/java/fls_logo
    splashScreen=no
    lookAndFeel=oracle
    colorScheme=teal
    imageBase=codeBase
    WebUtilArchive=frmwebutil.jar,jacob.jar_
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar,fls_icons.jar,FormsGraph.jar
    archive=frmall.jar
    otherparams=useSDI=no
    jpi_classid=clsid:CAFEEFAC-0016-0000-0018-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u18-windows-i586.cab#Version=1,6,0,18
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_18
    Please see highlighted with bold parameters to make sure that all recommendations were taken into account. Nevertheless the error message shows that CApiFunctions.class was not found and this class is within frmwebutil.jar, which is also referred within this configuration section (highlighted with bold undrline). So it looks like a sort of incompatibility of frmwebutil.jar with Sun JRE plugin 1.6.0_18. Do I need another version of frmwebutil.jar to run with next generation Java?
    Thanks in advance,
    Ilia

  • Problem with webutil functions

    Hi all,
    when i run the Form wu_test_106.fmb, the error "oracle.forms.webutil.clientinfo bean not found. WEBUTIL_CLIENTINFO.GET_SYSTEM_PROPERTY will not work."
    i use Forms 10G with oracle db 9.2 and webutil 1.06.
    what can i do?
    Thank to all

    It apopears you are not following your own logic.  You need to design your logic around detecting when conditions for pressing the key will result in the right or wrong response.  Pressing the key should only call one function.  Inside that function is where you need to determine if the press is right or wrong.

  • Library problem with webutil

    hi
    i tried to install webutil. i did all the steps listed in familiarization manual and readme.html.
    it's the first time i use a library in my form.
    when i run it i get a frm-40039 -> library could not be attached to form.
    what am i doing wrong? the forms are on the same machine as iAS is installed. so i use that OC4J, not the embedded in developer suite.
    when attaching the library i tried both methods (remove paht yes and no). isn't yes correct for my situation?
    i also first attached the library and then subclassed the webutil object group.
    here are some lines of the .env file i'm using.
    FORMS90_PATH=D:\join3000/forms;D:\Oracle\9iAS\forms90\webutil\forms
    WEBUTIL_CONFIG=D:\Oracle\9iAS\forms90\webutil\server\webutil.cfg
    CLASSPATH=....;D:\Oracle\9iAS\forms90\webutil\lib\webutil.jar;D:\Oracle\9iAS\jdk\jre\lib\rt.jar
    hope someone can help me.
    are there any webutil-demos to test it?

    Is your app server on windows or unix ? could it be a case problem (unix being case sensitive??)>
    regards
    Grant Ronald
    Forms Product Management

  • Problems with Webutil Client_Host

    Hi,
    We are working on Forms10g on Win XP Environment. I have installed Webutil on m/c. On When Button Pressed trigger I am trying to use Client_Host command to execute a batch file. Upon hitting the button it displays message saying " Please Acknowledge " and then it displays Error Message " 40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06503". Any help in this regard is highly appreciated.
    Regards

    ORA-06503: PL/SQL: Function returned without value
    Cause: A call to a PL/SQL function completed, but no RETURN statement
    was executed.
    Just a wild guess, but maybe this will help:
    DECLARE
    pid WEBUTIL_HOST.PROCESS_ID;
    BEGIN
    pid := WEBUTIL_HOST.NONBLOCKING_WITH_CALLBACK('CMD /C NOTEPAD '||fname,'HOST_CALLBACK');
    END;

  • Problem with WebUtils

    I`m install WebUtil 1.06. Forms version v 9.0.4.0.19, use OC4J instance. After start it is given error "FRM-92101...".
    In log:
    06/05/17 15:09:29 forms90web: &#1057;&#1077;&#1072;&#1085;&#1089; Forms <40> &#1087;&#1088;&#1077;&#1088;&#1074;&#1072;&#1085;: &#1085;&#1077;&#1074;&#1086;&#1079;&#1084;&#1086;&#1078;&#1077;&#1085; &#1086;&#1073;&#1084;&#1077;&#1085; &#1076;&#1072;&#1085;&#1085;&#1099;&#1084;&#1080; &#1089; &#1074;&#1099;&#1087;&#1086;&#1083;&#1085;&#1103;&#1077;&#1084;&#1099;&#1084; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1086;&#1084;.
    06/05/17 15:09:29 forms90web: Forms session <40> exception stack trace:
    java.io.IOException: FRM-93000: &#1053;&#1077;&#1087;&#1088;&#1077;&#1076;&#1074;&#1080;&#1076;&#1077;&#1085;&#1085;&#1072;&#1103; &#1074;&#1085;&#1091;&#1090;&#1088;&#1077;&#1085;&#1085;&#1103;&#1103; &#1086;&#1096;&#1080;&#1073;&#1082;&#1072;.
    &#1055;&#1086;&#1076;&#1088;&#1086;&#1073;&#1085;&#1077;&#1077; : No HTTP headers received from runform
    at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    06/05/17 15:11:20 forms90web: l90servlet: destroy
    06/05/17 15:11:20 forms90web: 9.0.4.0.0 Stopped
    06/05/17 15:11:20 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (127.0.0.1))
    Under debugger I have found that mistake appears in an effort execute WEBUTIL_CORE.CustomEventHandler(:SYSTEM.CUSTOM_ITEM_EVENT,:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
    in trigger WHEN-CUSTOM-ITEM-EVENT in item WEBUTIL_FILETRANSFER_FUNCTIONS.
    Help me, pls...
    Sorry, my english bad :-(

    Hello,
    Have you followed the configuration steps properly...? If not, go through the following url
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
    And pdf is there which will help us to do the configurations step by step.
    Priya

Maybe you are looking for