WebUtil.NonBlocking_with_Callback

Is there any documentation with examples of how to use WebUtil.NonBlocking_with_Callback? I have tried creating a local variable of type "process_id", that didn't compile. What kind of callback trigger does this refer to? Is this a user-defined form-level trigger? I am using WebUtil successfully in other areas by guessing how to use it, but I am stumped here. Thanks, in advance.

Hello,
Yes, it is a user-defined form-level trigger.
Francois

Similar Messages

  • NonBlocking_With_Callback

    Can anyone please provide a clear explanation/Usage of the
    Function "NonBlocking_With_Callback" in the WebUtil_Host package?
    I looked at the WebUtil online documentation. It has very little
    information on its usage.
    It would be great if someone who has used it could give an example.

    Hello,
    Yes, it is a user-defined form-level trigger.
    Francois

  • WebUtil: CLIENT_HOST arg #2

    According to the PROCEDURE BODY of CLIENT_HOST WebUtil's attached library, there is a second argument (KWD in number).
    Does anyone know what this does? The Oracle documentation I have seen does not address this argument.
    Also: Is there a way to launch a client-side application asynchronously so that the user does not have to exit the client app in order to free-up the oracle screen which launched it?
    Thanks for any insight.

    Hello,
    The Webutil HOST package contains all you need:
      FUNCTION  Host(cmd in VARCHAR2) return PLS_INTEGER;
      PROCEDURE Host(cmd in VARCHAR2);    
      FUNCTION  Blocking(cmd in VARCHAR2) return PROCESS_ID; 
      PROCEDURE Blocking(cmd in VARCHAR2);  
      FUNCTION  NonBlocking(cmd in VARCHAR2)return PROCESS_ID;
      PROCEDURE NonBlocking(cmd in VARCHAR2);
      FUNCTION  NonBlocking_With_Callback(cmd in VARCHAR2, callbackTrigger in VARCHAR2)return PROCESS_ID;As you can see, it contains a NonBlocking function ;o)
    Francois

  • 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;

  • Thank You - WebUtil

    Duncan,
    First I would like to say Thanks, for you and your team for developing webutil, it is a blessing in disguise for me. I have been trying to figure out how to create a web form that will allow the user to ftp a file to our file server. After beating my head with trying different ways to accomplish a form that would be very user friendly while not having the server hosed down via memory. Taking time to go to the June conference and learning about webutil, well let's just say - webutil has made it possible. So, many, many thanks!
    Of course, there is a couple questions for all of the WEBUTIL gurus:
    Is it possible to show the progress bar while the file is being ftp'd? I am using client_host to acitvate the ftp command.
    Is their a way to hide/minimize the windows cmd box? I see the NO_SCREEN option isn't valid per doc.
    To validate the file transfer was successfully, I get the filesize from the client and once the file is ftp'd I will grab the filesize on the server. Is there somekind of call/proc that will let me know my host command was successful?
    Thanks,
    Mary Santry

    1) Progress Bar - if you make the host asynchronous with callback you can at least show some sort of Working indicator - I don't think you can do a progress bar as such as that would need communication between the upload program and the form. It's possible to do but not with WebUtil - you'd need a bespoke FTP bean for that
    2)You can try calling a .PIF file which starts the comd shell minimised
    3) Use WEBUTIL_HOST. NonBlocking_With_Callback() as I suggested for (1). Then when the host cammand finishes a trigger will be called in the form and you can use the GET_RETURN_CODE and GET_STANDARD_ERRROR / OUTPUT functions to check the status of the job.

  • Error while compiling forms10g in Unix with webutil features.

    Hi,
    I developed a form called test.fmb and attached webutil.pll. change all text_io to client_text_io.
    Copied the file to unix and tried to compile, it says
    CLIENT_TEXT_IO.FILE_TYPE must be declared.
    (Please note that webutil.pll has been compiled and .plx file is generated).
    Please help.
    Thanks.

    Our Forms_90 Path is
    FORMS90_PATH=/AppsTop/FRMTOP/app/9.0.4/forms90:/AppsTop/FRMTOP/app/9.0.4/pi:/AppsTop/FRMTOP/app/9.0.4/webutil:/AppsTop/FRMTOP/app/9.0.4/webutil/forms
    I just copied webutil.pll from
    :/AppsTop/FRMTOP/app/9.0.4/webutil/forms/webutil.pll to
    my local directory C:\webutil.pll
    I attached the C:\webutil.pll under Attached Libraries in test.fmb in my own PC.
    Please advice.
    Thanks,
    Mano.

  • Error in loading WebUtil package

    Dear all,
    i have the following problem,
    we have install the application server on one machine
    Windows server 2003 Enterprise edition
    (both the infra and middle tier on the same machine), and we wanted to configure the webutil package with this installation for runtime usage, we met all the configuration steps, and we met all the platform security privilages(windows privilages),but..
    when we try to open the form that uses this package, we found two problems, the form didn't open at all and the following log written to the java console which indicates that there is a problem while loading the webutil beans(last few lines)
    Waiting for help, and following is the log
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator.PWAGAZA Proxy Configuration: Manual Configuration Proxy: 192.168.0.5:8080 Proxy Overrides: pwa-application.pwagaza,<local> JAR cache enabled
    Location: C:\Documents and Settings\Administrator.PWAGAZA\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://localhost/forms/java/frmall_jinit.jar from JAR cache Loading http://localhost/forms/java/frmwebutil.jar from JAR cache RegisterWebUtil - Loading WebUtil Version 10.1.2.0 java.io.FileNotFoundException: File not found: http://localhost/forms/java/myAppIcons.jar      at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)      at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)      at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)      at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)      at oracle.jre.protocol.jar.JarCache.get(Unknown Source)      at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)      at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)      at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)      at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)      at sun.misc.URLClassPath$2.run(Unknown Source)      at java.security.AccessController.doPrivileged(Native Method)      at sun.misc.URLClassPath.getLoader(Unknown Source)      at sun.misc.URLClassPath.getLoader(Unknown Source)      at sun.misc.URLClassPath.getResource(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 java.lang.ClassLoader.loadClassInternal(Unknown Source)      at java.lang.Class.forName0(Native Method)      at java.lang.Class.forName(Unknown Source)      at oracle.ewt.util.FocusUtils.<clinit>(Unknown Source)      at oracle.ewt.lwAWT.LWComponent.<clinit>(Unknown Source)      at oracle.ewt.laf.oracle.OracleLookAndFeel._initCommonFixedDefaults(Unknown Source)      at oracle.ewt.laf.oracle.OracleLookAndFeel._getCommonDefaults(Unknown Source)      at oracle.ewt.laf.oracle.OracleLookAndFeel._getIndexedDefaults(Unknown Source)      at oracle.ewt.laf.oracle.OracleLookAndFeel.getDefaults(Unknown Source)      at oracle.ewt.lwAWT.BufferedApplet.getUIDefaults(Unknown Source)      at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)      at oracle.ewt.swing.JBufferedApplet.<init>(Unknown Source)      at oracle.forms.engine.Main.<init>(Unknown Source)      at java.lang.Class.newInstance0(Native Method)      at java.lang.Class.newInstance(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) WARNING: Unable to cache http://localhost/forms/java/myAppIcons.jar Loading http://localhost/forms/java/jacob.jar from JAR cache Loading http://localhost/forms/java/FormsGraph.jar from JAR cache proxyHost=null proxyPort=0 connectMode=HTTP, native. Forms Applet version is : 10.1.2.0 2006-Jul-10 12:07:37.481 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.481 WUI[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.496 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.496 WUF[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.496 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.512 WUH[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.512 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.512 WUS[SessionFunctions.init()] Dispatcher Monitoring interval set to 5 2006-Jul-10 12:07:37.512 WUS[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.527 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.527 WUT[SessionFunctions.init()] Max Transfer chunk size set to 16384 2006-Jul-10 12:07:37.527 WUT[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.699 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.699 WUO[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.715 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.715 WUL[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.715 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress 2006-Jul-10 12:07:37.715 WUB[VBeanCommon.getIPAddress()] 192.168.0.3 2006-Jul-10 12:07:37.730 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed.. 2006-Jul-10 12:07:37.730 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed.. 2006-Jul-10 12:07:37.730 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed.. 2006-Jul-10 12:07:37.730 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed.. 2006-Jul-10 12:07:37.730 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed.. 2006-Jul-10 12:07:37.730 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed.. 2006-Jul-10 12:07:37.730 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed.. 2006-Jul-10 12:07:37.902 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..

    Hi Geetha
    check if that job is still running,if it is running kill that job first.
    change the Data package size from the schduler menu
    Now try to load the data again
    Regards
    PBI

  • WUO-709: Unable to get Property: Open == Forms application using Webutil

    Hi everyone,
    I have configured Webutil and tested a demo application for loading excel data into a forms application. The application works just fine. Here is the code:
    DECLARE
    application Client_OLE2.Obj_Type;
    workbooks Client_OLE2.Obj_Type;
    workbook Client_OLE2.Obj_Type;
    worksheets Client_OLE2.Obj_Type;
    worksheet Client_OLE2.Obj_Type;
    filename                varchar2(2000);
    cell Client_OLE2.OBJ_TYPE;
    args Client_OLE2.OBJ_TYPE;
    cell_value varchar2(100);
    eod boolean:=false;
    j integer:=1;
    BEGIN
         -- The following set up communication with the excel spreadsheet
    application := Client_OLE2.create_obj('Excel.Application');
    Client_OLE2.set_property(application,'Visible','false');
    workbooks := Client_OLE2.Get_Obj_Property(application, 'Workbooks');
    args := Client_OLE2.CREATE_ARGLIST;
    Client_OLE2.add_arg(args, 'c:\test\test.xls');
    workbook := Client_OLE2.GET_OBJ_PROPERTY(workbooks,'Open',args);
    Client_OLE2.destroy_arglist(args);
    worksheets := Client_OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
    worksheet := Client_OLE2.GET_OBJ_PROPERTY(application,'activesheet');
    --Go to the first record
    go_block('planets');
    first_record;
    loop
              If :system.record_status <> 'NEW' then
    create_record;
              end if;
    exit when eod;
         for k in 1..3 loop --3 fields per record
         args:= Client_OLE2.create_arglist;
    Client_OLE2.add_arg(args, j);
    Client_OLE2.add_arg(args, k);
    cell:= Client_OLE2.get_obj_property(worksheet, 'Cells', args);
    Client_OLE2.destroy_arglist(args);
    cell_value :=Client_OLE2.get_char_property(cell, 'Value');
    if upper(cell_value) = 'EOD' then
         eod:=true;
         Message('End of Data');
         exit;
    end if;
    --Could be done this way also ->
    /*if k =1 then
         :dept.deptno:=cell_value;
    end if;
    if k =2 then
         :dept.dname:=cell_value;
    end if;
    if k =3 then
         :dept.loc:=cell_value;
    end if;
    --Less code this way ->
    copy(cell_value,name_in('system.cursor_item'));
    next_item;
         end loop; --for
         j:=j+1;
    end loop;--main loop
    -- Release the Client_OLE2 object handles
    Client_OLE2.release_obj(cell);
    Client_OLE2.release_obj(worksheet);
    Client_OLE2.release_obj(worksheets);
    Client_OLE2.release_obj(workbook);
    Client_OLE2.release_obj(workbooks);
    Client_OLE2.invoke(application,'Quit');
    Client_OLE2.release_obj(application);
    END;
    -- cell_value :=Client_OLE2.get_num_property(cell, 'Value');
    The issue comes when I try to supply filename and path (here, c:\test\test.xls) through a file open dialog. I tried each of these:
    1.
    filename := client_get_file_name
    (directory_name => 'C:\'
    ,file_name => 'test'|| '.xls'
    ,file_filter => 'Excel (*.xls)|*.xls|'
    ,message => 'Select client side filename where App Server file will be saved'
    ,dialog_type => OPEN_FILE
    ,select_file => TRUE
    2.
    filename := Client_Get_File_Name(directory_name => 'C:\'
    ,file_name => null
    ,file_filter => null
    ,message => null
    ,dialog_type => null
    ,select_file => null
    3.
    filename := client_get_file_name ('','','','Select a file to Upload ',null,TRUE);
    On using the above, I DO get a file open box. However, after browsing and selecting a file, I am getting the error message:
    WUO-709 [OleFunctions.get_obj_property_args()] Unable to get Property: Open; Exception com.jacob.com.ComFailException: Can't map name to dispid: Open
    I have checked the documentation on 'WUO-709' but cannot seem to figure out why it's not working.
    Sorry for the lengthy description. Would greatly appreciate help on this.
    - Amit

    I forgot to mention that in the modified code, I am supplying 'filename' as:
    filename := client_get_file_name ('','','','Select a file to Upload ',null,TRUE);
    args := Client_OLE2.CREATE_ARGLIST;
    Client_OLE2.add_arg(args, filename);
    Thanks,
    Amit

  • After upgrading AS to run Webutil, Reports Server is no longer found

    Recently we update de configuration of Application Server to use the WebUtil features (FileTransfer, etc) but some clients can not view the reports (the PDF files generated and the previous html page where are passed de parameters to generate de PDF file paramform=yes <--- I mean this parameteter passed to RUN_REPORT_OBJECT_PROC )
    The curious thing is that in NetScape it Works fine, but in MS Internet Explorer does not.
    Initially we thought that was the problem, a configuration in the client, but after formatting the PC, the problem persists.
    In the webutils log (after enable this capabilitiy) does not show anything abnormal:
    192.168.0.244:desarrollo: 2006-sep-27 12:19:46.967 WUT[setProperty()] Setting property WUC_SRV_LOGGING to 2
    192.168.0.244:desarrollo: 2006-sep-27 12:19:46.967 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    192.168.0.244:desarrollo: 2006-sep-27 12:19:46.967 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    192.168.0.244:desarrollo: 2006-sep-27 12:19:46.967 WUT[loadSettings()] Local properties file loaded
    192.168.0.244:desarrollo: 2006-sep-27 12:19:47.248 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    192.168.0.244:desarrollo: 2006-sep-27 12:19:47.248 WUT[getProperty()] Getting
    In a similar topic we read that it could be a problem with the reports classpath, but why webutils configuration works in some clients and with others does not?
    In the RUN_REPORT_OBJECT_PROC function instead using relative address for the reports servlet we changed for a complete adress, I mean
    RUN_REPORT_OBJECT_PROC(repid,
    '/reports/rwservlet')
    replaced with:
    RUN_REPORT_OBJECT_PROC(repid,
    'http://ias.website/reports/rwservlet')
    But the problem persists (we have the reports and forms services in the same server)
    and after debugging the RUN_REPORT_OBJECT_PROC function, in this line
    rep_status := report_object_status(report_message);               
    report_object_status returns null
    Why happends this?
    Could you help us? What information need to be posted to this? what else we need to do?
    We configured webutils as mentioned in the Oracle® Forms Developer
    WebUtil User’s Guide
    Release 1.0.6
    We're using MS Windows 2003 Server, Oracle AS 10g and Oracle DB 10g
    The RUN_REPORT_OBJECT_PROC function (procedure) is the same what is mentioned in
    http://www.oracle.com/technology/products/forms/pdf/10g/frmrepparamform.pdf
    and the same that worked fine for a long time ago.

    We added the following lines to webutiljini.htm
    For IE
    <PARAM NAME="BROWSER" VALUE="InternetExplorer">
    <PARAM NAME="MAYSCRIPT" VALUE="TRUE">
    For NetScape:
    BROWSER="Netscape"
    MAYSCRIPT="true"
    And adding the frmwebutil.jar to the Reports Server ClassPath the problem was solved

  • Trying to use webutil  - Works in development, will not work on app server.

    I am having a similar problem. I have followed all the instructions from above.
    I run my code in the developer and it runs fine. If I run my code from the application server I get locked up.
    Here is the output from my java console.
    Oracle JInitiator: Version 1.3.1.28
    Using JRE version 1.3.1.28-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\BrianG.PSSI
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\BrianG.PSSI\Oracle Jar Cache28
    Maximum size: 1,024 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://smprdap2.pssi.local/forms/java/frmall_jinit.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    Loading http://smprdap2.pssi.local/forms/java/esteelman.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/sticons.jar from JAR cache
    Loading http://smprdap2.pssi.local/forms/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.3
    Exception occurred during event dispatching:
    java.lang.NoSuchMethodError
         at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281)
         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.run(Unknown Source)
    This is the configuration I an trying to use is:
    [SMT1]
    form=st_menu.fmx
    imageBase=CodeBase
    width=1020
    height=740
    separateFrame=true
    splashScreen=/forms/steelman/images/logo.gif
    background=no
    lookAndFeel=Oracle
    colorScheme=purple
    logo=/forms/steelman/images/small_logo.gif
    formsMessageListener=
    recordFileName=
    pjcRegisterApplet=oracle.forms.demos.util.RegisterCertificate
    pjcArchive=esteelman.jar
    baseHTMLjinitiator=signedjini.htm
    baseHTMLJinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm.
    WebUtilArchive= esteelman.jar,sticons.jar, frmall_jinit.jar, frmwebutil.jar,jacob.jar
    archive_jini=frmall_jinit.jar,esteelman.jar,sticons.jar,frmwebutil.jar,jacob.jar,
    em_mode=1
    serverApp=/steelman/conf/steelman
    envFile=C:\steelman\conf\smt1.env
    If i do not use baseHTMLjinitiator=signedjini.htm
    our application will not launch at all.

    The first problem I see is that you are using an old version of WebUtil, which is not supported for use with Forms 10.1.2.3 and is probably the cause of the problem.
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    The correct versions of frmwebutil.jar and webutil.pll are applied to Developer Suite installations and can be copied to Application Server. If you do not have an iDS installation, you can install the latest Forms Bundle patch which includes the correct WebUtil files. Refer to Patch ID 9593176 and Note 1188127.1. Be sure to review the ReadMe included with the patch.
    The second problem is that you are using Jinitiator. Jinitiator has been obsolete for a long time. However, if you have some reason why you must use it, I would recommend that you at least get the last version released (1.3.1.30). This can be downloaded from within MyOracleSupport (account required) using Patch ID 7410076. If you do not have access to MyOracleSupport and you are using Forms 10.1.2.3, then you can use JRE6 (1.6.0_37). Do not attempt to use JRE7
    http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html
    You would need to install the 32bit version: jre-6u37-windows-i586.exe
    References:
    <li>Note: 566628.1
    <li>Note: 561273.1

  • How to upload data from excel to form using webutil

    Hi,
    In the sample provided by Oracle
    http://www.oracle.com/technology/products/forms/htdocs/webutil/howto_ole.html
    Note 247606.1 How to Copy Records From a Form Into Excel
    It shown the methods of how to copy data from form to excel but is there any sample to provide the step on how to read the cell from excel into Form in 10g.

    declare
    args client_ole2.list_type;
    application client_ole2.obj_type;
    vworkbooks client_ole2.obj_type;
    vdoc     client_ole2.obj_type;
    vworksheet     client_ole2.obj_type;
    vrange               client_ole2.obj_type;
    begin
    -- create app object
    application := client_ole2.create_obj('Excel.Application');
    client_OLE2.SET_PROPERTY(application, 'Visible','True');
    -- get workbooks object
    vworkbooks := client_ole2.get_obj_property(application, 'Workbooks');
    -- and open a file
    args := client_ole2.create_arglist;
    client_ole2.ADD_ARG(args, 'c:\tp_ae.xls');
    vdoc :=client_ole2.INVOKE_OBJ(vworkbooks,'Open',args);
    client_ole2.destroy_arglist(args);
    -- get a worksheet object
    -- for this to work you need to know the sheet name or its index
    args := client_ole2.create_arglist;
    client_ole2.ADD_ARG(args, 1); <-- name or index
    vworksheet := client_ole2.get_obj_property(vdoc,'Worksheets',args);          
    client_ole2.destroy_arglist(args);
    -- get a range object which in this case is just a cell
    -- for this to work you need to know the cell coordinates
    args := client_ole2.create_arglist;
    client_ole2.ADD_ARG(args, 'B6');          
    vrange := client_ole2.get_obj_property(vworksheet,'Range',args);
    client_ole2.destroy_arglist(args);
    -- and here you get the value
    message(client_ole2.get_char_property(vrange,'Value'));
    -- release objects          
    client_ole2.release_obj(vrange);
    client_ole2.release_obj(vworksheet);
    client_ole2.release_obj(vdoc);
    client_ole2.release_obj(vworkbooks);
    client_ole2.release_obj(application);
    end;

  • How to run multiple DOS commands from a single Webutil Client_Host session?

    Hello all,
    I have a requirement where I need to create an interface with SVN from Forms for basic checkin-checkout of files.
    So, I've been trying to use webutil client_host to open a command line session and issue svn commands.
    For svn, sometimes I need to give multiple commands like change to a particular directory and then run an svn command.
    But client_host takes in only one command at a time and I'm unable to issue a series of DOS commands to perform
    a particular task.
    Is there a way to do this?
    Pls suggest.
    Regards,
    Sam

    First your original question... You can put more than one DOS command on a single line, simply separate each command with an ampersand (&). For example:
    mkdir c:\abc & cd abc & dir*
    Regarding your concerns about performance, well that would depend on exactly what you mean. Using CLIENT_HOST (or HOST on the server) simply opens a shell (DOS in this case) then passes your command to it. The performance of performing this action really isn't measurable. Basically you are just pressing a button and you should get a near immediate action. As for the performance of executing each command, that has nothing to do with Forms. Once the command is passed to the shell, the rest is a function of the shell and whatever command you passed.
    Having said that, if you were to write something sloppy like a loop (in pl/sql) which called CLIENT_HOST lots of times repeatedly, then yes there would be a performance problem because the pushing of the button will cause an exchange to and from the server and each cycle in the loop will do the same.
    So the answer to how performance is impacted will depend on what exactly you need to accomplish. If it is a single call to CLIENT_HOST, this should be fine.

  • Webutil download file from app server

    i am calling a report from forms. report uses text_io to write delimited data to app server disk. report info also displays in browser using web.show_document. when i call report from forms i run report, use web.show_document to display in browser and then call webutil to download file to client form appserver. sequence would be in a manner as below:
    run_report_object (report_id);
    when report = finished then
    web.show_document;
    end if;
    webutil.download_file (filename);
    the problem is this: the web.show_document code runs but while this is running the webutil code also is running. but the report has not completed yet so when webutil runs looking for the file the report is supposed to write it cannot find it since the report has not completed. web.show_document fires off a browser session and then immediately runs the webutil code. but i dont want the webutil code to run until the report has successfully completed. does anyone know how to integrate these two functions into one step instead of running the report and allowing it to complete and then executing a separate step to download the file.
    thank you

    You might want to try this code snippet....
    --- code to set parameters, declare variables etc...
    l_report_return := run_report_object(l_report_id);
    l_report_status := report_object_status(l_report_return);
    WHILE l_report_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
         l_report_status := report_object_status(l_report_return);
    END LOOP;
    IF l_report_status = 'FINISHED' THEN
         /*Display report in the browser*/
         web.show_document(......);
    ELSE
         message('Error when running report ');
    END IF;

  • Problem with Form and webutil loading jar and connection

    Can anyone shed light on this. Here is my java console output. I then get FRM-90250 and FRM-92101....
    Orion-web.xml
    <virtual-directory virtual-path="/webutil"
    real-path="C:\webutil/lib" />
    Forms90.conf
    #Virtual path for WebUtil
    AliasMatch ^/forms90/webutil/(..*) "c:\webutil/lib/$1"
    formsweb.cfg
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    [WEBFTU]
    pageTitle=Creative Automation Services
    form=c:\export\data\ca\prod\webftu.fmx
    archive_jini=f90all_jinit.jar,rolloverbutton.jar,hyperlink.jar
    archive_ie=f90all.cab
    archive=f90all.jar
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=off
    #WebUtilLogging=Console
    # WebUtilLoggingDetail=normal
    WebUtilLoggingDetail=Detailed
    WebUtilErrorMode=Alert
    baseHTMLjinitiator=C:\webutil\server\webutiljini.htm
    width=900
    height=600
    splashScreen=/forms90/images/splash.gif
    background=/forms90/images/black.gif
    logo=/forms90/images/blackborder.gif
    lookAndFeel=Oracle
    colorScheme=Titanium
    otherparams=useSDI=yes
    workingDirectory=c:\export\data\ca\prod
    envFile=C:\webutil\server\webutil.env
    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\msantry
    User has overriden browser's proxy settings.
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\javaburps\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://clientapps.cauto.com/forms90/webutil/webutil.jar from JAR cache
    Downloading http://clientapps.cauto.com/forms90/webutil/jacob.jar to JAR cache
    Loading http://clientapps.cauto.com/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    Loading http://clientapps.cauto.com/forms90/java/rolloverbutton.jar from JAR cache
    Loading http://clientapps.cauto.com/forms90/java/hyperlink.jar from JAR cache
    connectMode=HTTP, native.
    oracle.forms.net.ConnectionException: Forms session <3> failed during startup: no response from runtime process
         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.HTTPConnection.connect(Unknown Source)
         at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source)
         at oracle.forms.engine.FormsDispatcher.init(Unknown Source)
         at oracle.forms.engine.Runform.initConnection(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)
    Thanks,
    Mary Santry

    The error does not look like a webutil client side problem - it looks more like a server side issue - perhaps the runtime not being able to find the webutil.pll.
    Check your FORMS90_PATH in the webutil.env file and make sure it's not too long (>255 chars) if it is split it and use ORACLE_PATH as well.

  • How to open Dialog Box by using webutil

    Hi all,
    I am using webutil in 9i(9.0.2)
    as in the user manual i did the changes..
    except one..when i set
    baseHTMLjinitiator=d:\webutil\server\webutiljini.htm
    it gives the
    Duplicate Parameter on Command Line..
    when i commented the above baseHTMLjinitiator=d:\webutil\server\webutiljini.htm
    and run the form ..that time formd gives the following error
    oracle.forms.webutil.file.FileFunctions...
    How to solve ..this issue ?
    any help ..
    with anticipating the reply
    Regards
    A meet

    Thanks Phuong. I try it, but still does not work. I have tried the followings:
    CLIENT_HOST('CMD/C START "editor" C:\Program Files\Windows NT\Accessories\wordpad.exe D:\temp\out.txt' );
    CLIENT_HOST('CMD/C START "editor" wordpad.exe D:\temp\out.txt' );
    WEBUTIL_HOST.NONBLOCKING('CMD /C C:\Program Files\Windows NT\Accessories\wordpad.exe D:\temp\out.txt');
    --trang                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Help with sdk 3.0 firmware for iphone 3g

    I recently signed up and paid like 10 dollars for a dev team user to sign me up legally to use the iphone new sdk 3.0. Unfortunately I cannot afford the 99 dollars to apply to the real dev team, but I have so many good ideas and support issues, can s

  • Capturing OIM User Attribute Properties in OIM Export

    I spent a significant amount of time going through the UI and creating UDFs and tweaking my existing and UDF fields to make sure specific ones are hidden and others are shown. I then used the deployment manager to export the User Metadata. Upon impor

  • Missing HD space and cant repair disk on disk utility

    Ok this has been bugging me for past week now. First off I am missing 40GB of my 80GB HD. I know that disk are suppose to have less then the total but this data is just missing. I have used what size and Disk Inventory X to look for files that are ta

  • 8520 shuts down after a few minutes

    I recently upgraded my OS on my curve 8520 and now i hear static when talking with someone for a few minutes and thte screen goes white. I have to take out the battery and plug it in to turn it back on or it stays stuck on the white screen and is non

  • CJ20N - Change Document Details

    Hi All, We need to capture the details of the project and WBS elements in change document tables(CDHDR,CDPOS). Right now when the project is being created and released in the Cj20N then only it captures the change document details in CDHDR table. If