Forms hangs after using FileUpload PJC  in our application

1) I've successfully tested the stand-alone FileUpload demo form provided by Oracle for moving files from C/S to the middle tier machine. That tells me all the environment variables, etc. are good to go.
2) When i try to use the same demo form from my application using the call_form function, it works till the point of transferring the file to the server. Then when I try to close the demo form by hitting the close button to go back to my application, the form hangs up with no error message either in the Java console or the Application.
3) Even when i made changes to my application to implement the PJC as per the Oracle implementation paper, the same result as #2.
We are using Forms 6i (v6.0.8.19.2), iAS Rel1 (v1.0.2.2.2a) running on W2000.
BTW, the size of the file is 1K. The last message I see in the Java console is oracle/ewt/laf/basic/ProgressBarPainter.class
Any ideas or help appreciated. Thanks.

Hi,
You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.
JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.
The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php
In the simplest case, one line of Java code can solve your problem.
Good luck!

Similar Messages

  • Forms hangs when using result of an OUT parameter to do an Insert

    Hello,
    I think I have slightly odd problem here... I'm currently migrating a Forms 6i client-server application to Forms 10g904. I found that one of my Forms was hanging i.e. screen goes blank, 'activity' bar on the bottom right just keeps whirring away indefinitely.
    After much investigation, the hanging-form problem occurs in the following scenario:
    - In a routine in a Forms pll library, a variable is declared e.g. w_capture_output
    - In the first round of a loop, this variable is passed into a database stored proc, which has an OUT parameter to return a result e.g. SOME_PROC(w_some_input, w_capture_output);
    - w_capture_output comes back with a value e.g. 'P'
    - This is then used in an Insert e.g. INSERT INTO some_table (a, b) VALUES (1, w_capture_output)
    - The next round of the loop; the variable is passed in again into the proc. It still holds the value from the last round e.g. 'P'
    - In this round, the logic of the proc is such that the OUT argument is set to null i.e. when the proc has finished, w_capture_output is now null. This can be confirmed with IF w_capture_output IS NULL THEN display_some_message. The code is still all running fine.
    - But now when I run INSERT INTO some_table (a, b) VALUES (2, w_capture_output) - the form hangs.
    I can, however, work around this and prevent the form from hanging simply by ensuring at the start of each round of the loop that I explicitly set w_capture_output back to null before passing it into the proc that sets it. Or alternatively, after it comes back from the proc, the following also prevents the hanging problem:
    w_capture_output := NVL(w_capture_output,NULL);
    To summarise - if I pass a variable into a proc taking an OUT parameter, AND that variable is not null going into the proc, AND the proc sets it to null AND I then try to use that variable in an Insert statement - the form hangs. Something horrible is happening to the variable inside the procedure, I think.
    Now, I can kind of see why passing a non-null variable into an OUT argument might cause problems (although only if you then try to set it to null - not if you set it to another, non-null value). However, exactly the same code works fine under Forms 6i, using the same database instance and proc. And if Oracle have changed the rules, shouldn't it throw an error, rather than just hanging? I'd prefer not to have to use the workaround, as this is a very large app and I don't know yet how many places would need it.
    Has anyone else come across this issue..? (Database is 9.0.2. btw, Forms are 10g904)
    Cheers,
    James

    Try
    v_log_name := 'Fnd_File.LOG_OUT';Hey, what r u doing with above code?
    You are assigning string value to a variable?
    The compilation won't give any error.
    And OP thinks it's solution!!!!!!!!!!!
    LOL

  • Need help troubleshooting problem: Flash hangs after using Firefox (on mac) back button - works fine on all other browsers

    to reproduce:
    1. click on a flash button that takes you to a new html page
    2. hit the back button on browser
    3. flash button hangs
    I've included a test page as an example below.
    the bug is specific to having used the flash button and is specific to the Mac version of firefox. The PC version seems to work fine.

    What is the address of the first page? The only thing that link you posted in your information was the page that says, "now hit the back button and see if flash hangs after clicking on the flash button".

  • Adobe form hangs after error message

    Hi All,
    I developed interactive adobe form with 1 field as mandatory. Form is integrated with webdynpro and working fine but if user dont pass value to mandatory field, it gives error 'Atleast 1 required field empty' but after that form hangs. it is not responding so that i can fill the value.
    I made field object->value type as 'User entered - Required'.
    Please suggest if i am missing something.
    Thanks

    Solved by me

  • Iphone 4 hangs after using yahoo messenger's video call.

    my problem is right after using video call in YM my phone hang and it will turn off then turn on by itself. But this time after using YM video call  the screen turned black slowly until u can only see vertical lines on the mid part. so i rebooted the phone. it turned on but still there is vertical lines visible if u look at it closely. those are the same lines appeared when it frozen a while ago. how can i fix this? please help me. is it because of the yahoo messenger application or it is just my phone?.please help... please......thank u guys..

    I think I found a work around to this problem. In Setting > Carrier, don't choose Automatic. Explicitly select the carrier. Once I did that, I haven't encountered this problem (ok, YET).
    If anyone has the same problem, try this and see if it helps. :-)

  • Oracle forms hanging after tabbing off a field

    Hi there,
    Our application is 10gR2. There are several fields on the form and when the user tabs off a particular field (say TextField1), forms hangs up. TextField1 has a LOV associated but since i am clicking on the button of TextField1, the select statement associated with LOV will not be executed right?
    There is no trigger attached to TextField1. This happens only on production and not on development database(replica of production).
    Any suggestions for me???
    Thanks

    the execution plan has nothing to do with tabbing out of a field, it just is determined when the lov-query is executed first.
    but the excution plan of a query is based on alot of information, besides the structure of the database (tables, indexes) it depends to a large amount on the statistics gathered in the database. The gathered statistics contain information of the data content of the tables and, and, and..
    So if the data in your env-environment is very different from the data in your prod-environment, or even if the last gathering of statistics is long ago in your dev, the execution plan can be completly different in two databases although the structure is the same.
    One reason for this problem may be is that in an dev-environment you sometimes have only a "small amount" of data to "save space". This can lead to totally different behaviour between dev-environment and prod-environment.
    hope this helps.

  • Forms hanging after multiple calls to Foreign Function Interface

    Hi,
    Can anyone help me with this problem. I'm getting a 'FRM-92100:
    Your connection to the server was interrupted ... Details ...
    Java Exception:java.io.EOFException' error message when i make
    two calls to a c share object file using the ORA_FFI package.
    Forms will hang with that error message when I call the foreign
    function more than once and when the ORA_FFI.LOAD_LIBRARY
    function is executed twice.
    I've tried using the ORA_FFI.UNLOAD_LIBRARY function at the end
    straight after the load library plus my processes and it still
    hangs with that error message.
    I've got a temporary work around which is not ideal but it
    works. I've made another copy of the C shared object file and
    renamed it and made my second call to load this library.
    I would prefer to have one shared object file and make multiple
    calls to it from forms. Any suggestions?
    note : running forms 6.0 on three tier architecture with web
    browser.

    "Mush15" <[email protected]> wrote in
    message
    news:g7hela$flo$[email protected]..
    > Ok the issue is a stack overflow caused by calling the
    function
    > recursivly.
    >
    > I have tried creating 2 functions and have each call the
    other but still
    > recieve a stack overflow.
    >
    > Any ideas help??
    Try incrementing a counter every time you call the function
    and decrementing
    it on the way out. When you hit 2640 times, stop calling it.

  • Alert messages from Notification Center hang after using close button

    After opening my MacBook in the morning, Notification Center displays the alerts from my Calender (I realy like this new feature!).
    Problem
    When I click the Close Button on an Alert Message the Alert Message does not close but stops responding and stays displayed.
    The only way to get rid of it is to logout and login to OSX.
    Does anyone have the same problem?
    I am looking for a solution.
    All suggestions are welcome!
    Thanks,
      Chris

    Hi,
    Uploaded with Skitch!
    As you can see the System Preferences > Notification Pane talks about "Alerts" in a general way first
    Then it offers options on how the Notifications are displayed.
    I was presuming you were talking about the Notifications in the same general way and I was asking which option you were using
    Since my first post in this thread I have changes my Mail Notifications to Alerts (It seems to be the one with more issue)
    It does hang around until I deal with it
    It then send me to Mail but the Incoming mail item(s) is(are) no longer marked  as unread.
    This makes it a little difficult to check the generic Inbox rthat has five Accounts set up.
    I am not getting a spinning beach Ball and the Alert Style Notification goes away.
    10:18 PM      Saturday; September 8, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • CS4  hang after using Nik Sharpener   - on Snow Leopard

    Hello everyone,
    coming from Windows to MAC - to avoid trouble - I see it is not trouble free ... ??    While using the Nik Complete collection filters, all filters work fine with CS4 - except Nik Sharpener.  It looks to me that the Filter works OK, one can use it with its user interface and after hitting " Execute" the filters works and needs to give the results to CS4 .... <--- this step does not work.  It takes a while and then  CS4 does not react anymore and I must kill the process.  I tried this with some of my pictures, it is NOT related to the size of t files . The hang comes with small files as well as with big files.  I can  - sometimes - use it and it works fine, but this is only in rare cases. Theres is no difference wetherI tun other programs like Bridge or Capture One at the same time or not - CS4 hangs come in any case.
    Has anyone observed the same issues and knows what the root cause might be?  Adobe support sent me a list what I should do. I tried some things, but I'm new on MAC and do not know the OS that good . I'm not able to follow all these steps. The Mac is a Mac Pro with 10 GB RAM. There should not be an issue with the RAM for CS4. The OS is Snow Leopard with the newest patches. Technically the Mac has no hardware issues or any other strange behavior - its is only this point that does not work
    THANKS a lot for your help
    Kind regards,
    Hartmut

    Hello Chris, 
    I have the newest version downloaded incl. all available patches.  But I will in addition to this post this question as well to NIK support, because I cannot see where this hang starts to happen - still in t plugin or already in CS4 . Nevertheless, I assume tis should be based on any configuration  because CS4 is a mature software and the Sharpener plugin also --- such basic bugs should no more be available - is my assumption.  Therefore I thought someone might have had the same issue and knows the solution.
    Thanks, kind regards,
    Hartmut
    Am 22.06.2010 um 08:56 schrieb Chris Cox:
    Have you checked with Nik for updated plugins?
    Most likely the problem is another bug in the Nik plugins, which only Nik can fix.
    >

  • IPhoto hangs after using Red Eye tool

    when I go into edit mode on an image, then use the Red Eye tool, then click Done, my iPhoto just hangs there with the pinwheel turning. other edits seem to work fine when do them and hit Done, but red eye always seems to cause a freeze. does anyone have any ideas? thanks in advance!

    Julia
    What it means is that something in your library is at fault...
    So, let's move the pics across to the new library...
    Download iPhoto Library Manager and use it to move the albums and events across.
    After you move a bunch of events, make sure that the red-eye is still working. If you find that after a while it stops working, then we'll be a lot closer to narrowing down the culprit.
    Regards
    TD

  • Wifi hangs up on start-up, and computer hangs after using internet for 5 min.

    HP Touchsmart tm2, using Window's 7 64-bit. There are no error messages popping up, but what happens is I start my computer, and my wifi/internet connection icon seems to freeze while loading possible internet connections. If I turn off my wifi and then turn it back on using the button on the side of my computer, it seems to work correctly, then.
    But, when I get on the internet, no matter what site I go on to, my computer will just hang up after being online for at most 5 minutes. Mozilla Firefox will go into a Not Repsonding mode, and I can't minimize it or click/open any other programs. CTRL+ALT+DEL doesn't work, and when I hover over any icon, nothing seems like it's recognizing my mouse. The mouse moves, though, and the time even keeps going (it'll change from 9:13 to 9:14 and so forth).
    It ends up figuring itself out, though, after another 5 minutes (literally an entire 5 minutes) and then seems to work okay. 
    Recently, I updated CCleaner to the newest version, cleaned out my internet cache, defrag my computer using Defraggler, used CClean to also wipe by free space, and updated Avast! Antivirus to the newest version and ran a full virus scan with no threats detected... :/

    Hopefully No real Damage was done.
    A Surge Protector works fine with items like Lights, Lamps and small electrical items.  Where the problem arises is with Computers, which are precision electrical devices.  The only real protection is a Battery Backup like an APC.
    http://buy.apc.com/commerce/storefronts/etail/default.aspx?storefrontcode=apcfs& countrycode=us&tsk=F841U&pc=18349&keycode=f841u&promocode=18349&promo_key=18349
    When there is a Power outage no matter what the source. can also create tremendous Power Surges. This can happen when the electricity is turned back on and can cause frying all of your Electrical Appliances.
    Having an APC will save all of your Computer Equipment including your Modem, Router, Printers, Scanner, Computer, as well as Phone lines.
    A simple Surge Protector simply isn't enough protection and especially the cheaper models.
    Here is the simple way to check and see if your equipment is still operable.
    Turn your Computer clear OFF and pull the Power Plug
    Pull the Power from both your Modem and your Router.
    Wait a minimum of 5 minutes. After the 5 minutes Plug in your Modem and wait a minimum of 3 minutes.
    Now plug in your Router and again you must wait 3 to 4 minutes.
    Now you can plug in your computer and restart it and don't touch anything.  If your computer starts up then you got lucky If not you will probably need to take it to the genious bar at your closest Apple Store. Chances are that your computer has components that have been fried from the power surge. Good Luck and hope your computer restarts.

  • Lightroom 5.6 hangs after using for few minutes. MacBook pro, Mac os 10.9.5. Colour wheel (beach ball) appears continuously and machine is frozen.

    I have been using Lightroom successfully on my MacBook pro for the past few weeks and been pleased how much better it is compared to iPhoto. Especially its speed.
    This week a few minutes after starting Lightroom the spinning colour wheel appears and the machine is effectively hung. Nothing responds. Sometimes after many minutes the mouse pointer reappers but the colour wheel immediately reappears if the mouse is moved or any attempt is made to do anything. Only recourse is to force a power down and re-boot. But then the same thing happens.
    System is MacBook Pro (15") from late 2008, 2.4 GHz Intel core 2 Duo with 2 GB RAM (Have tried 3 GB but this makes no difference.) Running Mac os 10.9.5 (Mavericks)
    I have checked file permissions and file system with Disk Utility, it found no problems. Have optimised Lightrooms catalogue. All made no difference.
    I completely stuck now so any help appreciated,
    John

    Hi a,
    It looks like you have a 15" mid 2010. You can try the SMC reset. If that doesn't work, see the free repair program for similar issues:
    http://support.apple.com/kb/TS4088

  • System hangs after using external display with lid closed

    I often use my MBP with the lid closed with an external display and Bluetooth mouse and keyboard. When done in this mode, I put the system to sleep using the apple menu, then disconnect the monitor. I found some info on the apple site explaining that this was the recommended procedure for exiting the lid-closed mode.
    However, sometimes the system doesn't go to sleep. Opening the lid, the LED goes out, but the display remains off. If I then try reconnecting the external monitor, nothing happens. It appears that it has gone into some mode where it is active, but no displays are enabled. My only resource at this point is to power the system off and back on, at which point everything is ok.
    I'm wondering if turning off my bluetooth devices after selecting the sleep menu item is causing the system to reawaken at a bad time, causing this state to occur.
    I have also run into problems when connecting an external projection monitor. On several occassions I have connected the external display adapter before turning on the projector, or before connecting it to the adapter, and the system locked-up hard (no mouse movement, etc). My only recourse was hard power off.
    Any ideas? Is this a broken system or are these known OSX or MBP issues?

    Try SleepLess…
    http://www.versiontracker.com/dyn/moreinfo/macosx/17893
    … or InsomniaX…
    http://www.versiontracker.com/dyn/moreinfo/macosx/30315

  • Using FileUpload component in Internationalized application (Bug?)

    Good part of a day, community.
    Is there bug in the component?
    Page Encoding is UTF-8
    Locale Encoding is Windows-1251
    Browser is Mozilla FireFox 1.5.0.7
    If I have page without FileUpload component everything works ok.
    But when I place on page FileUpload component character encoding become corrupted.
    I have made test page.
    Place on page TextArea, FileUpload, button components.
    Enter into TextArea any text in locale encoding different from English. I have used Cyrilic Windows-1251
    Push the button and you will see text in text will be corrupted.
    Delete FileUpload component. Everything will be ok
    Does anybody deal with tis issue?

    I believe this is bug: 6453360. It has been fixed but only in Netbeans Visual Web Pack version. This fix has not been backported yet.
    Lark

  • Forms 9i/ DB 10g - Form Hangs when function is called

    Using 9i Web Forms on 10g Database Linux O/S
    I have the following function call in a form within a loop:
    :nbt02_lentrn.nbt_txn_descr := fn_get_trans_descr(ls_app_area_code,ls_txn_type);
    The function being called contains this code:
    FUNCTION fn_get_trans_descr(ps_app_area_code IN VARCHAR2,
    ps_txn_code IN VARCHAR2) RETURN VARCHAR2 IS
    CURSOR cur_txn_descr IS
    SELECT descr
    FROM financial_trans_types
    WHERE code = ps_txn_code
    AND aparea_code = ps_app_area_code;
    ls_txn_descr financial_trans_types.descr%TYPE;
    BEGIN
    OPEN cur_txn_descr;
    FETCH cur_txn_descr INTO ls_txn_descr;
    CLOSE cur_txn_descr;
    Return(ls_txn_descr);
    END;
    When the call is executed, the form hangs after the OPEN command. I have checked the parameters for their values and successfully executed the cursor in SQL.
    When I hardcode the function parameter values, the code executes successfully. Also, and perhaps most unusually, if I do either of the following before the function call, the code runs successfully:
    ls_txn_type     :=     ls_txn_type;
    :nbt02_lentrn.nbt_txn_descr := fn_get_trans_descr(ls_app_area_code,ls_txn_type);
         ls_txn_type     :=     NVL(ls_txn_type,NULL);
    :nbt02_lentrn.nbt_txn_descr := fn_get_trans_descr(ls_app_area_code,ls_txn_type);
    I have also extracted the call and placed it into a different form where it works fine!
    The variable ln_txn_type is populated via another call within the same loop. It's value alternates between null and a value for the record set.
    The same code works fine Client/Server and although I have a solution, I'm not sure what the problem is! Does anyone have any clues?

    Hello - your problem actually looks similar in symptoms to one I hit just a couple of days ago (see my post 'Forms hangs when using result of an OUT parameter to do an Insert ' on July 19th.)
    The problem I was having was if I had a variable which already had a value, then passed into an IN OUT parameter of a db stored proc, the proc set the value to null, and then I tried to use the variable in a table insert. The form would just hang completely. Like you, one workaround for the problem was to have a line like:
    my_var := NVL(my_var,NULL);
    to somehow 'fix' the variable before trying to use it further. Even though the variable seems null, and returns true for IF ... IS NULL, something had gone wrong with it that rendered it toxic to my form. This workaround should have no net effect, but it does somehow solve the problem. Like your problem, mine doesn't occur on client server, only on the newer version.
    I hit this problem using Forms 10g904, against a 9i database. Having talked it over with Oracle support, I've tried doing the same thing using 10g Release 2, and the problem disappears, so Oracle have obviously fixed it somewhere between the two releases - I'm currently investigating intermediate Patch Sets.
    Don't know if this is helpful, but all I can suggest is that you ensure you've applied the latest patchsets to your Forms (you can try it on the Builder first before patching your apps server installation.) If that doesn't do it, I'm guessing it's a case of use the workarounds, or go up to a higher version altogether of Forms.
    Sorry not to have any more optimistic advice!
    James

Maybe you are looking for