WEBUTIL_FILE_TRANSFER.AS_To_Client not working

Hi all,
server : win2008 R2 64 bit
fmw : 11.1.1.4
when we try to copy a file from AS to client, we get non-oracle exception 105101
after searching this forum I added the following exception handler:
exception
     --check for ORA-105100
     when ORA_JAVA.JAVA_ERROR then
       message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
     --check for ORA-105101
     when ORA_JAVA.EXCEPTION_THROWN then
       raisedException := exception_.new(ORA_JAVA.LAST_EXCEPTION);
          begin
            message('Exception: '||Exception_.toString(raisedException));
            message('Exception: '||Exception_.toString(raisedException));
            :javaerror := Exception_.toString(raisedException);
          exception
            when ORA_JAVA.JAVA_ERROR then
              message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
          end;this gives us the following error :
java.lang.Exception: java.lang.NoClassDefFoundError: oracle/forms/webutil/fileTransfer/AppServerFileReadernumerous people have searched all config files (webutil.cfg,...)
webutil_is_as_readable for the file on the server returns true
nothing found on google/metalink
Kr
Martin

Hi all,
some ... person copied frmwebutil.jar from another server
with a different version
solved

Similar Messages

  • Webutil_file_transfer.AS_To_client

    Hello,
    The webutil_file_transfer.AS_To_client only works in ascii mode. Therefore on Unix we add the command unix2dos to workaround this problem.
    The code is as follows:
    if upper(get_application_property(operating_system))
    not like '%WIN%'
    then
    host('unix2dos '||g_ap_directory||g_file_name
    ||' '||g_ap_directory||g_file_name);
    end if;
    if not webutil_file_transfer.AS_To_Client
    ( user_preferences.get_output_directory||g_file_name
    , g_ap_directory||g_file_name
    then
    end if;      
    This works fine the first time the code is executed. The second time the code fails. The unix2dos does not do the job. When we do not do the file transfer it does work ok.
    Looks like the webutil_file_transfer.AS_To_Client prevents other actions on the AS.
    Any ideas?
    Regards Erik

    You may need to clear your variables and find some way to reset everything after the function is complete. That would be my first guess. Nothing is jumping out at me from the code at the moment.

  • Problem with webutil_file_transfer.as_to_client

    Hi all,
    I am migrating some Forms/Reports from 6i to 10g, well, when i make a report sometimes i want to save some of those reports from server to client.
    For doing this i am using the WEBUTIL functinality with webutil_file_transfer.as_to_client.
    this works fine with some reports but doesn't work with other ones, but the problem is that no error appers, it just doesn't write the report, so i don't know what is the problem
    thx in advance.

    Hi Michael,
    I have found what it's the problem.
    As i said i am upgrading reports from 6i to 10g,
    when i run the report in 6i, the report is generated always with data, for example, if the result of the query is nothing, the report is created with the date, name of the report, and some other information that appears in all of my reports by default, so the report is created and then transferred.
    when i run the report in 10g, and the result of the query takes back some data, the report is created in the the server and then transferred properly, but when i create the report as a txt file, it's created without the default data, i don't know why, but those data doesn't appears, but only in .txt files, it works perfectly with .pdf file.
    So the problem comes when the user run's a report with no query result, then in the OracleAS it says it's has been created, but as it's empty, it doesn't tranfer the file to the client machine.
    It's a very strange thing, i don't understand why in 6i it adds the default data to the report, and in 10g it doesn't add that default data...
    P.S: As my english is not very good, when i say default data, i mean eveything that is not returned with the querys of the report, for example the date, the name of the report...
    Do you guys have any idea of why this could happen only with txt files?
    thx for your time!

  • WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work

    oracle.forms.webutil.file Transfer.File Transfer bean not found.
    WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work.
    while loading image from client machine through foms 10g in a three tier environement ,i am getting this error.can anyone help me with solution of above error.

    Please refer your other thread:
    about webutil error
    Posted: Jul 29, 2006 7:31 AM
    Message was edited by:
    Raja M

  • Bean not found. WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work

    Hi -
    I am installing WEBUTIL and trying to configure according to documentation. I get the following error.
    What I noticed, here is
    1. JACOB.jar and frmwebutil.jsr are not being loaded
    2. I do not see any certificates got created in Jinitiator - Where do I see it is created and if not where do I see the errors while creation.
    Any help from any one is really appreciated.
    Loading http://xp0100691.stpete.hsn.net:8890/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)
    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)
    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)
    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)
    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)
    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)
    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)
    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)

    Hi -
    Webutil.jar is with older version. Now it goes with frmwebutil.jar.
    It is working now, I opened a TAR with Oracle and that was helpful.
    From Oracle:
    This issue can have various causes.
    1) Lack of olb at compile time
    The Note 270940.1 Oracle Forms WebUtil : Technical FAQ mentions the following
    lead:
    Ensure that the FMX was generated with no error messages. E.g. if webutil.olb
    is not on FORMS_PATH, the error message could be overlooked even though the FMX
    is generated.
    2) Lack of jar at runtime
    normally using config=webutil allows to have archive=....,frmwebutil.jar,...
    so should not be the case here
    3. Lack of bean in custom form A custom form should have followed a step such as
    Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
    ( as mentioned in step 9 of Note 333385.1 Kickstarting WebUtil 1.06 in
    Developer Suite 10.1.2.0.2 on Windows )
    4. If the error continues, please download the webutil test form WU_TEST_106.FMB fro
    m:
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm = >
    Webutil Demo
    or directly from:
    http://otn.oracle.com/products/forms/htdocs/webutil/Webutil_demo.zip
    5. generate the fmx ( ensuring the webutil.olb and webutil.pll are in the
    FORMS_PATH )
    6. Make sure that when called WEBUTIL in a new-form-instance-trigger when the bean is registered, otherwise, this error will
    arise.
    From Me:
    1. Form compiled correctly with no errors. However, FORMS90_PATH is not set with
    webutil.olb and webutil.pll. So I went added in FORMS90_PATH.
    2. Don't see any issues with config=webutil, archive=frmwebutil.jar, jacob.jar
    3. I did subclass the pll. Don't see any issues.
    4. I recompiled and tested, still gets the same error.
    5. I went downloaded the demo form WU_TEST_106.FMB
    6. I compiled and reran the form, got an error saying no attached libraries found.
    So I went and renamed webutil.pll to webutil_lib.pll. Reattached to the
    forms.
    7. No I get an different error.
    Oracle.forms.webutil.clientinfo.GetClientInfo bean not found.
    WEBUTIL.CLIENTINFO.GET_SYSTEM_PROPERTY will not work
    This was resolved my changing the URL to
    http://Host:8890/forms90/f90servlet?form=WU_TEST_106&config=webutil
    Thanks for your support.
    Thank You,
    Prashant

  • Webutil_file_transfer.as_to_client  WUT-121 error?!

    I am trying to transfer a .csv file (22k) from my Apps Server using webutil_file_transfer.as_to_client('c:\temp/','c:\epsis/reports/serv.csv') command.
    I have amended my webutil.cfg to allow file transfers and other webutil functions work fine so I am presuming the install is good.
    I continue to get the WUT-121 error but don't understand why. Any suggestions?

    To transfer from the App Server to another machine, you have several options:
    1. Use the HOST command. This may be difficult depending on the server's platform and security configuration. If Windows, by default the process (Forms) will not have permission to access network resources (i.e. mapped/shared drives). You will need to refer to the Microsoft documentation in order to overcome these restrictions.
    2. Use HOST to execute a ftp connection for transferring the file. Of course the remote machine must support ftp. If you have access to "My Oracle Support", see note 110531.1
    3. Create a java class which could be imported into the form that can perform this task. Refer to the Forms Java Importer documentation for information about importing java for server side execution. Also, here is a starting place for the java information:
    http://www.google.com/#&q=java+transfer+file

  • Problem reading file after using webutil_file_transfer.as_to_client

    Hi all,
    The Forms webapplication I'm working on has to talk with a cardreading-application on the client-PC. The communication is carried out by exchanging small files. Reading from the client by Forms on the AS goes well (using client_text_io from webutil). The problem arises when the application has to respond back with a file. The file is made on the AS and then transfered from the AS to the client using webutil_file_transfer.as_to_client. This file can not be read by the cardreading application when the AS is on Linux. Our developement AS server is on a Windows 2000 box and then the communication doesn't show this problem.
    If I open the file from the AS on Linux , I can see that there is only 1 long line. The Windows version of the file contains 2 lines (as it should be). It seems that before/during/after the transfer some special characters like carriage return and tab are causing the problem.
    Looking in web_file_transfer.as_to_client I see that the procedure reads lines from a temporary file into a buffer. The lines are separated by a CHR(10). Could the transfer from Linux to Windows(DOS) cause a problem with these characters ?
    Has anyone experienced this problem ? If someone has a clue this would be very welcome.
    We work with :
    - Forms and AS 10.1.2.0.2
    - Webutil 1.0.6
    - Development OS: Windows 2000 (Service Pack 4)
    - Production OS: Red Hat Enterprise Linux AS release 3 (Taroon Update 3)
    - Client-PC OS: Windows 2000 (Service Pack 4)
    Thanx,
    Enrico

    Without going into a long winded answer, the only thing I can really offer is to say this... If you feel as though your code has been correctly written and you simply cannot identify any other possible solution, add SYNCHRONIZE. In short, its execution acts similar to a reset or refresh button.
    Another common place where SYNCHRONIZE has been helpful is when calling RUN_REPORT_OBJECT. For example, if you use the code we offer in the Forms/Reports Integration document you will find that it works very well - most of the time. However, sometimes it fails for what seems to be unexplainable reasons. If you message out the values being assigned you will see that some variable values are not being set even though the code execution has already passed the point where a value should have been assigned. Adding the SYNCHRONIZE just after the point where the value should have been assigned forces the assignment before executing the next line of code. For example,
         v_rep := RUN_REPORT_OBJECT(repid);
         rep_status := report_object_status(v_rep);
    In the above code, a request for a report is made followed by a check of its status. At this point you would expect that the status would be something like one of the following:
         'RUNNING', 'OPENING_REPORT', 'ENQUEUED'
    However, we have seen instances where the value assigned to the variable would actually be NULL, which of course will make the rest of the code likely fail. By adding SYNCHRONIZE the problem is correctable.
         v_rep := RUN_REPORT_OBJECT(repid);
         rep_status := report_object_status(v_rep);
         SYNCHRONIZE;
    It is important to understand, however that using SYNCHRONIZE comes at a price. Each time it is executed a network round-trip occurs which will give the application the appearance of degraded performance. So use this built-in only when you know you must.

  • Problem using webutil_file_transfer.AS_to_Client

    I have configured webutil package successfully
    I have made the following configuration to webutil.cfg:
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    transfer.appsrv.accessControl=TRUE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    I have the following code:
    BEGIN
         IF NOT webutil_file_transfer.AS_to_Client('C:\temp\saad.pdf', 'C:\temp\saad.pdf') THEN
              message('Upload was not successful');
         ELSE
              message('Upload was successful');
         END IF;
    END;
    I always got "Upload was not successful" can any body tell me what the problem is ?

    Francois Degrelle wrote:
    - be sure that the first argument is the client machine file and the second the server file
    FRancois
    It is OK
    Francois Degrelle wrote:
    - at runtime, display the Java console to see if there is any error message
    FRancois
    No Errors
    Francois Degrelle wrote:
    - try another function in the Webutil_File_Transfert package
    FRancois
    I have tried client_to_db successfully

  • Error in WEBUTIL_FILE_TRANSFER.AS_To_Client  if client ip path provided

    Hi All,
    I am using forms Version 10.1.2.0.2 (Production)
    In my application i have to transfer the "test.tif" file stored in application server to fax client machine. I have used webutil for transfer with ip address of the fax client.
    x:=WEBUTIL_FILE_TRANSFER.AS_To_Client('\\10.10.10.33\fax\test.tif' , 'd:\temp.tif');
    But its giving the error
    *ERROR>WUT-131 [WEBUTIL_FILE_TRANSFER.DownloadInt] Invalid client file name 10.10.10.33\fax\test.tif. Cannot create client file.*
    the webutil config file have following details added
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=d:\temp
    transfer.appsrv.read.2=c:\temp
    transfer.appsrv.read.3=\\10.10.10.33\fax
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    transfer.appsrv.write.2=d:\temp
    transfer.appsrv.write.3=\\10.10.10.33\fax
    Can someone please provide me solution in which i can specify the ip path of client machine for file transfer.

    To transfer from the App Server to another machine, you have several options:
    1. Use the HOST command. This may be difficult depending on the server's platform and security configuration. If Windows, by default the process (Forms) will not have permission to access network resources (i.e. mapped/shared drives). You will need to refer to the Microsoft documentation in order to overcome these restrictions.
    2. Use HOST to execute a ftp connection for transferring the file. Of course the remote machine must support ftp. If you have access to "My Oracle Support", see note 110531.1
    3. Create a java class which could be imported into the form that can perform this task. Refer to the Forms Java Importer documentation for information about importing java for server side execution. Also, here is a starting place for the java information:
    http://www.google.com/#&q=java+transfer+file

  • Not work tablet UI on Prestigio 5080 PRO tablet

    I read that browser.ui.layout.tablet = "1" can fix this problem. But it not works. I can work only in pnone interface that is not good for my 8'' tablet.

    Would it be possible for you to share the problematic pdf and OS information  with us at [email protected] so that we may investigate?
    Thanks,
    Adobe Reader Team

  • Why self-defined access sequences of free goods can not work?

    Hi gurus,
    I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
    when i used the standard access sequences ,it is OK .
    Can anybody tell me why?
    thanks in advance

    Dear Sandy,
    Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
    Make sure that these fields are flowing in your sales order.
    I hope this will help you,
    Regards,
    Murali.

  • Adobe bridge raw not working with windows vista in photoshop cc, why?

    adobe bridge raw not working in photoshop cc, is there a fix?

    Your sure your using photoshop cc on windows vista?
    I was under the impression that photoshop cc would not even install on windows vista.
    What version of camera raw do you have?
    In photoshop under Help>About Plugin does it list Camera Raw and if so which version is it?
    (click on the words Camera Raw to see the version)
    Camera raw doesn't work if it's a camera raw file or some other file type such as jpeg or tif?
    What camera are the camera raw files from?
    Officially camera raw 8.3 is the latest version of camera raw that will work on windows vista.

  • Adobe Bridge CS5 in windows 7 not working?

    Adobe Bridge CS5 in windows 7 not working. I was using bridge perfectly for last 2 years. It stops working since 3 days. I tried to install updates. Showing some error to install.
    Tried to install creative cloud..again some error. Error code : 82
    Could you please advice how I can fix my adobe bridge.

    https://www.youtube.com/watch?v=xDYpTOoV81Q&feature=youtu.be
    please check this video I uploaded..this is what happens when I click adobe bridge.. just blinks and go off. bridge not working on task manager

  • ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    ADOBE CLOUD ON MY DESKTOP WILL NOT WORK. IT LOADS UP BUT NOTHING FILLS THE WINDOW

    BLANK Cloud Screen http://forums.adobe.com/message/5484303 may help
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • Partner application logoff not working

    We have a partner application registered with sso with custom login screen. The login works fine. We use the following code to logoff the partner application in logoff.jsp
    response.setHeader("Osso-Return-Url", "http://my.oracle.com" );
    response.sendError(470, "Oracle SSO");
    session.invalidate();
    but the logoff is not working properly. It is not invalidating the session and the logout http request is not going from the application server to the sso server.
    Are there any additional configurations for SSO logoff.Any help is appreciated.
    Thanks

    Hi
    The WF should also trigger if i add the Partner function in UI.If i change any Attribute the WF triggers but i dont want to change the attribute when i add the partner function.
    If i have only one event for WF that is Partner Change the WF will not trigger it for the 1st time when i save the UI. But next i come to the same saved doc and add a partner function then the Wf triggers.
    So this means that Partner change is active.
    the issue here is i need to trigger the WF on , the 1st time i save the UI, for which i wil be using Attribute Change and next time when i come back to saved doc the and add only the partner function and no changes are made to attributes the WF should again trigger.
    Thanks
    Tarmeem

Maybe you are looking for

  • Set List Manager Values

    I use a List Manager (based on Popup LOV) in a form. On submit, I insert the list manager values by creating a array using the wwv_flow_utilities.string_to_table function and inserting the values one by one in a loop. I would need to be able to set t

  • I want to delete all transparent pixels, how can I? CS6

    I would like to delete all transparent pixels surrounding my irregularly (non-square) image.  The TRIM function only trims to a square surrounding my image and not to the edge of the image itself.  Is there a work around for this?  I have looked arou

  • How to transfer game center data

    Hi does anyone who plays Pocket Gems Paradise Cove on ipad or iphone know how i can get the progress copyed to my mac now that they put the game out for osx i would like to play it there but would hate to have to start all over at the begining

  • Syncing with Overdrive audiobooks using using iTunes 11.2.0.115

    I just downloaded iTunes 11.2.0.115 and can no longer sync audio books from Overdrive Media Console. They appear to be syncing but then they go away and I get the message: iTunes Sync 1 item could not be synced. See iTunes for more information. When

  • Rating enigma: library recreated with all playlists but without any rating!

    Dear all, My external HD has crashed, but I got to recuperate all my music files (150 GB). The library files are intact, as they're stored in my internal Mac drive (users/my name/music/itunes folder). I already added all the files from the new drive