Webutil client_text_io

Reading files with client_text_io (webutil) is 20 times slower as in forms 6i text_io(client - server).
What is wrong?

can i use Text_IO built-in to import data from Excel Sheets to Forms 6i provided that the forms is on a Forms 6i server with IIS. The web-forms do not support DDE or OLE packages, so can I use Text_IO instead of using these packages?
Grant please please throw some light on it as i'm new to developper 6i and very very clueless as the excel-to-form import is very critical to my project,
if possible, please provide me some ready-to-use codes,
thanks and regards,
arindam

Similar Messages

  • WebUtil Client_text_IO.fopen problem

    Hi,
    I tried to use WebUtil to read file. However, even the correct name is given, the Client_Text_IO.fopen would result in "file can not be openned" and lead back to the file open window again.
    Could you please help?
    Thanks a lot!
    John

    Hi,
    I tried to use WebUtil to read file. However, even the correct name is given, the Client_Text_IO.fopen would result in "file can not be openned" and lead back to the file open window again.
    Could you please help?
    Thanks a lot!
    John

  • Webutil - client_text_io.fopen

    Hi!
    I have a problem. My database charset is EE8ISO8859P2 (SELECT * FROM v$nls_parameters) and I use AS for 10g. I also installed webutil 1.0.6 and I call function client_text_io.fopen(p_file,'W','WINDOWS-1250'); When I write to file I use client_text_io.put_line(p_file,p_text). This file I write to is xml file.
    In variable p_text are letters like č, š, ž (Slovenian language), but when I look at the file I created there are no letters I mentioned above. Instead of č is blank, instead of š is a, etc.
    What should I do? I would like to solve this problem, without writing to AS (text_io) and then use transfer to client.
    Does anyone have solution for this problem. It's very urgent.
    Thanks.
    Bojan

    I'm just curious here as to why you should get this error at all. How come the upload directory does not exist. The only way I can see this happening is if you allow the end users to say where they want to upload to which is very dangerous. In any case, if the upload location may not exist then you might be wise to write some PL/SQL to check this before you even attempt the upload. A Simple Text_io call to write a test file in the directory in question will check that you a) Have the directory and b) can write to it.

  • ??? Arabic when using client_text_io webutil 10G R2

    Hi everyone,
    i am using A.S 10G R2, when using text_io to pull data fro database and write it to Text on the server, it gives the arabic correct without any corrupt, but when using webutil (client_text_io) the same scenario it gives a corrupt Arabic(question marks).
    i've cleared the Java cash and checked for NLS and fonts with the same results, is there any other config should be done on the A.S or on the webutil configuration??
    Thanks a lot

    well, it already set properly since I am getting the data as it stored in forms and reports (correct display), so what do you think? Is there some other issues should be investigated
    Thanks guys for the great help

  • Webutil Creating file on Client issue

    we are planning to us webutil. But when writing file to client is ok for us to write 50 lines but as we write more lines to file on client run success fully but file remains empty nothing written to file. and next call to use of webutil functionality forms hangs. and we have to kill browser to get back browser.
    Is there any parameter in webutil configuration that control size of file to written on client.
    Creating file and then transferring works great

    I was having the same problem as the original poster: Using WebUtil.client_text_io to write a file to the client that had more than a handful of lines. The file would appear on the disk, but the file size stayed at 0. It did not appear to throw an error, but the next time a WebUtil call was made, the entire client hung and became non-responsive.
    I tried your suggestion below, where the file is written on the server and transferred to the client using the WebUtil file transfer ability. It worked great, and it is fast. Thanks!
    --Tara                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Telephone terminal

    the out call is write to exteranl file i want to read this data and insert it to table in data base
    can i find the help

    Depending on the size and location of the file:
    - use file as EXTERNAL TABLE or load it with SQL*Loader (file on DB-server)
    - use TEXT_IO (file on AppServer)
    - use WEBUTIL.CLIENT_TEXT_IO (file on client)
    Use the last option only if it's a small file, because it's a slow option....

  • Forms9i-Webutil : problem with CLIENT_TEXT_IO

    hello,
    This is a small function to create a local file whith CLIENT_TEXT_IO
    Forms 9i
    JInitiator: Version 1.3.1.13
    Utilisation de la version JRE 1.3.1.13-internal Java HotSpot(TM) Client VM
    Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\degrelle
    Configuration du proxy : aucun proxy
    JAR cache enabled
    Location: C:\Documents and Settings\degrelle\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    when the cursor is about ten lines, all is OK,
    but when the cursor is about 100 lines, the Forms application become out of order !
    in the java console, nothing is display after the WUF[getProperty()] Getting property WUF_TEXTIO_OPEN line
    PROCEDURE export_texte IS
    LF$File CLIENT_TEXT_IO.FILE_TYPE;
    LC$Name Varchar2(100) ;
    LC$Fic Varchar2(100) ;
    Cursor EMISSIONS IS
    Select
    REGION,
    DATE_HEURE_PRESSE,
    TITRE,
    CHAPEAU
    From
    EMISSIONS_REGIONS
    Where
    DATE_HEURE_PRESSE Between :CONTROL.DATE_DEB and :CONTROL.DATE_FIN
    order by
         region,
         date_heure_presse
    LC$Old_region EMISSIONS_REGIONS.REGION%Type := 'X' ;
    BEGIN
    LC$Name := To_char( :CONTROL.DATE_DEB, 'DAY' ) || ' HEBDO ' || Ltrim( :PARAMETER.HEB_NUMERO ) || '.txt' ;
    LC$Fic := WEBUTIL_FILE.FILE_OPEN_DIALOG
         'D:\',
         LC$Name,
         'Sélectionner un fichier'
    If LC$Name is null Then
    Return ;
    End if ;
    LF$File := CLIENT_TEXT_IO.FOPEN(LC$Fic, 'W');
    CLIENT_TEXT_IO.PUT_LINE( LF$File, 'les magazines et documentaires de votre région' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, To_char( :CONTROL.DATE_DEB, 'FMDay DD Month' ) ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, '' ) ;
    For C_EMS in EMISSIONS Loop
    If C_EMS.region <> LC$Old_region Then
    CLIENT_TEXT_IO.PUT_LINE( LF$File, '' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.region ) ;
    LC$Old_region := C_EMS.region ;
    End if ;
    CLIENT_TEXT_IO.PUT( LF$File, To_char( C_EMS.date_heure_presse, 'HH24"h"MI' ) ) ;
    CLIENT_TEXT_IO.PUT( LF$File, ' ' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.titre ) ;
    If C_EMS.chapeau is not null Then
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.chapeau ) ;
    end if ;
    End loop ;
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;
    END;
    2004-sept.-09 15:05:08.121 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2004-sept.-09 15:05:08.215 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:08.231 WUT[loadSettings()] Local properties file loaded
    2004-sept.-09 15:05:08.278 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2004-sept.-09 15:05:08.371 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:08.418 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2004-sept.-09 15:05:08.528 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:13.543 WUF[setProperty()] Setting property WUF_GFN_DIRNAME to D:\
    2004-sept.-09 15:05:13.637 WUF[setProperty()] Setting property WUF_FILENAME to SAMEDI HEBDO 37.txt
    2004-sept.-09 15:05:13.637 WUF[setProperty()] Setting property WUF_FILTER to false
    2004-sept.-09 15:05:13.746 WUF[setProperty()] Setting property WUF_GFN_MESSAGE to Sélectionner un fichier
    2004-sept.-09 15:05:13.840 WUF[setProperty()] Setting property WUF_GFN_MULTISELECT to FALSE
    2004-sept.-09 15:05:13.840 WUF[getProperty()] Getting property WUF_GFN_OPENFILE
    2004-sept.-09 15:05:17.621 WUF[setProperty()] Setting property WUF_FILENAME to D:\SAMEDI HEBDO 37.txt
    2004-sept.-09 15:05:17.621 WUF[setProperty()] Setting property WUF_TEXTIO_FILEMODE to W
    2004-sept.-09 15:05:17.621 WUF[getProperty()] Getting property WUF_TEXTIO_OPEN
    *** !!!-- the console stop display at this point when the function write more than 10 lines !!! ***
    2004-sept.-09 15:05:20.278 WUF[setProperty()] Setting property WUF_TEXTIO_HANDLE to 1
    2004-sept.-09 15:05:20.387 WUF[setProperty()] Setting property WUF_TEXTIO_PUT to 19/20 édition des régions et des locales
    2004-sept.-09 15:05:20.481 WUF[setProperty()] Setting property WUF_TEXTIO_NEWLINE to 1
    2004-sept.-09 15:05:20.575 WUF[setProperty()] Setting property WUF_TEXTIO_CLOSE to 1
    2004-sept.-09 15:05:56.840 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed..
    2004-sept.-09 15:05:56.840 WUI[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed..
    2004-sept.-09 15:05:56.840 WUF[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed..
    2004-sept.-09 15:05:56.840 WUH[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed..
    2004-sept.-09 15:05:56.856 WUS[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed..
    2004-sept.-09 15:05:56.856 WUT[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed..
    2004-sept.-09 15:05:56.856 WUO[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed..
    2004-sept.-09 15:05:56.856 WUL[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:57.106 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..
    2004-sept.-09 15:05:57.106 WUB[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    *** this is OK when the cursor is about only ten lines ***
    any idea ?

    CORRECTION :
    the problem occurs after the FCLOSE() statment.
    so in all cases, the file is created on the client machine and it is correct (but very slow; about 30 seconds to create a 1008 bytes file with 80 lines !).
    it is just when the cursor is about 50 lines that the Forms application is space out.
    it seems to be the Clean() statments that are not applyed.

  • WebUtil Using Client_Text_IO with Japanese chars

    Hi, I am trying to use Client_Text_IO to read text file with Japanese characters in it. But it seems like Client_Text_IO can't read Japanese chars properly. Can anyone tell me how to use Client_Text_IO with double byte
    chars like Japanese?
    Thanks in advance for any help.
    Tad Teramoto

    Hi Frank,
    Thank you for your reply. Could you be a bit more specific about what this bug 3075927 really is? Is this a problem only in handling files with muli-byte chars or does it have an effect on other functions? And is there any workaround for it?
    Thanks

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

  • Client_text_io does not write the file but does create it.

    Hello there!
    I have a form which generates a .txt file using client_text_io webutil function.
    this is the procedure:
    PROCEDURE CREA_FILE IS
    MYFILE CLIENT_TEXT_IO.FILE_TYPE;
    OUTFILE CLIENT_TEXT_IO.FILE_TYPE;
    MFILE VARCHAR2(1000);
    MLINE VARCHAR2(5000);
    RESP NUMBER;
    BEGIN
    MLINE:='LINE TO WRITE...';
    MFILE := C:\test.txt;
    OUTFILE := CLIENT_TEXT_IO.FOPEN(MFILE,'w');
    CLIENT_TEXT_IO.put_line(OUTFILE, MLINE || ' 123');
    CLIENT_TEXT_IO.Fclose(OUTFILE);
    EXCEPTION
         WHEN OTHERS THEN
         CLIENT_TEXT_IO.Fclose(MYFILE);
         message('ERROR: '||SQLERRM);
    END;
    It works on OAS 10g + forms 10g. the file is created fine, BUT I have tried with forms 11g unsuccessful.
    My forms 11g are running under weblogic and the RedHat server.
    Im running the forms app from my laptop Windows XP.
    I configured webutil as the MOS note said, the thing is, the file is created, but no data is writted.
    I can open the file test.txt but the line I tried to print is not there, the same thing with 10g and the file is good.
    help me please.

    What are you doing after writing to the file? Are you leaving the form? Forms performs event bundling when sending data over to java beans;
    v_FILE_HANDLE := CLIENT_TEXT_IO.FOPEN (FPATH, 'W'); most certainly uses get_custom_property at the end to retrieve the file handle from the bean which will cause a "synchronize" as data must be retrieved from the bean before continuing in the PL/SQL code whereas
    CLIENT_TEXT_IO.Put_line(v_FILE_HANDLE,v_string_prov);
    CLIENT_TEXT_IO.FCLOSE (v_FILE_HANDLE); most certainly uses set_custom_property which is a one-way street and data is bundled up and sent as one package. If you have e.g. a exit_form right after those calls there is a chance that forms waits for some other data to be sent over to the bean but won't send it, as the form doesn't exist anymore after the exit_form. The same would happen if you'd do a
    v_FILE_HANDLE := CLIENT_TEXT_IO.FOPEN (FPATH, 'R');
    CLIENT_TEXT_IO.FCLOSE (v_FILE_HANDLE); right after writing your form as fopen will cause the sync (with the possibility that java will still hold a file lock on the file as the fclose method won't be called).
    cheers

  • How to use CLIENT_TEXT_IO more fast?

    Hello,
    I'm using new features for Forms 10g like WebUtil, but I can't fine work with file manipulation - CLIENT_TEXT_IO.
    The loading of the text file with 7mb size, delay 15-30 minutes, is not good.
    I like know one other way for this works more fast, anybody help me?
    I tried using Java for replace WebUtil commands (CLIENT_TEXT_IO), but, my java class, works as a client program. I accept others forms to resolve this problem, but, I look for solutions using WebUtil, if is possible.
    Thanks in advanced.

    It seems the implementation of CLIENT_TEXT_IO is not optimal, refer to the webutil manual for performance improvement.
    http://www.oracle.com/technology/products/forms/htdocs/webutil/web_util.pdf - page 6-1.
    Use functions in an efficient manner. For instance if you need to read a text file on
    the client computer, it will probably be more efficient to transfer the file to the
    users’s work area using WebUtil_File_Transfer and then read it with normal
    TEXT_IO, rather than reading it line by line across the network

  • WU_TEST_106 , client_text_io not working

    I tried the demo webutil software, all the components are working except the client_text_io , which is on the second tab, writing to a text file from the screen.
    Reference data from Java Console
    Loading http://hostmachine:8889/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://hostmachine:8889/forms90/java/frmwebutil.jar from JAR cache
    Loading http://hostmachine:8889/forms90/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.0
    java.lang.NullPointerException
    at sun.io.Converters.getConverterClass(Unknown Source)
    at sun.io.Converters.newConverter(Unknown Source)
    at sun.io.CharToByteConverter.getConverter(Unknown Source)
    at java.io.OutputStreamWriter.<init>(Unknown Source)
    at oracle.forms.webutil.file.FileFunctions.fopen(FileFunctions.java:434)
    at oracle.forms.webutil.file.FileFunctions.getProperty(FileFunctions.java:188)
    at oracle.forms.handler.UICommon.onGet(Unknown Source)
    at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
    at oracle.forms.engine.Runform.processMessage(Unknown Source)
    at oracle.forms.engine.Runform.processSet(Unknown Source)
    at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
    at oracle.forms.engine.Runform.onMessage(Unknown Source)
    at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.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)
    2006-Jan-26 15:38:30.648 ERROR>WUC-15 [FileFunctions.fopen()] Unexpected error, Exception: java.lang.NullPointerException

    I have replaced them with the webutil1.06 pll,plx and then attched them to my form.
    and work fine
    Clovis Baldin

  • Client_text_io.fopen causes java.lang.NullPointerException

    Hi all
    I have the following very simple snippet of code:
    declare
         f client_text_io.file_type;
    begin
         f := client_text_io.fopen('C:\test.txt', 'r');
    end;
    If "C:\Test.txt" does NOT exist on the client, Webutil correctly pops up and complains "Can't open file" etc. But... when the file actually exists and is ready to be opened for read, the following exception is thrown in the console, and nothing happens:
    java.lang.NullPointerException: charsetName
         at java.io.InputStreamReader.<init>(Unknown Source)
         at oracle.forms.webutil.file.FileFunctions.fopen(Unknown Source)
         at oracle.forms.webutil.file.FileFunctions.getProperty(Unknown Source)
         at oracle.forms.handler.UICommon.onGet(Unknown Source)
         at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    2006-feb-23 10:36:18.653 ERROR>WUC-15 [FileFunctions.fopen()] Uventet fejl, undtagelse: java.lang.NullPointerException: charsetName
    I have no idea, what goes wrong here.... can anyone help? I use Sun JPI 1.5 on the client.
    Thanks in advance.

    Hi all
    I have forms 9.0.4.6 and Webutil 1.0.6
    When I use client_text_io.fopen like this:
    declare
    f client_text_io.file_type;
    begin
    f := client_text_io.fopen('C:\test.txt', 'r');
    end;
    I get an error:
    ERROR>WUC-15 [FileFunctions.fopen()] Unexpected error, Exception: java.lang.NullPointerException
    java.lang.NullPointerException
         at sun.io.Converters.getConverterClass(Unknown Source)
         at sun.io.Converters.newConverter(Unknown Source)
         at sun.io.ByteToCharConverter.getConverter(Unknown Source)
         at java.io.InputStreamReader.<init>(Unknown Source)
         at oracle.forms.webutil.file.FileFunctions.fopen(FileFunctions.java:413)
         at oracle.forms.webutil.file.FileFunctions.getProperty(FileFunctions.java:188)
         at oracle.forms.handler.UICommon.onGet(Unknown Source)
         at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Could anybody help me? I really need to use this.

  • CLIENT_TEXT_IO : cannot insert new line into a text file

    Facts:
    Developer 10g
    AS 10g
    Web utility
    Problem:
    i am traying to
    Open a text file. using CLIENT_TEXT_IO.FOPEN
    insert a record in to a text file using CLIENT_TEXT_IO.PUTF
    insert a new line using chr(10) or CLIENT_TEXT_IO.NEW_LINE
    or CLIENT_TEXT_IO.put_line
    insert the next record
    Close the file.
    all work except insert a new line
    Why !!!
    it was Working fine in 6i, but now in 10g and Webutil is not working
    plz help

    Hi you can put a new line in a text file using System.getProperty("line.separator"). This implementation will work for every OS.
    import java.io.*;
    class Demo{
    public static void main(String args[]) throws Exception {
    FileWriter fr = new FileWriter("FileDemo.txt");
         fr.write("AAAAAAAAAA");
    fr.write(System.getProperty("line.separator"));
    fr.write("AAAAAAAAAAA");
    fr.close();
    }

  • CLIENT_TEXT_IO.fopen will not work Error

    I keep getting the following -
    WebUtil Error: oracle.forms.webutil.file.FileFunctions bean not found. CLIENT_TEXT_IO.fopen will not work.
    Nothing I have found on any forum threads has helped me resolve this issue. I believe it has to do w/ configuration. The error occurs in my Development Suite environment I have set up on my laptop. The webutil set up on the Application Server seems to be fine.
    I've checked both default.env and formsweb.cfg and both seem to be set correctly. I have the webutil.pll attached to the forms and the webutil.olb in the object library.
    I'm using WebUtil 1.0.6 on Oracle 10g (9.0.4).
    If anyone has any guidance on this issue, your help is appreciated.

    The error isn't obvious. The Java Console outputs the following. I went through the webutil docs again and still didn't get the issue resolved. Can you help?
    Oracle JInitiator: Version 1.3.1.17
    Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\localadmin
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\localadmin\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    Loading http://server.domain.com:8889/forms90/java/f90all_jinit.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.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)
         at java.lang.Thread.run(Unknown Source)

Maybe you are looking for

  • Download file from URL using ADF (urgent help required)

    We have the following requirement: On clicking a button we need to download the file present at a particular location(we have the URL). I have written the following in .jspx file : <af:commandButton  id="btn1" >                     <af:fileDownloadAc

  • Outlook connector - sending mail to alias'es doesn't work ...

    Hi, We are using JES5 with the latest outlook connector (7.2.402.1) The user accounts have mailalternateaddress entries that consist of their initials. ([email protected]) the uid is the same as their initials (ie uid=hda) the main 'mail' attribute i

  • Witcher 3 weight help please

    I have several items that weigh 0.24.  I assume that adds up to a  percent of a pound right?.    But when i sell, or drop seven 0.24 items my weight stays at 75.   My limit is 160.      Then i thought maybe its based on a ounce  scale.   So i sold  4

  • Unemployed idiot has a few misc web page questions.

    Please look at my web page. http://web.mac.com/chg1000 I would like to know..... -can "slideshow" button be moved?, (its kinda in the middle of everything). -can page titles be moved? -also, my last page is a different subject, can this text color be

  • IdeaCentre B540 Profile won't load

    We currently have three profile accounts on our IdeaCentre, and after one year, my personal one just stopped loading.  I get this error message: The User Profile Service failed the logon. User profile cannot be loaded. It is a bit concerning since th