Don't more work client_image.read_image_file if i use WEBUTIL_CLIENTINFO

After a long time of debug of a form (it work very well for some months) i have foun d this strange thing :
if i use in the startup form the function WEBUTIL_CLIENTINFO.GET_HOST_NAME then a form where i try to read a image from a directory with the function : client_image.read_image_file the function dos not work with the error message "PL/SQL ERROR".
if i remove the function WEBUTIL_CLIENTINFO.GET_HOST_NAME the form became good and work very well.
It is a BUGS ??
JInitiator: Version 1.3.1.18
Application server =10G
Forms = 10G
i may don't user the WEBUTIL_CLIENTINFO.GET_HOST_NAME but i know if there is a logic solution.
Thank's again.

client_image.read_image_file(vfilename,v_ending,'SR_SCREEN_SHOTS.SCREEN_SHOT'); ---- error occurs during call here
Above code will try to:
1. read file from client using full file name including path as user selected. (like D:/temp/...
2. transfer it to transfer.appsrv.workAreaRoot on server. like /tmp/
3. Read it from transfer.appsrv.workAreaRoot and load into Image item
client_image.write_image_file(vwritefile,v_ending,'SR_SCREEN_SHOTS.SCREEN_SHOT',maximize_compression,ORIGINAL_DEPTH);
This will try to write image from the Image Item to the path on client!.
All values in webutil.cfg should reffer to AS folders
transfer.appsrv.read
transfer.appsrv.write
transfer.appsrv.transfer.appsrv.workAreaRoot

Similar Messages

  • Problems with WEBUTIL_CORE on OAS 10.1.2 (CLIENT_IMAGE.READ_IMAGE_FILE)

    Hello,
    I get a problem with webutil 106 on Application Server 10.1.2.0.2 (RedHat 4)
    Some functions raise errors as :
    oracle.forms.net.ConnectionException: Abandon de la session Forms <839> : communication avec le processus runtime impossible.
    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)
    For testing, I use the demo form WU_TEST_106 and I encounter this problem with :
    CLIENT_IMAGE.READ_IMAGE_FILE
    I get another problem with SHOWBEANS(FALSE) that doesn't terminate (showbeans(true) works fine)
    I've tried others Webutil functions that works fine
    I've another platform with same release of Webutil / OAS 10.1.2 / Redhat4 which works fine (the major difference is that OAS was installed with portal in this last platform).
    I've made those test with same client and same database (10g)
    Any ideas ?

    Seems to be a bug. That was the response from Oracle support (Metalink)
    Response:
    Your issue seems to be related to bug 5594702 - Abstract: EJB30 ENTITY BEAN WITH @ID AND @COLUMN ANNOTATION FAILS TO DEPLOY ON AIX.
    There is an issue with the IBM JDK/JRE 1.5's processing of annotations.
    Links:
    http://www.theserverside.com/discussions/thread.tss?thread_id=37764
    http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=367&thread=112543&cat=10
    When processing annotations it returns boolean values as false.
    Work-around:
    Fully specify the @Column annotation's boolean values. If insertable and updatable are set to false (which will happen due to this bug) then TopLink sets the PK
    mapping to read-only and the exception seen is expected.
    Note: nullable attribute of the @Colmun is not used in the EJB3/JPA preview of 10.1.3.0 If the customer MUST override the default column name then they should use:
    @Column(name="column-name", insertable=true, updatable=true)
    If they do not wish to override the default column name then simply do not use an @Column annotation.
    It can be deleted or commented out in the JDev generated code.
    There are two reported annotation processing issues with the AIX JVM. One was fixed in SR1 and the other is fixed
    in SR3 (due out Oc 11 - today). Upgrading to these more recent JVM releases may also address this issue.
    RECOMMENDED SOLUTIONS:
    1. Upgrade the IBM AIX JVM to SR3.
    OR
    2. Fix all generated @Column annotations as described above

  • Problem in using client_image.read_image_file

    Hi all
    I want to load a picture file into a forms item at Develeoper Forms 10g Rel.2 with the following procedure, but it doesnt work and i also get no error.
    PROCEDURE import_image
    IS
    vFileName VARCHAR2(512);
    BEGIN
    -- Transfer Picture from File Directory to Forms Item.
    GO_BLOCK('FOTO');
    SET_BLOCK_PROPERTY(FIND_BLOCK('FOTO'), DEFAULT_WHERE,
    'natpers_oid = 55664');
    EXECUTE_QUERY;
    SET_BLOCK_PROPERTY(FIND_BLOCK('FOTO'), INSERT_ALLOWED,
    PROPERTY_TRUE);
    SET_BLOCK_PROPERTY(FIND_BLOCK('FOTO'), UPDATE_ALLOWED,
    PROPERTY_TRUE);
    SET_ITEM_PROPERTY(FIND_ITEM('FOTO.FOTO'), INSERT_ALLOWED,
    PROPERTY_TRUE);
    SET_ITEM_PROPERTY(FIND_ITEM('FOTO.FOTO'), UPDATE_ALLOWED,
    PROPERTY_TRUE);
    BEGIN
    vFileName := NULL;
    vFileName := webutil_file.file_selection_dialog('C:\Temp\', '*',
    '|Foto Dateien(*.bmp)|*.bmp|', 'Foto');
    END;
    IF vFileName IS NOT NULL THEN
    client_image.read_image_file(vFileName, 'BMP', FIND_ITEM('FOTO.FOTO'));
    client_host('cmd DEL ' || vFileName);
    END IF;
    END import_image;
    I think the WebUtil 1.0.6 works properly because the 'webutil_file.file_selection_dialog' (see above) works fine.
    Now can somebody give me a tip?
    Best regards
    Martin

    I found the problem :-)
    When i change the following parameter in the file webutil.cfg it works fine.
    transfer.appsrv.enabled=TRUE (old: FALSE)
    Martin

  • Client_Image.READ_IMAGE_FILE problems

    Hi, I have search all over OTN and the web and can't seem to find a solution to my problem. Im using Forms 10gR2, and am trying to display a TIFF image in a form. I am not getting any errors, its just not displaying the image at all.
    I have the images stored in C:\temp\0-GRAPHICS\. I have looked at the webutil.cfg file and updated it with the following:
    #NOTE: By default the file transfer is disabled as a security measure
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    transfer.appsrv.workAreaRoot=c:\TEMP
    transfer.appsrv.accessControl=TRUE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    transfer.appsrv.read.2=c:\
    transfer.appsrv.read.3=c:\DevSuite10_1_2
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    transfer.appsrv.write.2=c:\
    transfer.appsrv.write.3=c:\DevSuite10_1_2
    When I run the code, i get no error, it seems to work, just no picture displayed. Here is my code
    When-Button-Pressed trigger:
    DECLARE
    tiff_image_dir VARCHAR2(80) := 'C:\temp\0-GRAPHICS\';
      photo_filename VARCHAR2(80);
    BEGIN /* ** Set the message level high so we can gracefully handle ** an error reading the file if it occurs */
      :CB_PLATE_TIFF.ESL_NUMBER := :UNION_HDRS.ESL_NO;
      :CB_PLATE_TIFF.PLATE_NUM := :EIF_ONE_PPB.EIF_PLATE_NO;
      :System.Message_Level := '25';
      /* ** After fetching an employee record, take the employee's ** Userid and concatenate the '.TIF' extension to derive **
      the filename from which to load the TIFF image. The EMP ** record has a non-database image item named 'EMP_PHOTO' ** into which we read the image. */
      photo_filename := tiff_image_dir||:CB_PLATE_TIFF.ESL_NUMBER||'\'||:CB_PLATE_TIFF.PLATE_NUM||'.tif';
      /* ** For example 'photo_filename' might look like: ** ** /usr/staff/photos/jgetty.tif ** ------ ** ** Now, read in the appropriate image. */
      client_image.READ_IMAGE_FILE(photo_filename, 'TIFF', 'CB_PLATE_TIFF.IMG_PLATE');
      IF NOT FORM_SUCCESS THEN
      MESSAGE('The TIFF file '||:CB_PLATE_TIFF.PLATE_NUM||'.tif does not exist.');
      END IF;
      :SYSTEM.MESSAGE_LEVEL := '0';
      GO_BLOCK('CB_PLATE_TIFF');
    END;
    Am i not initializing the tiff_image_dir properly? Thanks for any help.

    Without actually being able to test your form, my only remaining guess is that the version you are using has a defect.  Since you did not mention exactly which version you are using, I will guess and say that you are using an unpatched version.  Please ensure that you are using Forms 10.1.2.3.  If you are not using this patch version, I recommend you download and install it.  You must have a current MyOracleSupport (and Support) account to do so.  The patch ID number is:  5983622
    Also, since version 10 is no longer entitled to Premiere Support, it might be a good time to consider upgrading to the latest release, 11.1.2.2
    http://www.oracle.com/technetwork/developer-tools/forms/downloads
    Installing WebLogic Server 10.3.6 is a prerequisite to installing Forms/Reports 11.1.2.2, so be sure to download and install it first.  Be sure to review the product documentation before installing any software.
    http://docs.oracle.com/cd/E48391_01/index.htm

  • Video no more working in Lion

    Hi,
    I encounter a very strange problem on my Mac Pro with video no more working ! I'm up to date with Mac OSX (Lion 10.7.4 and iTunes and all system softwares). Since few days I'm no more able to play videos in iTunes (movies or video podcasts just get me a black square, audio working fine !). If I try to play some regular AVI with VLC, it crashes directly (I deleted all preferences but still the same) and all softwares using advanced graphic features such as Photoshop have issues or disable graphic features !
    I thought first it might be the graphic card so I changed it but still exactly the same ! Any idea what might be wrong ?
    Thanks,
    Vincèn

    Sounds like OpenGL but curious about now that I know you have RAID (pesky details you know)
    Also, just because your system is on a RAID does not mean you can't or shouldn't have Lion and Lion Recovery on another hard drive. However there is a bug with RAID and permissions in OS X too. CCC will clone Lion and Lion Recovery partitions. And Lion can be installed on a new drive - not just the volume the system is booted from - my preference to never install except to a new drive, formatted with the OS so it should have the partitions and tables for it.
    I would like one last test: clone your array OS to another drive (don't need the whole user account) and see if it is also RAID related.
    Disk Utility may not be able to verify or repair permissions on a software RAID set
    Symptoms
    When Lion is installed on a software RAID set, Disk Utility may not be able to verify or repair volume permissions. The process appears to start but immediately stops.
    Resolution
    Use the command line tool diskutil to verify and/or repair permissions on a software RAID volume. Note: The user running these commands must have administrative privileges.
    https://support.apple.com/kb/TS4284
    Chrome has been crashing new Macs under Windows (MacBook Air) which was confirmed and and new version reportedly patched 20 security issues as well as fix issue on MBA. That had people scratching their heads and spinning their wheels.

  • Widgets don't always work - help please!

    When I open dashboard, all of my widgets appear, however, some of them don't always work. For example, I have two weather widgets for two different cities - sometimes they both show the forecast, sometimes only one, sometimes neither. Furthermore, if I remove the widget and then re-add it, it will then successfully show the forecast. If I click the little "i" and resubmit the city, it still fails. I must reload the widget for it to work. The same goes for my ESPN widgets. Sometimes they retrieve scores, and other times they are "unable," but work just fine if I close them and reopen them. Some more widgets I have problems with occasionally are the ski report, stock report, as well as my family guy quote widget. It really seems rather random when they will and won't work. How can I fix this?
    i tried repairing disk permission as well as deleting the widget files in the library/preferences folder, but the same problem still occurs.

    Hi Michael, have you tried navigating to ~(yourhome)/Library/Preferences and deleting the "widget-com.apple.widget.worldclock.plist" and others you are experiencing issues with? Log out and back, in or restart, then relaunch widgets and test.
    -mj
    [email protected]

  • I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    I have had my apple tv 2 for about 3 months which work perfectly fine when I use it with my iPad 3 ー all of the sudden I get the HDCP Error!  I read the forms and done everything!  Apple I name a loyal customer, please come out with an update soon!

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • Hello, I use photoshop cc 10 days and I did a lot of files with layers and channels. For two days in two different locations that only happens in some documents when you reopen the job done no more .. Example 6 channels on the facts I see only one .. Than

    Hello, I use photoshop cc 10 days and I did a lot of files with layers and channels.
    For two days in two different locations that only happens in some documents when you reopen the job done no more .. Example 6 channels on the facts I see only one ..
    Thank you for your attention.
    Annalisa 

    Don't understand what you writing here.  Screen shoots would be most helpful.
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • Bluetooth no more working with latest OVI suite

    Since I install latest OVI suite it seems my bluetooth stop working correctly and I cannot sync.
    however the radio seels OK, since I can pair.
    I've tried to unpai, repair, to clean.
    sometimes it works but afer the first disconnection, it no more works.
    my PC is XP family with Bluesoleil 2 (and CSR chip)
    I could not test on my work PC with widdcomm since OVI crash at startup.
    should I step back to PC suite, until OVI works, or will it be worse?
    Alain

    I have also tested with an airoblue bluetooth key (kensington driver) that use
    WIDDCOMM drivers.
    it was not working well with 4.x version of WIDDCOMM, unable to synchronize with OVI(however could backup!)
    I have installed the latest 5.x WIDDCOMM of kensington and is does not work either, with the same symptoms as Bluesoleil 2.x, and WIDDCOMM4.x : it seems to work but synchronize is slow and break in the middle.
    works well with microsoft generic driver and my cambridge silicon radio key.
    note that is was working well with the 2 keys, and their Bluesolei and widdcomm drivers since years.
    Alain

  • We are a creative design studio, we need to use apple mac pro server , so we can make more than a different user to use at the same time doing different activities, on different screens, is it possible?what is the max. no. of users that can work efficient

    we are a creative design studio, we need to use apple mac pro server , so we can make more than a different user to use at the same time doing different activities, on different screens, is it possible?what is the max. no. of users that can work efficient.
    Appreciate your support and if possible , how to do this?

    If you want to work with Mac OS X, you need one computer per simultaneous user.
    What you are describing, " Multiple simultaneous logins to a single computer" is not avialable on a regular Mac of any description, unless you decide to use Unix tools instead of Mac OS X.
    Server will happily store files for many, many users and provide them to multiple (up to hundreds) of computers at "near hard Drive" speeds over Gigabit Ethernet. It can make the File Sharing part easy.

  • I worked with files in LR that were originally on my C drive, then were moved to an external HD for storage. I now want to do some more work on those files (which have the same file name as on the C drive). I plugged the drive into my computer and it show

    I worked with files in LR that were originally on my C drive, then were moved to an external HD for storage. I now want to do some more work on those files (which have the same file name as on the C drive). I plugged the drive into my computer and it shows in LR under folders as the F drive and the little green light is on, but LR is showing only the first 6 files and not the remaining 200 or so. How do I expand the F folder to expose all files?

    I worked with files in LR that were originally on my C drive, then were moved to an external HD for storage. I now want to do some more work on those files (which have the same file name as on the C drive). I plugged the drive into my computer and it shows in LR under folders as the F drive and the little green light is on, but LR is showing only the first 6 files and not the remaining 200 or so. How do I expand the F folder to expose all files?

  • I have a PDF with a diagram, I need to translate the text so I open it in Illustrator.  The document opnes up vertically oriented  I try to put it horizontal to be able to read and change the text  However everything I have done is not working  The artboa

    I have a PDF with a diagram, I need to translate the text so I open it in Illustrator.  The document opens up vertically oriented  I try to put it horizontal to be able to read and change the text  However everything I have done is not working  The artboard does change, but the diagram stays vertical.....Please help  I need to finish that for today..Please help

    A PDF usually consists of one to an indefinite number of clipping masks inside each other.
    You need to be very carefull with selecting stuff.
    So you need to read the manual on how to select stuff and on the basics of Illustrator.
    On top of that: because of the complex hierarchy of PDF files, it is kind of difficult to help you without seeing anything.

  • Anyone know of a way to adjust the top and side MARGINS of a document printed from iOS numbers? The default margins are too wide. Need more working space.

    Anyone know of a way to adjust the top and side MARGINS of a document printed from iOS numbers? The default margins are too wide. Need more working space.

    Open the document,
    Tap the Tools icon (upper right).
    Tap Document Set up.
    Drag the margins to the position you wish (the actual margin width sould display as you are doing this).

  • Actual hours done against a work order for a Work Center by non-maintenance

    Hi All,
    I have below question with respect to work center.
    -If there is this actual work hours done on a work order by non- maintenance personnel for a certain work center and same is not reflecting under operation tab of work order, then where & how this hours (done by non- maintenance personnel) for a work order is maintained for that work center?.
    -In which database table these hours done by non- maintenance personnel for a work order is stored by work center wise.?
    Thanks

    Have a look at the document flow button in the order header.
    The confirmation data resides in table AFRU
    PeteA

  • TOI no more working

    Yes, Tux On Ice (kernel-netbook 3.2.5) is no more working since 3-4 days, and i can't understand why.
    I have not upgraded that kernel in these days, so kernel-netbook is the same version since maintainer upgraded it, and it was working until yesterday, may be (i can't be sure because only yesterday i've tried hibernating since a week).
    I have no testing repo, so packages i upgraded during these days (i upgraded once a day my system) can be found in our packages site on archlinux.org.
    Pratically, when i click hibernation, system copies everything in the swap partition, but then, while rebooting, it gives me lots of kernel messages, that i can't report, because they're not in /var/log, but i saved one that could be very important, i thought: "BUG: unable to handle kernel NULL pointer dereference at (null)"
    Any idea?
    Thanks everybody!

    Hi ,
    thank you, but I tried all points / links  since yesterday several times , i can deinstall 5 from 6 apple softwares, i can not deinstall Apple Software Update due an issue with an MSN Software package and i have to contact the owner of the software. Is that maybe the problem ? Also, if i try connect to the itunes store there comes always the error message 42408.
    I dont know what I should do...i having no more ideas, nothing is working: no connection to the itunes store, no connection to the ipod, the ipod could not read on itunes, still on the ipod display the cable with the connection sign to itunes.
    I think I have to bring the ipod tomorrow to the genius bar and ask them to restore my ipod touch.
    Its an nightmare.....
    Stephanie

Maybe you are looking for

  • Cannot boot either from install disk or hard drive

    I have done a number of searches, and I have not found a problem precisely like the one I am encountering. Earlier today, my MacBook (running Leopard 10.5.3) failed to wake properly from sleep. After I attempted to reboot the machine using the power

  • HOW CAN I TRANSFER MY SONGS FROM OLD COMPUTER TO NEW???? PLEASE READ

    MY OLD COMPUTER IS TOO SLOW AND I NEED MY SONGS TO GO ON MT NEW LAPTOP (YAY ME)... I DONT WANT TO WASTE A MILLION CD'S JUST TO GET MY NEW SONGS ON THERE SO WHAT CAN I DO....I TRIED USING A JUMO DRIVE AND THAR DOESNT WORK EITHER CUZ AS AS SOON AS I DI

  • V32 iOS 8 Error: The library can not be updated

    Hi, our customers have this error message after open an app v32: Knihovnu nelze aktualizovat Došlo k chybě in english: The library can not be updated An error has occurred This error is only when iPad is setup to czech language. When we setup to engl

  • When I export fla as .mov, QuickTime only plays first 15 seconds

    When I export fla as .mov, QuickTime only plays first 15 seconds. How can I make it play the whole file?

  • IWeb Hangs on launch

    Hi all-and Happy Holidays. Just got a new iMac and been trying to use iWeb, but it hangs on launch every time. It gets to loading the templates and I get the beach ball spinning and have to force a quit. Any clues? Here's my sys. configuration: 2.0GH