Form hangs some time frequently??

hello expert,
in my erp system some time a form hangs very frequantly.
what could be the reason???
form is used for new BOM or to modify BOM.
there is two buttons
Add and Mofidy.
when i click on Add button, its hangs some time very frequently but modify works same time while add button hang the form. this problem come some days.
Add button code is below:
DECLARE
form_name VARCHAR2(100):=:System.Current_Form;
cntrl_block VARCHAR2(100):=GET_FORM_PROPERTY(form_name ,FIRSTBLOCK);
first_block VARCHAR2(100):=GET_BLOCK_PROPERTY(cntrl_block,NEXTBLOCK);
last_block VARCHAR2(100):=GET_FORM_PROPERTY(form_name ,LASTBLOCK);
temp_block VARCHAR2(100):=first_block;
BEGIN
delete from str_item_temp;
IF :GLOBAL.navigation = 'D' AND :GLOBAL.mode = 'X'
THEN
set_item_property(cntrl_block||'.SAVE' ,ENABLED,PROPERTY_TRUE);
set_item_property(cntrl_block||'.CLEAR' ,ENABLED,PROPERTY_TRUE);
set_item_property(cntrl_block||'.MODIFY' ,ENABLED,PROPERTY_FALSE);
set_item_property(cntrl_block||'.ENTER_QUERY' ,ENABLED,PROPERTY_FALSE);
set_item_property(cntrl_block||'.EXECUTE_QUERY',ENABLED,PROPERTY_FALSE);
:GLOBAL.mode := 'A';
:STATUS_DISPLAY := 'ADD MODE';
LOOP
     Set_Block_Property(temp_block,INSERT_ALLOWED,PROPERTY_TRUE);
     EXIT WHEN temp_block=last_block;
     temp_block:=GET_BLOCK_PROPERTY(temp_block,NEXTBLOCK);
END LOOP;     
GO_BLOCK(first_block);
CLEAR_BLOCK(NO_VALIDATE);
ELSIF :GLOBAL.navigation = 'D' AND :GLOBAL.mode != 'X'
THEN
mess('Press Clear Button First');
GO_BLOCK(cntrl_block);
ELSE
mess('Mode is not applicable');
GO_BLOCK(cntrl_block);
END IF;
END;
modify button code is below:
DECLARE
form_name VARCHAR2(100):=:System.Current_Form;
cntrl_block VARCHAR2(100):=GET_FORM_PROPERTY(form_name ,FIRSTBLOCK);
first_block VARCHAR2(100):=GET_BLOCK_PROPERTY(cntrl_block,NEXTBLOCK);
last_block VARCHAR2(100):=GET_FORM_PROPERTY(form_name ,LASTBLOCK);
temp_block VARCHAR2(100):=first_block;
     first VARCHAR2(100):=first_block||'.'||GET_BLOCK_PROPERTY(first_block,FIRST_ITEM);
last VARCHAR2(100):=first_block||'.'||GET_BLOCK_PROPERTY(first_block,LAST_ITEM);
     temp VARCHAR2(100):=first;
BEGIN
IF :GLOBAL.navigation = 'D' AND :GLOBAL.mode = 'X'
THEN
set_item_property(cntrl_block||'.SAVE' ,ENABLED,PROPERTY_TRUE);
set_item_property(cntrl_block||'.CLEAR' ,ENABLED,PROPERTY_TRUE);
set_item_property(cntrl_block||'.ENTER_QUERY' ,ENABLED,PROPERTY_FALSE);
set_item_property(cntrl_block||'.EXECUTE_QUERY',ENABLED,PROPERTY_FALSE);
set_item_property(cntrl_block||'.ADD' ,ENABLED,PROPERTY_FALSE);
:GLOBAL.mode := 'M';
:STATUS_DISPLAY := 'MODIFY MODE';
LOOP
     IF Get_Item_Property(temp,ITEM_TYPE) NOT IN ('BUTTON','CHART ITEM','DISPLAY ITEM','IMAGE','VBX CONTROL')
     THEN     
          IF Get_Item_Property(temp,QUERYABLE)='TRUE'
          THEN     
          -- set_item_property(temp,VISUAL_ATTRIBUTE,'MODIFY');
          set_item_property('block.bom_mod_code',VISUAL_ATTRIBUTE,'MODIFY');
          ELSE
               set_item_property(temp,VISUAL_ATTRIBUTE,'ADD');
          END IF;
          END IF;
IF temp=last
          THEN
          EXIT;
          ELSE      
               temp:=first_block||'.'||GET_ITEM_PROPERTY(temp,NEXTITEM);     
          END IF;
END LOOP;
LOOP
     IF temp_block=first_block
     THEN     
     Set_Block_Property(temp_block,INSERT_ALLOWED,PROPERTY_TRUE);
     ELSE
          Set_Block_Property(temp_block,INSERT_ALLOWED,PROPERTY_TRUE);
     END IF;     
     Set_Block_Property(temp_block,UPDATE_ALLOWED,PROPERTY_TRUE);
     EXIT WHEN temp_block=last_block;
     temp_block:=GET_BLOCK_PROPERTY(temp_block,NEXTBLOCK);
END LOOP;     
GO_BLOCK(first_block);
CLEAR_BLOCK(NO_VALIDATE);
ELSIF :GLOBAL.navigation = 'D' AND :GLOBAL.mode != 'X'
THEN
mess('Press Clear Button First');
GO_BLOCK(cntrl_block);
ELSE
mess('Mode is not applicable');
GO_BLOCK(cntrl_block);
END IF;
END;
when we access same form in network , is there any restriction on no of instance of form access in network.?
Thanks n regards
Yash

Hi Yash,
I've seen this happen recently at a few of my customer sites with 11g (11gR1 and 11gR2), where the forms application will hang intermittently or every time a certain object is used. Once we applied this patch to our customer's environments, the issue went away. The issue had to do with one of the following issues: Using multiple cores with JRE 6 or displaying multiple alerts in an application.
Take a look at Oracle Bug in MyOracleSupport: 12433970
There is also an article that goes along with it: 1245895.1
Hope this helps!
Thank you,
Gavin
http://www.pitss.com

Similar Messages

  • HT201257 My Macbook pro gets hang & some time restarted frequently , please revert with solution , thnx

    My Macbook pro gets hang & some time restarted frequently

    If you're having kernel panics, please post the text of the log in a reply here. See -> http://support.apple.com/kb/HT2546. If you have a panic log it will be in your root /Library/Logs/DiagnosticReports folder.
    Also please post your MacBook Pro model (e.g., "15-inch Late 2011" or "8,2").
    Call back,
    Clinton

  • I have iphone 4 with updates ios7 but my phone hangs some times

    IPHONE 4 WITH - IOS 7.1.1 BUT HANGS MAXIMUM TIMES IN THE LOCK SCREEN

    Not sure what you mean by "hangs maximum times." ????

  • 9iAS R2 - Windows XP - IE hangs after some time

    Hi,
    We are using Oracle 9iAS on Windows XP client PCs. Application runs fine, however after some time, application hangs and IE session does not respond and we cannot do anything else but to end the ie task from task manager.
    It looks like Application loses connection with the database server and stops responding.
    Whether anyone faced similar problems and have found out any soutions?

    Hi irvine74,
    I am also experiencing the same problem while using Oracle Application Server 10gR2 on Windows 2000 Adv. Server and the clients are using IE on Windows XP.
    1). Would u share ur experience in more detail.
    2). which version of Mozilla is perfect with Windows XP 2002 SP 2.
    3). Either I have to install Mozilla or FireFox.
    PLS describe the Full version of Browser.
    Thanks and Looking Forward.
    Aamer

  • OAS4081 on RH6.2 hangs after some time

    I installed OAS4081 on Redhat6.2. It seems to work fine... for a couple of hours. After some time (ranging from several hours to one day, depending on the activity I think) the listener does not respond anymore. Even a 'telnet <host> 80 - GET /' does not return anything. There are no processes taking up cpu-time. Memory usage (using top) seems ok (150Mb total). The only way to solve, it to 'owsctl stop -s website40', but still some processes remain and need to be killed -9. Then restarting the website makes it ok again.
    Also using 'vmstat 1' I have the impression that free memory is decreasing slowly (max 1Mb/5min). But when the website hangs, there is still enoug free memory (+200Mb).
    If anyone has the same experience, or any tips, please let me know. We would like to use this website in a production environment.
    I use only PL/SQL on an 8.1.5 database on a remote machine.
    Geert
    [email protected]
    P.S. I applied the /pfoo/stat patch as described in the forum elsewhere.

    We haven’t managed to repro this problem yet – we’ve run it on a couple of different machines using 2.5 and tested it repeatedly and can’t get it to fail. So, we have some more questions:
    * What mode are you running in? GPU,CPU or Flash?
    * If GPU, do you only see this hang in GPU mode, or can you reproduce it in CPU or Flash mode?
    * If GPU, what is the date and version number of the NVIDIA GPU driver you is using? (and is it up to date – new drivers can be downloaded here http://www.nvidia.com/Download/index.aspx?lang=en-us)
    * When you hit "Build and Run" are you changing anything? (e.g. editing the filter code, changing modes, changing images etc.)
    * Can you make the images you’re using available to us?
    Thanks
    Bob

  • HCM form hangs on some machine

    Hi,
    We are having problem that HCM forms hangs only on certain machines. Its spins forever. No standard or custom event can be submited. Exactly same forms from the same location works fine on other machines. it looks like setting on some machines blocking request.
    Does anyone have any ideas of what's wrong?
    Thanks,
    Oleg

    We also did some client trace and on the client machine we see the trace
    15:07:43.879 Got a message from Adobe Reader: log 1: error: Adobe Acrobat Professional: 2010-02-15T20:07:43.859Z: Error installing message handler: message:HostContainerDisclosurePolicy is not defined fileName:Doc:Init lineNumber:769 stack:RegisterMessageHandler()@Doc:Init:769 RegisterMessageHandler()@:0 @XFA:data[0]:ready:13 name:ReferenceError 2: 3:
    on the working machine instead of this we see
    15:12:27.925 Got a message from Adobe Reader: zciReady 1: 2: 3:
    also then on broken one we see
    15:07:44.631 onError: number: 0 description: message: Target document not disclosed. name: MessageDocNotDisclosedError
    Any idea what might cause this kind if error on some machines.
    Thanks,
    Oleg
    Edited by: Oleg Sokolov on Feb 15, 2010 9:17 PM

  • ASA hangs up after some time

    Able to ssh the firewall from remote location but after some time when command is excuted.the firewall hangs.
    Below is the version details
    Cisco Adaptive Security Appliance Software Version 8.2(5)
    Device Manager Version 7.1(1)52
    Compiled on Fri 20-May-11 16:00 by builders
    System image file is "disk0:/asa825-k8.bin"
    Config file at boot was "startup-config"
    Hardware:   ASA5520, 2048 MB RAM, CPU Pentium 4 Celeron 2000 MHz
    Internal ATA Compact Flash, 256MB
    BIOS Flash Firmware Hub @ 0xffe00000, 1024KB

    Hi Jesu,
    Thanks for reply
    i can not confiure and test telnet as i manage this firewall remotely(over internet by ssh).To do that i have to create Ipsec VPN.
    One more this when this event occur i can not even ping my firewall.(request time out )
    i have send the show tech output to your mail id
    output of other command
    show resource usage
    Resource              Current         Peak      Limit        Denied Context
    SSH                         2            2          5             0 System
    Conns                       2           73     280000             0 System
    Hosts                       2           22        N/A             0 System
    show ssh sessions
    SID Client IP       Version Mode Encryption Hmac     State            Username
    0   202.x.202.x  2.0     IN   aes256-cbc sha1     SessionStarted   xxxx                                                                                     
                                OUT  aes256-cbc sha1     SessionStarted   xxxx
    1   202.x.202.x  2.0     IN   aes256-cbc sha1     SessionStarted  xxxx                                                                                   
                                OUT  aes256-cbc sha1     SessionStarted   xxxx                                                                             
    show asp table socket
    Protocol  Socket    Local Address               Foreign Address         State
    SSL       0000251f  192.168.1.1:443             0.0.0.0:*               LISTEN
    SSL       00005d0f  14.x.90.x:443           0.0.0.0:*               LISTEN
    TCP       0000ce6f  14.x.90.x:22            0.0.0.0:*               LISTEN
    TCP       001aee28  14.x.90.x:22            202.x.202.x:50318    ESTAB
    TCP       001b6a08  14.x.90x:.22            202.x.202.x:50512    ESTAB
    sh memory
    Free memory:      1882253576 bytes (88%)
    Used memory:       265230072 bytes (12%)
    Total memory:     2147483648 bytes (100%)
    Regards,
    Prashant

  • Finger sensor not working and some time iphone 6 screen also hang/pause  for few seconds

    In my iphone6 finger sensor not working and some time iphone 6 screen also hang/pause  for few seconds.

    Try cleaning the sensor, remove all fingerprints from the settings, and the start over in recognizing prints. There are a number of things that make prints hard to read, sweat, lotion, dirty hands, etc.

  • Firefox is hanging repeatly , And some times doesn't start ?

    Hi , My Firefox browser is hanging many times in the day I don't know why , And sometimes It cannot be started this problim with me from firefox 3.6 and now I have Firefox 6.0.2 and still hanging .
    > My OS : Windows 7 Ultimate

    Hi Shahram Dehghani,
    Based on my understanding, there are serious problems with this Windows Server 2012 DC: couldn't login and some important services could not run.
    Please run dcdiag in the command prompt to check the situation of the DC and then tell us the error or warning message.
    In addition, please help to collect the following information for further troubleshooting:
    What is the error message when you could not login to the DC?
    Which MMC did you use to login to the DC?
    What is the error message when the services could not be started manually?
    The enviroment of the AD. Is there another DC in the domain? If so, does it has the same issue?
    When does this issue start appearing?
    Regards,
    Lany Zhang

  • After recent upgrade to IOS 7 i an seeing systems rebooting very frequently. it just goes offline and comeback online after some time. IS this hardware issue or others also facing the same

    After recent upgrade to IOS 7 i an seeing systems rebooting very frequently. it just goes offline and comeback online after some time. IS this hardware issue or others also facing the same

    Hello there, Kishoresaraogi.
    The following Knowledge Base article provides some great steps to troubleshoot your issue:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Particularly:
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I have Ipone 5S and frequently iphone screening of automatically and again it start after some time..

    Dear Sir,
    I have Ipone 5S and frequently iphone screening of automatically and again it start after some time..

    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Malvinfromny wrote:
    ... i tried to restore it but when i do the phone does half of the steps and then it turns into a blue screen and it doesnt work again what can i do?
    If you try all these Steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step... Be sure to make an appointment first...

  • Some times my iphone 4s hanging ,stop when someone ring me and the screen doesnt work or unlock

    some times my iphone 4s hanging ,stop when someone ring me and the screen stop immediatly

    Please don't post duplicate threads. Answered in your other post.

  • Some Time Hang My iPhone When i Browse Facebook ,,Any Solution ?

    Some Time Hang My iPhone When i Browse Facebook ,,Any Solution ?

    Hi shahnawajINDIA,
    There are a couple articles to check out if an app hangs (freezes) while you are using it.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    and
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/ts1702
    Not sure if you are using the Facebook App or browsing the Facebook page in Safari or other browse, but see if those troubleshooting steps help.
    Best,
    Nubz

  • For tablet touch is very slow in firefox OS. Some times it is hanging. While dialing number to call it taking to much time. How to fix and debug this issue.

    For tablet touch is very slow in firefox OS. Some times it is hanging. While dialing number to call it taking to much time. How to fix and debug this issue. Waiting for your reply.

    Hi sb00349044,
    I'm sorry to hear that you are having problems with your Firefox OS device. Can you please specify the device Model and Version?
    If your device is one of the Firefox OS Tablets from the contribution program, please be aware that those builds are still being improved and ironed out. If that is the case, please follow the guidelines for the contributor program to report issues with the device.
    Thanks,
    - Ralph

  • Why does my jdev hang for some time

    Hi,
    I want to know the reason why my jdev 10.1.3.4.0 hang for some time in some scenario's?
    like:
    whenever i start standalone oc4j server, after using the application in server' url, if i go to jdev it will hang for a min or so.
    normal usage also it will hang for some thrice a day or so??
    can any one tell..
    Thanks,

    Hello John,
    Thank you for providing all the information about what is going on with the SuperDrive issue you are experiencing.
    I recommend resetting the System Management Controller (SMC) on your iMac:
    Resetting the SMC for Mac Pro, Intel-based iMac, Intel-based Mac mini, or Intel-based Xserve
    Shut down the computer.
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on the computer.
    You can find the full article here:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    If you are still having trouble with playing audio, I recommend the following article:
    Apple Computers: Troubleshooting the slot-loading SuperDrive
    http://support.apple.com/kb/HT2801
    Thank you for posting in the Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for