Webutil - Client_host not working

Hi all,
I have installed/configured Webutil along with Jacob.jar and signed them. Also compiled the webutil.pll. Attached this to a form and when I used the client_host command to call any exe file, I get a please acknowledge message and the thereafter no processing.
I am using Oracle Forms 9.0.4.
sample command
client_host('CMD /C cp c:\abc.txt c:\a.txt');
Is this could be configuration issue of webutil?
An exe on Application server should be opened in the client system.
Is there any other way to access this?
Please suggest.
Regards,
Gopal.

Hello,
I tested with Webutil 1.0.5 and Forms 9.0.4 on Windows 2000:
It worked for me with:
client_host('CMD /C cp c:\abc.txt c:\a.txt');
What OS do you have?
You should check to see if it does work in CMD promt in order to see if this is an OS issue or an WebUtil issue.
Best Regards,
Eugen

Similar Messages

  • Excel File read using WebUtil does not work. Gives java.lang.NoSuchMethodEr

    We have a form which reads from an Excel File. The form works in development env., but in the live env when we deployed the form it does not work. Form fails @ the 1st call to Client_OLE2 where we set the Excel file to read.
    For both the envs. the values are given here:
    (1.) Client Forms Version : Forms [32 Bit] Version 10.1.2.0.2 (Production)
    (2.) Application Server Version : 10.1.2.0.2
    (3.) AS Linux Version : (Live) RHEL 5.7 Tikanga / (Dev) Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
    (4.) Client Sun JRE Version :Version 1.5.0 (build 1.5.0_10)
    (5.) Client Web Browser & Version: I.E 8.0.6001 or Mozilla  3.0.15
    (6.) WebUtil Version: 1.0.6Both envs. are the same except the Linux version.
    Works fine in Dev but does not work in Live. Other Webutil functions like file open dialog box works fine in live, only this Excel read is not working.
    Full Error message
    Java Plug-in 1.5.0_10
    Using JRE version 1.5.0_10 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\dinesha.IIL
    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
    p:   reload proxy configuration
    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>
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Exception in thread "AWT-EventQueue-3" java.lang.NoSuchMethodError:
    com.jacob.com.Dispatch.put(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
         at
    oracle.forms.webutil.ole.OleFunctions.set_obj_property(OleFunctions.java:1216)
         at
    oracle.forms.webutil.ole.OleFunctions.setProperty(OleFunctions.java:333)
         at oracle.forms.handler.ComponentItem.setCustomProperty(Unknown Source)
         at oracle.forms.handler.ComponentItem.onUpdate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onUpdate(Unknown Source)
         at oracle.forms.handler.UICommon.onUpdate(Unknown Source)
         at oracle.forms.engine.Runform.onUpdateHandler(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.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)We connected to Live AS server via VPN and ran the Form in a client machine (where the Dev. is working) but same problem.
    Any help would be greatly appreciated.

    Channa,
    I sounds like you might have missed a configuration step on your Linux application server (AS). I recommend you go back through the configuration of your AS and verify each step of the WebUtil Runtime Setup Checklist was completed correctly. Seach the Forms Help system on "Runtime Setup Checklist" for a copy of the checklist.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Webutil demo not working ?

    Hello experts,
    recently i install and configure according to steps:
    1. Run create_webutil_db.sql
    a. CREATE USER webutil IDENTIFIED BY webutil
    b. Grant connect, resource to webutil
    c. Connect webutil/webutil
    d. @[ORACLE_HOME]/forms/create_webutil_db.sql
    e. Create public synonym webutil_db for webutil.webutil_db;
    f. Connect sys as sysdba
    g. Grant execute on webutil_db to public;
    2. Copy and download Jacob from
    http://sourceforge.net/projects/jacob-project/files/jacob-project/1.14.3/jacob-1.14.3.zip/download
    a. Unzip the jacob download and place jacob.jar in the
    ORACLE_HOME/forms/java directory
    b. backup sign_webuitl.bat script in [ORACLE_INSTANCE]/bin/sign_webutil.sh
    c. search for <Your KEYSTORE password> and replace it with welcome1 (or
    something like this)
    d. search for <Your private key password> and replace it with welcome1 (or
    something like this)
    e. Save the script and use it to sign jacob.jar as below
    f. [ORACLE_INSTANCE]/bin/sign_webutil.sh
    [ORACLE_HOME]/forms/java/jacob.jar
    3. Place jacob.dll in the ORACLE_HOME/forms/webutil/ directory
    4. Jacob.dll in r2 – file names must be verified against webutil.cfg file
    a. Place jacob-1.14.3-x86.dll in the ORACLE_HOME/forms/webutil/win32
    directory.
    b. Place jacob-1.14.3-x64.dll in the ORACLE_HOME/forms/webutil/win64
    directory
    5. Using weblogic EM console, Add ORACLE_HOME/forms/java/frmall.jar to the
    CLASSPATH in the default.env
    6. Update formsweb.cfg webutil section with the following if not already
    done:
    a. Add frmwebutil.jar and jacob.jar to the WebutilArchive parameter in the
    [webutil] configuration section. For some versions of 11g, this is already
    added.
    b. Specify webutil_demo as the form to be run in the [webutil]
    configuration section
    7. Download webutil demo from link below, extract and put the contents in
    a folder
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/196249.zip
    8. Copy ffisamp.dll to the <ORACLE_HOME>\forms\webutil directory.
    9. Open your webutil.cfg file and add the following line
    install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
    10. If not already done do the following in webutil.cfg
    a. transfer.appsrv.workAreaRoot=c:\temp
    b. transfer.appsrv.accessControl=TRUE
    c. transfer.database.enabled=TRUE
    d. transfer.appsrv.enabled=TRUE
    11. Add the folder in FORMS_PATH in enterprise manager
    12. Replace db and run the following command:
    a. frmcmp.sh module=webutil_demo.fmb module_type=form
    userid=webutil/webutil@<db> compile_all=yes
    b. FORMS_PATH variable and make sure webutil.pll folder is available in the
    path or run the above command from command shell in the folder where webutil.pll
    is available
    13. Restart opmnctl and wls_forms weblogic instance
    14. Run the webutil
    running the url:
    http://server:port/forms/frmservlet?form=webutil_demo&config=webutil
    logon window appear, after login following mess comes:
    frm-40735: when-custom-item-event trigger raised
    unhendled exception ora: 06502
    thanks
    yash
    Edited by: yash_08031983 on Mar 8, 2013 12:12 AM

    There are a few things you did not mention or were unclear about.
    1. Exactly which Forms version are you using? In order to do what you described, you should be using 11.1.2.x. Forms 11.1.1 or older will not work using the instructions you referred to.
    2. I assume you just copied and pasted the instructions in your post because you included steps like this: "+ 3. Place jacob.dll in the ORACLE_HOME/forms/webutil/ directory+ ". If you downloaded the correct Jacob, you won't have a jacob.dll file.
    3. You said, " +b. FORMS_PATH variable and make sure webutil.pll folder is available + ". At runtime, FORMS_PATH will need access to webutil.plx and webutil_demo.fmx. The pll and fmb are for design time only. In the past, we permitted the use of ungenerated libraries (pll) at runtime, but this is no longer the case. You should always use the "X" file.
    4. You did not mention any of the client information. OS, browser and version, JRE and version, etc. If the client OS is 64bit and you are running Forms 11.1.2, you have the option of using either the 32bit or 64bit Internet Explorer versions. However, you must have a matching JRE. In other words, if you are using 32bit IE, you must also use the 32bit JRE. For 64bit IE you must use the 64bit JRE.
    5. If you are attempting to use Java 7 on the client, you must be running Forms 11.1.2.1.
    6. Someone asked if you compiled webutil.plx. Did you do this before or after you generated the form (webutil_demo.fmx)? If you generated the form before the library, I would recommend regenerating the form. Again, be sure to include the compile_all=yes option.

  • Webutil is not working well in the browser

    hi everybody
    I have a problem in my Forms. First, I was doing Form and I wanted to add picture for item and I want the picture to be saved
    in database through pressing on button and a browser open and select the image to be saved in database. and if I want to later on
    when I select the item the picture automatically come up with the item_id.
    a later on I knew that I need to config the Oracle to Webutil + Jacob and also I knew that the Forms 10G 2R comes with webutil so I just
    need to config Jacob in my system and after a long searching on the net and forums and reading I couldn't solve my problems
    after following the configuration I reached to point which I stuck in and I don't know how to solve it.
    so After assiging the two Jar files in under Dos I couldn't done them in success
    here is the way I did:
    sign_webutil.bat C:\DevSuiteHome_1\forms\java\frmwebutil.jar
    sign_webutil.bat C:\DevSuiteHome_1\forms\java\jacob.jar
    I get this error after signing the jar files and that mean it's not configured well from the first time by showing error.
    C:\DevSuiteHome_2\forms\webutil>sign_webutil.bat c:\devsuitehome_2\forms\java\ja
    cob.jar
    Generating a self signing certificate for key=webutil2...
    keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> alr
    eady exists
    There were warnings or errors while generating a self signing certificate. Pleas
    e review them.
    Backing up c:\devsuitehome_2\forms\java\jacob.jar as c:\devsuitehome_2\forms\jav
    a\jacob.jar.old...
    1 file(s) copied.
    Signing c:\devsuitehome_2\forms\java\jacob.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    I tried to check some forms in a browser but still I get error asigned from Microsoft Windows like "Oracle Forms Runform has stopped working" and I press on Close the program and another Oracle error come up "FRM-92101:There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details.
    Systems I'm using might help in identifing and solving the problem I'm facing.
    * I'm using Vista Ultimate edition.
    *Oracle Database 10G 2R.
    *Oracle Developer Suite Forms 10G 2R Version 10.1.2.0.2
    * OCJ4 Instance is working well and I can work with any Forms in a browser in best way except when I have Forms that configured to retrieve Image or save Image.
    * I tried using webutil Demo and it's not helping me still the problem there because the problem in configuring the Jar files
    * I use JInitiator 1.3.1.22 do you think this might cause a problem in Vista so if I use JInitiator 1.3.1.28 will fix the problem?.
    Here is a link has some picture that I'm facing and some files that I modified, might help in solving my problem.
    http://rapidshare.com/files/240717866/My_files.rar.html
    Hopefully this information can identify my problem. Thank you very much for helping me.
    Edited by: [email protected] on Jun 3, 2009 4:41 PM
    Edited by: [email protected] on Jun 4, 2009 5:55 AM
    Edited by: [email protected] on Jun 4, 2009 5:56 AM

    Thanks man for your help. I have some question regarding your code
    1. create table img_table (id number not null , img blob, primary key (id))
    I create this table in SQL and this is clear step to me.
    ================================
    2. Create database block based on this table accepting all defaults.
    How can I create database block based on the table I mean where can I do this?.
    ===============================
    3. Add non database item FILE_NAME to input filename to read image from.
    4. Add a button with when-button-pressed trigger:
    READ_IMAGE_FILE(:file_name, '', 'img_table.img');
    What you mean here to ass non database item. I'll put this in button under when button pressed triger, is that right or you mean something else?.
    ===============================
    5. Run form, enter 1 into ID item, full name of some image into FILE_NAME and press button.
    create table image(
    id number not null ,
    IMG BLOB
    create a form
    select a image item
    then select a button and a text box(test box name is file_name nondatabase item)
    in text box give the path of your image and just click the button your image is saved in datbase.
    write this code on when-button-press trigger
    READ_IMAGE_FILE(:file_name, '', 'img_table.img');
    Still not clear to me how I can implement this code. Could you please send to me a ready Form and upload it to rapidshare and put the link here so I can idenitfy how code will be in the Form and I'll create the table in database. Thanks a lot man.
    By the way, I noticed something to let webutil to work I think I can't sign the frmwebutil.jar & Jacob.jar under Dos because of Jarsigner and I get this info: 'jarsigner' is not recognized as an internal or external command,operable program or batch file.
    if you know or anybody knows why jarsigner is not recognized.
    Thanks

  • Webutil demo not working for me-

    this error is being thrown in java console
    Loading http://x8pv5t71.cis.ad.state.mi.us:8889/forms/java/frmall_jinit.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    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)
    any suggestions pls. i have configured the formweb.cfg and webconfig as per the instruction

    d error shows that jar file has not been loaded.... Check the paths u specified in
    formsweb.cfg and default.env....... nd check other settings also

  • Webutil 11g not work

    I have a problem in webutil. there is an error frm:40735 and ora:06508
    Is it the same configuration in 10g or is different ?

    You don't find what ?
    Open the webutil.pll in the Forms Builder, then compile it then generate the executable with Ctrl+T
    Francois

  • Webutil not working properly after applying application server patch

    i have applied patch Patch 5983622 my application server verion is upgrade to 10.1.2.3 .
    patch is applied sucessfully but.foms which have webutil library not working.
    can any one tell me what should i do for make them working again.

    Do you receive any error messages in your Java Console?
    We encountered to following problem when we patched the AS to 10.1.2.3:
    [Exception while using WebUtil on OAS 10.1.2.3|http://www.it-eye.nl/weblog/2008/07/04/exception-while-using-webutil-on-oas-10123/]

  • Webutil-Forms(IAS10g) on Linux O.S does not work

    Hi folks!.
    I have a forms applic. that use webutil library.IAS10g(9.0.4) it is installed on linux,but
    i can not execute the entire enviroment.So i put binaries,webutil.jar and jacob.jar
    on a windows box with IAS9i(9.0.2) and it is work fine.
    I am not sure,but i think it is a problem with sign.properties,sign.bat,and makecert.bat
    files.Cause i need webutil for encryptation purposes,and on java console
    when a get into enviroment through IAS9i on Windows i see all certification executions on
    it,but when i log on Linux-IAS10g enviroment i don't see any certification executions
    on java console.
    Any people that use Forms(IAS10g)-webutil over Linux O.S could help me?

    Two reasons why webutil will not work.
    1) your env. Lang = UTL8 ( this is the first problem)
    2) in webutil.pll there is a function webutil_core...
    where the webutil.cfg will be read. Here the
    libaray will hang up. Insert a return result... then it will work fine.

  • Webutil-Problem (not the usual "PRE-FORM", "WHEN-NEW-FORM-INSTANCE" etc.)

    Hello,
    We have an application with lots of modules, where we use webutil to create text files on the client for data exports. The export is called in a WHEN-BUTTON-PRESSED Trigger and usually works fine, but we have the following problem:
    If two modules, where webutil is used, are opened at the same time and one module is closed, webutil does not function anymore in the other module. If we then try to create a text file after closing on module, we get the following error-message:
    Oracle.forms.webutil.file.FileFunctions bean not found.
    WEBUTIL.FILE.FILE_SELECTION_DIALOG_INT will not work.
    It’s not only the FileFunctions bean, all other webutil functions do not work also anymore in the remaining module.
    This is not the usual “PRE-FORM”, “WHEN-NEW-FORM-INSTANCE” etc. Webutil-Problem.
    As I said before, webutil works, but when we close one module with webutil used, it does not work in another open module anymore.
    Any Idea, why this happens and how to solve the problem???
    Kind regards
    Udo

    Hello,
    Yes, both modules work in the the same session and session is not disconnected, when one of the modules is closed.
    Webutill.pll is attached on both forms and all forms in our application using webutil usually work fine with the exception mentioned above.
    It's a bit difficult to explain, what happens in our application, but I try:
    Our application consists of modules that call other modules with call_form or go_form , when the module is open, all in the same session. "Global" Parameters are passed with SHARE_LIBRARY_DATA. Usually the calling forms stays open.
    In the following constellation webutil does not work anymore at a certain point :
    - Open module A (with webutil attached) and webutil works
    - Then module A calls module B (with webutil attached) and webutil works in module B
    - GO_FORM (module A) and webutil still works (while module B is still open)
    - CALL_FORM (module C) (in our case webutil is not attached to this module, but I think that is not the problem) module C closes module B (while module A stays open)
    - After making a choice in module C, module C closes itself with EXIT_FORM.
    - Go back to the open module A, make a new query with the choice made in module C and webutil does not work anymore in module A
    Regards
    Udo

  • Webutil.host.HostBean not found WEBUTIL_HOST.execute will not work

    Hi everyone:
    I've got a form. I've attached webtill.pll and subclassed webutil.olb.
    In the WHEN-NEW-FORM-INSTANCE trigger it does:
    client_host('cmd /c cd > arch.txt');
    When I execute my form I got the errror:
    webutil.host.HostBean not found
    WEBUTIL_HOST.execute will not work
    Could anyone give me some help on it?
    Thanks!
    Carolina

    Hi!
    this is what I got in the Java console
    JInitiator: Versión 1.3.1.22
    Usar versión JRE 1.3.1.22-internal Java HotSpot(TM) Client VM
    Directorio local del usuario = C:\Documents and Settings\Administrador
    Configuración del delegado: sin delegado
    JAR cache enabled
    Location: C:\Documents and Settings\Administrador\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://rx26201:7778/forms/java/frmall_jinit.jar from JAR cache
    Loading http://rx26201:7778/forms/java/frmwebutil.jar from JAR cache
    Loading http://rx26201:7778/forms/java/jacob.jar from JAR cache
    Loading http://rx26201:7778/forms/java/dgrImages.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    La versión del applet Forms es: 10.1.2.0
    thanks!

  • WEBUTIL not working, some help please

    Hi,
    I am new to Forms 10G and I am starting conversion from Forms 6i. I think I have setup WEBUTIL as decribed in Oracle documentation, step by step. I noticed that none of the calls to WEBUTIL API's are working. For test I tried to delete a file by running:      "client_host('cmd /c del c:\putty.log');"
    It came back with error:
    "oracle.forms.webutil.host.Host bean not found. WEBUTIL_HOST.Execute will not work."
    What am I missing? Could anyone help please?
    Thanks.

    I have done the following test:
    1. Create new module
    2. Add a block manualy
    3. Add a button on the block
    4. In the WHEN-BUTTON-PRESSED trigger add : "client_host('cmd /c del c:\putty.log');"
    5. Attach webutil.pll removing the path
    6. Compiled Ok
    7. Executing the form returns the error mentioned above
    than
    8. Open webutil.olb object library from form builder
    9. Double click on the MAIN tab
    10. Drag the WEBUTIL object group under object groups node of my form subclassing it which added the following objects to my form:
    a) WEBUTIL_ERROR under alerts node
    b) WEBUTIL under data blocks node
    c) WEBUTIL_CANVAS under canvases node
    d) WEBUTIL under object groups node
    e) WEBUTIL_HIDDEN_WINDOW under windows node
    11. Compile OK
    12. Works
    Hope this helps,
    Alex

  • Client_host('cmd  edit c:\temp\file_print.txt'); not working with Sun JRE6

    Hi,
    I am working on Oracle forms10g ( 10.1.2.0) with Sun JRE6 (Using JRE version 1.6.0_31-b05) which is working fine. the only problem is, when I use edit command, its not working nor show any error. Command I am using (to display the text file in command window) - client_host('cmd edit c:\temp\file_print.txt'); . the same command working fine if I switch to JInitiator (1.3).
    help would be greatly appreciated.
    Thank you.
    Alok

    In the [webutil] section of the formsweb.cfg, did you change the baseHTMLjinitiator to point to webutiljpi.htm?
    not working nor show any error. Not all errors will be reported through the Forms UI. For java related errors you have to look at the Java Console. Please check the Java Console and post any errors listed there.
    the same command working fine if I switch to JInitiator (1.3).This tells me the problem is most likely a configuration issue. Please list what steps you took to congifure your system to use the JRE over the default Oracle Jinitiator.
    Craig...

  • Client_Host('copy ...not working

    Hi,
    Im using Webutil in a form. Client_Text_IO is first used to generate a file thro fopen.
    lc_file := c:\abc.txt
    However when i try to copy the same file into a destination it doesn't work.Im using
    Client_Host('copy'||lc_file||'lpt1',NO_SCREEN);
    The java console gives the the following msg.
    Setting property WUH_EXECUTION_MODE to 0
    Setting property WUH_EXECUTE to copy c:\abc.txt
    Getting property WUH_EXECUTE
    Setting property WUH_PROC_ID to 2
    Getting property WUH_RC
    Setting property WUH_CLEAR_PROC to 2
    Pl. suggest how to make the copy command work ?Where am I going wrong?
    Regds,
    Shruti.

    Shruti,
    when you call "copy c:\abc.txt lpt1" onthe command line, does it print the file as you are expecting?
    You can use set_property and get_property calls to obtain the command line error messages and messages. Maybe its here where you learb why its not working.
    Look up the documentation for
    WUH_PROC_ID
    WUH_STDOUT
    WUH_STDERR
    Frank

  • Client_Host does not working

    Dear all,
    I'm working on Win 7, DB 10g R2, and I need to use Client_host to open .pdf File by When_Button_Pressed, I'm useing -- CLIENT_HOST('cmd /c start '||'C:\File_Name.pdf') -- but there is no errors.
    In addition, I tried to use -- CLIENT_HOST('cmd /C "C:/Program Files/Internet Explorer/iexplore.exe" www.google.com') -- and it's not working too.
    Now,
    Is there any block from Win 7 for this code ?
    Regards
    Asem Hasan

    Asem Hasan,
    I'm useing -- CLIENT_HOST('cmd /c start '||'C:\File_Name.pdf') -- but there is no errors.You say you are not getting an error, but you most likely just not looking in the right place. Client_Host is a WebUtil function, so you will either see the error in the Java Console or you will receive a WU? or Non-Oracle exception. Make sure you open the Java Console (right click on the Java icon in the system tray and select Show Console from the context menu) to check for any errors.
    As I mentioned, the Client_Host fnction is part of WebUtil. Have you successfully configured WebUtil? If you haven't search the Forms Help system on "Configuring WebUtil" and print the "Configuring WebUtil" and "Runtime Setup Checklist" help topics. Use the checklist as you go through the Configuring WebUtil topic and complete each step.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Jul 25, 2011 7:52 AM

  • Not working Webutil configuration for linux

    I had configured webutil in linux server as per document. my basic cofiguration is
    OS - Linux redhad(4.0)
    Front End - Forms [32 Bit] Version 10.1.2.0.2
    Now i had created form in that form i m using webutil when on test button i m calling
    show_webutil_information (TRUE);
    It is showing all the webutil information
    But on another button i m calling
    v_ole_excel := client_ole2.create_obj ('Excel.Application');
    client_ole2.set_property (v_ole_excel, 'visible', 1);
    it is not working and after that none of the push button & menu is working in runtime form.
    So Please Guide us to resolve the problem.
    Thank's in anticipation,
    Regards,
    Ganesh Jadhav

    Loading TUI files in Linux it's an issue that we have recently discovered and it did not made it yet to the known issue list. I'm not 100% sure but I believe a workaround to that problem would be to go and manually edit that tui file and remove those attributes that generates errors. You can begin with  ATTR_TITLEBAR_STYLE and then look if one of the following are in the tui file: ATTR_DS_BIND_PLOT_STYLE, ATTR_DS_BIND_POINT_STYLE, ATTR_DS_BIND_LINE_STYLE, ATTR_DS_BIND_PLOT_COLOR and delete them. Then try to load the tui file again.
    On the other hand I think there is a workaround for your original problem: the predefined fonts (VAL_DIALOG_METAFONT) looks bad on Linux. I believe there is a way a user can change the underlying font and the size of a predefined font. In windows you can change it in the registry but in Linux you can define an environment variable: XAPPLRESDIR that points to a directory that should contain a file named cvi, a file where you can write font settings. Each line has to be of the following format: <appName>.<key>:<value>. If you want the settings you're writing to be persistent for all applications the put a "*"instead of the application name. 
    The list of possible key is: appFont (NIAppMetaFont), menuFont (NIMenuMetaFont), dialogFont (NIDialogMetaFont), e​ditorFont (NIEditorMetaFont), messageBoxFont (NIMe​ssageBoxMetaFont).
    The value have to be of the following form: <font family>-<font name>-<font size>
    Here is the only line I have in the cvi file: *.dialogFont : adobe-helvetica-19

Maybe you are looking for