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.

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

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

  • ORA-302000 Error On client_text_io.fopen()

    i am using a webutil library - client_text_io.fopen() on the form that was compiled on 10.1.2.3 version and this webutil_file.file_selection_dialog() built-in package. the webutil_file.file_selection_dialog() works but not the client_text_io.fopen(). when the form is run on the application server it is getting this error ORA-302000.
    PROCEDURE prc_load_proj_alloc_data IS
      vFilename             VARCHAR2(100) := :control.drv_filename;
      vInputFile             client_text_io.FILE_TYPE;
      vLinebuf               VARCHAR2(2000);
      vCommaPosition     NUMBER := 0;
      TYPE                array_type IS VARRAY(10) OF VARCHAR2(100);
      vColumn            array_type := array_type('');
      vCtr                  BINARY_INTEGER := 1;
      vRowCtr            number := 0;
      vLineLoadCnt     number := 0;
    begin
      -- cursor must be placed on the block
      go_block('MRC_PROJ_ALLOC_INTERFACE');
      go_item('MRC_PROJ_ALLOC_INTERFACE.ATTRIBUTE1'); 
      --extend and initialize the array to 9 columns
      vColumn.EXTEND(9,1);
      -- open the file for reading
      begin
        vInputFile := client_text_io.fopen(vFilename,'r');
      exception
           when others then
             alertme('note','SQLCODE '||SQLCODE);
             if SQLCODE = -302000 then
                  alertme('note',errtyp||'-'||TO_CHAR(errnum)||': '||errtxt);
            loop
              alertme('note',TO_CHAR(TOOL_ERR.CODE) || ': ' || TOOL_ERR.MESSAGE);
              TOOL_ERR.POP;
              exit when TOOL_ERR.NERRORS = 0;
            end loop;
          end if;
      end;
    end;
        the file that i am trying to read is in csv format and is not currently in use. i tried any other file from my local C:\ or D:\ drive and i am getting the same error. what could possiblly that i am missing? thanks.

    we figured it out that the cause of issue was that the webutil.plx was on our application executable directory. basically we have the webutil.plx on a common directory applicable to other application and when we removed the webutil.plx on our application directory the ORA-302000 error was solved.

  • Error WUC-14 after open a File with CLIENT_TEXT_IO.FOPEN (Oracle 10g)

    Hi,
    the error WUC-14 occurs during open a file with forms10g.
    F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
    Afterwards the error message it ist possible to write into the file and close it correctyl (without am error message - also the Information is correkt).
    During debugging the error occurs in the function GETPROPERTY (Webutil).
    the error occurs only sometimes.
    Can anybody help me to solve the problem ?
    best regards,
    Alexandra Schermann

    Hi Alexandra,
    You can catch the exception in Exceptions part and close the file. Something like,
    DECLARE
    F_VersandZahlen CLIENT_TEXT_IO.FILE_TYPE;
    BEGIN
    F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
    <do your processing>
    EXCEPTION
      WHEN OTHERS THEN
       CLIENT_TEXT_IO.FCLOSE(F_VersandZahlen);
    END;-Arun

  • FRM-92101 client_Text_IO.Fopen Urgent

    FRM-92101 client_Text_IO.Fopen
    Posted: Sep 22, 2006 1:25 AM Reply
    Hello
    Following OAS was installed:
    · Oracle Application Server 10g Release 1 (9.0.4.0.0)
    · Oracle Application Server Patchset 3 for OAS 9.0.4, therefore the actual
    I have a problem
    when I try to start my application who create a text file on the client site my application crash. client_Text_IO.Fopen (webutil)
    This is the code line where the application crash.
    l_out_file := client_Text_IO.Fopen(fname, 'W');
    Thanks in advance for your help.
    Best regards
    Sébastien
    The Oracle Error is FRM-92101
    La version Forms Applet est : 9.0.4.3
    oracle.forms.net.ConnectionException: Forms session <448> aborted: unable to communicate with 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.StreamMessageWriter.run(Unknown Source)
    java.io.EOFException
    at java.io.DataInputStream.readUnsignedByte(Unknown Source)
    at oracle.forms.engine.Message.readDetails(Unknown Source)
    at oracle.forms.engine.Message.readDetails(Unknown Source)
    at oracle.forms.net.StreamMessageReader.run(Unknown Source)

    Are you sure you have properly installed and configured webutil?

  • Error WUC-14 after CLIENT_TEXT_IO.FOPEN

    Hi,
    the error WUC-14 occurs during open a file with forms10g.
    F_VersandZahlen := CLIENT_TEXT_IO.FOPEN (F_Dateiname,'w');
    Afterwards the error message it ist possible to write into the file and close it correctyl (without am error message - also the Information is correkt).
    During debugging the error occurs in the function GETPROPERTY (Webutil).
    the error occurs only sometimes.
    Can anybody help me to solve the problem ?
    best regards,
    Alexandra Schermann

    Sounds like an Oracle Forms question... there is a dedicated forum for Forms. Maybe answer your question there.
    Forms
    Edited by: Alex Nuijten on Oct 27, 2009 11:08 AM

  • How to use Linux Print queue in client_text_io.fopen to print from Windows

    We have a forms application deploed on LINUX (Oracle application server 10g).
    I have to print a file from local windows PC to a linux Print Queue from forms
    I have the following code
    PROCEDURE file_to_printer (i_filename_output IN VARCHAR2
    ,i_network_printer IN VARCHAR2) IS
    l_line VARCHAR2(2000);
    l_fileid_output client_text_io.file_type;
    l_fileid_print client_text_io.file_type;
    BEGIN
    l_fileid_output := client_text_io.fopen (i_filename_output,'R');
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    WHILE 1 = 1 LOOP
    client_text_io.get_line (l_fileid_output, l_line);
    client_text_io.put_line (l_fileid_print, l_line);
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    client_text_io.fclose (l_fileid_output);
    client_text_io.fclose (l_fileid_print);
    END file_to_printer;
    Everything works fine if I use a windows printer like \\machine\printer.
    I want to use a Linux printer and specified the print queue as
    \\machine\print_queue_name. It's not working
    and I get error ORA-302000 on the following line
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    and if I give only the queue name no error but it's not printing.
    Could you please tell me how to use a Linux/Unix print queue in this situation

    the simplest way is to edit the interface file (look in /etc/lp/interfaces for existing printers). Each script is
    run per print job where stdin has your print data, and stdout is going to your print device. You can just
    send the output to a file instead (assuming you can create a file in the windows directory from the solaris
    box). If it's a network share, you could use smbclient.
    -r

  • Using CLIENT_TEXT_IO.FOPEN Path ??

    Using CLIENT_TEXT_IO.FOPEN exam
    CLIENT_TEXT_IO.FOPEN('c:\temp\head.txt');
    if Use CLIENT_TEXT_IO.FOPEN('c:\temp\head.txt'); don't specify c:\temp
    how to set path don't spicify 'c:\temp\
    thank you

    So far everyone is right... it is unclear what you want. Let's try this. If you are trying to write a file to a user's temp directory and would like to not have to hard code the path, you could use the system set temp value. Simply get the path first then add it to your file name.
    -- This will return the client "TEMP" directory, which in most cases will be %USERPROFILE%\Local Settings\Temp
    temp := CLIENT_WIN_API_ENVIRONMENT.GET_TEMP_DIRECTORY;With that in place you should then be able do this:
    temp := CLIENT_WIN_API_ENVIRONMENT.GET_TEMP_DIRECTORY;
    CLIENT_TEXT_IO.FOPEN(temp || '\head.txt');

  • Client_text_io.fopen question

    Hello,
    I have a question regarding to client_text_io.fopen.
    If i have:
    fisier_ctl CLIENT_TEXT_IO.FILE_TYPE;
    fisier_ctl := CLIENT_TEXT_IO.FOPEN('tmp.ctl', 'w');Then where should be located this tmp.ctl exactly? For example, i have one in the current folder (where are also my .fmb and .fmx file) but it does not write to this file. So, where should be located?
    Thanks

    You can specify the full path to the file as Francois suggests or you can let your user choose by opening a File Open Dialog.
    DECLARE
      v_fname VARCHAR2(250);
    BEGIN
      v_fName := WebUtil_File.File_Open_Dialog(
                directory_name => 'C:\'
               ,File_Filter => null
               ,Title => 'Select Client filename to Open.'
    END;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 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

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

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

  • 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

Maybe you are looking for

  • Macbook Pro does not boot after replacing HD

    I have a Macbook Pro that I bought in early 2007. It came with 10.4, and I have since upgraded to 10.5, and then 10.6. I decided to upgrade the original internal HD to a 500GB HD. I used Time Machine to back up the orignal HD. After performing the su

  • Wi-fi connection

    I am trying to connect to my home wireless router.  When I put in the password for the router, my phone just blinks back & forth that it is trying to connect.  My husband's phone has not problem connecting and I am wondering if there is a problem wit

  • How to enlarge printing of message type on emails. point size to read easier when printing on my printer.

    To print larger print size on paper then what originally prints out. Type size to small to read when printing out now.

  • Problem with import of AVi file

    I have bought a cheap video camera Creative Vado. I can copy film file in AVI to my computer . I can see the file, but I can`t import it in iMovie. Can someone help me - I will be greatful!

  • Problem with NetBeans IDE 5

    Hi All, I' m using NetBeans IDE 5 . Present my IDE works fine with J2SE. I would like to work with Servlets. There is an error while using servlet classes. Is this Installing problem ? or am i add servlet.jar for NetBeans IDE 5? Plase any one help me