Method of application for process by running several times question

Hi all

In my controller code, application of process method is run several times, and insertion of multiple data in the table, any body can help me how to solve this problem.

I have the code in my application process below:

OAApplicationModule m = pageContext.getApplicationModule (webBean) (OAApplicationModule);

am.invokeMethod ("InsertRecord", null);

OAMessageLovInputBean oalovinputbean = (OAMessageLovInputBean) webBean.findIndexedChildRecursive ("ccustatus");

oalovinputbean.setValue (pageContext, "INPROGRESS");

String userName = pageContext.getUserName ();

System.out.println ("username is:" + username);

OAMessageTextInputBean pUserId = (OAMessageTextInputBean) webBean.findChildRecursive ("item32");

pUserId.setValue (pageContext, userName);

OAMessageTextInputBean pchangedby = (OAMessageTextInputBean) webBean.findChildRecursive ("item34");

pchangedby.setValue (pageContext, userName);

If ((("on").) Equals (PageContext.GetParameter ("rrchkbox")))

{

String whereclause1 = (String) pageContext.getTransactionValue ("whereclause");

String workordnum = (String) pageContext.getTransactionValue ("workordnum");

String rrnum = (String) pageContext.getTransactionValue ("rrnum");

String ponum = (String) pageContext.getTransactionValue ("ponum");

System.out.println ("whereclause test1" + whereclause1);

String status = pageContext.getParameter ("ccustatus");

System.out.println ("CLEMENT LINE STATUS:" + status);

Serializable param [] = {workordnum, rrnum, whereclause1, ponum};

am.invokeMethod ("getSearchData1", param);

am.invokeMethod ("checkSelectedrow", param);

Vcnt serializable = am.invokeMethod ("processPOData", param);

}

Below the code written in AM:

Public Sub InsertRecord()

{

XXDPECONTAINERVOImpl vo = getXXDPECONTAINERVO1();

vo.setMaxFetchSize (0);

Line XXDPECONTAINERVORowImpl = (XXDPECONTAINERVORowImpl) vo.createRow ();

oracle.jbo.domain.Number empNum = (oracle.jbo.domain.Number) getOADBTransaction () .getSequenceValue ("XXDPE_CONTAIN_SEQ");

row.setContainerizationId (empNum);

vo.insertRow (row);

row.setNewRowState (rank. STATUS_INITIALIZED);

}

Please help me.

Thank you Manu for your answer, my question set, in fact it was I have attached several region in the page controller, so whenever the page load is run 3 times and the call to the insert 3 times, so I corrceted it now is workign fine.

Thnaks

Deb

Tags: Oracle Applications

Similar Questions

  • Iexplore.exe is running several times in my task of process manager

    Iexplore.exe runs several times in my process even Task Manager when explore is not upward.  I use Windows7.

    try to go to google and download malwarebytes with computer scan

  • The binding of the method to the < af:table value = "" was run several times "

    I have create a new jsf page in a Web of Fusion project.

    Defined a table as follows:
    < af:table value = "#{pageFlowScope.taskListBean.tasks}" var = 'row' "
    rowBandingInterval = "0" id = "t2" width = "689".
    rowSelection = "single" summary = "show the task list.
    partialTriggers =": cmi1: cmi2: cmi3: cmi4: soc2: soc1" > "
    < af:column sortable = "false" headerText = 'Number' align = 'end' id = "c1" rowHeader = "true" >
    < af:outputText value = "#{row.number}" id = "ot5" / > "
    < / af:column >
    < af:column sortable = "false" headerText = "Id" align = "DΘmarrer" id = 'c3' >
    < af:outputText value = "#{row.id}" id = "ot2" / > "
    < / af:column >
    < af:column sortable = "false" headerText = "Title" align = "DΘmarrer" id = "c2" >
    < af:outputText value = "#{row.title}" id = "ot4" / > "
    < / af:column >
    < af:column sortable = "false" headerText = "State" align = "DΘmarrer" id = "c5" >
    < af:outputText value = "#{row.state}" id = "ot3" / > "
    < / af:column >
    < af:column sortable = "false" headerText = 'Result' align = 'start '.
    ID = 'c4' >
    < af:outputText value = "#{row.outcome}" id = "ot1" / > "
    < / af:column >
    < af:column sortable = "false" headerText = "PrioritΘ" align = 'end' id = 'c6' >
    < af:outputText value = "#{row.priority}" id = "ot6" / > "
    < / af:column >
    < / af:table >

    When I look in the log, I found that the method getTasks() in the taskListBean has been performed several times? There is a performance problem. Can someone tell me why? How to fix?

    http://StackOverflow.com/questions/2090033/why-JSF-calls-getters-multiple-times

  • Internet falls down for 5-10 minutes several times a day.

    Several times each day, the internet on my computer stop abruptly running for a few minutes.  The tabs that are trying to load a page just say 'connection '.  My computer is directly connected to the modem (not wireless).  All the lights on the modem are still on.  If I try to connect to Xbox live using the same modem (not connected to two devices at the same time), it always works.  If I restart the computer, it starts working again, but it is tedious and time consuming.  If I choose 'referee' on the network icon in the lower right corner of the screen, it says "Windows cannot communicate with the device or resource (primary DNS server)" after a few seconds.

    Any suggestions?

    Hello Neil,.

    Thanks for posting your query on the Microsoft Community.

    Let us try the following methods and check.

    Method 1. Let us reset TCP/IP and check.

    To reset TCP/IP stack to go to this article and follow the instructions.
    http://support.Microsoft.com/kb/299357


    Method 2.
    Step 1.

    1 connect to your router (by typing 192.168.0.1 or 192.168.1.1 in the address bar) and connect. Check your user manual or documentation if you don't know the references of logon.
    2. make sure that you are in Setup-> basic configuration category.
    3. scroll down until you see "DHCP Server" - if it is disabled, select 'enable '.
    4 enable DHCP if you want, you can change the number that starts the DHCP IP setting. (This is optional)
    5. use the DNS servers provided by your ISP. There are many DNS servers out there. It is preferable to use your ISP if possible.
    6. scroll and click 'Save Settings'.

    Step 2.
    1. click on start and then Control Panel.
    2. go to network and sharing Center and then click on change adapter settings.
    3. right click on the connection to the Local network and select Properties.
    4. Select Internet Protocol Version 6, and then click Properties.
    5. select Obtain DNS server automatically an address and press Ok.
    6. choose obtain an IP address automatically.
    7. repeat the steps for Internet Protocol version 4 as well.

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • Why Windows Update again down the following updates updated for which I made several times your help would be so appreciated

    Hello

    Yes what is happening that I launch Windows update and get the following although I did several times also rebooted PC installation the following downloads Microsoft XML Core Services 4.0 Service Pack 2 (KB973688) and update of security for Microsoft XML Core Services 4.0 Service Pack 2 (KB954430) just keep asking for them again and again. Update icon is not far from the task bar please help muchly appreciated thanks.

    Hello

    • Did you change your computer before this problem?

    Method 1

    You can check if updates have been installed through the update history.

    See the Windows updates are installed

    http://Windows.Microsoft.com/en-us/Windows-Vista/see-which-Windows-updates-are-installed

    See Windows Update History for any error message.

    If the update is installed successfully, follow the next method.

    Method 2
    You can follow the steps in the article and see if it helps.
    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update
    http://support.Microsoft.com/kb/910339

  • How can I keep the same program to run several times?

    I want to be able to prevent users from running the program or the same task several times since which is at the origin of the crash program and the PC to slow down.

    I know that some programs are already scripted to give a message saying "program is already running." However, is there one way other than the coding that is hard to do a similar job.

    Attached is an example of a program that runs three times and the internet explore runs twice and that causes a problem and it's quite a load on the server that hosts the program when almost every workstation is running the same program several times.

    Hello

    Thank you us updated about maintaining and providing detailed information.

    Your computers are on a domain network. Then I suggest you post your question in the TechNet Forums so that you can get better assistance.

    http://social.technet.Microsoft.com/forums/en-us/home?category=w7itpro

    Thank you.

  • Video freezes for a few seconds, several times, but audio still ok

    Flash freezes for a second or three; Audio still ok.
    Happens usually seconds, about 8 seconds to maybe 3 times and
    intermittent after (sometimes works fine the rest of the way). Have Vista64
    IE9 - Chrome and FF will freeze not only IE. Hardware acceleration disabled (
    software). NVIDIA 440 drivers up to date. Flash up to date: object
    13.0.0.214 ActiveX control: 12.0.9.149
    (shouldn't that be the same as the object?). Not a buffer problem that it loads
    usually at a good pace in front of the video game. Local storage attached to 10 MB buffer
    (tried the upper and lower parameters without joy). Would like to have 4 HD audio drivers
    installed something to do with this problem? (noticed in Device Manager). Previous
    versions of back a few months did this too so decided to go on this forum. Thank you.
    Hope that I don't miss anything.

    The last 14.0.0.176 update flash for IE9 seems to have solved the problem of stuttering. I've just updated and tried - running smooth as silk. Thank you Adobe for finally fixing.

  • Error messages for the following updates several times?

    Update of security for Microsoft Office Access 2003 (KB981716)

    Update for the junk e-mail in Outlook 2003 (KB2202122) filter

    Update of security for Microsoft Office Outlook 2003 (KB980373)

    They are updated numbers you are quoting, not error codes!

    http://support.Microsoft.com/kb/2258121/en-AU

    You receive the error code 0 x 80070646 or 646 error code when you try to install Microsoft Office updates

    http://www.Microsoft.com/downloads/en/default.aspx

    Put the KB numbers in the search at the above link > download them manually.

    If the above does not solve it:

    Windows Update Forum:

    It comes with Vista, upgrade install and activate Forum.

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly include the Error Codes, and exactly what is happening when you try to update.

    In this way, you will receive the best help.

    See you soon

    Mick Murphy - Microsoft partner

  • Google Chrome installed but I have not installed it. Also the default browser configured to read a link as if it were an application for commencement. A lot of questions because I improved the MSE. What is happening with this? Also network problems.

    Since I upgraded MSE (when I did, there was a popup telling me it had not been approved for XP) I had to do system restore because it would not be updated and did not allow me update Windows.  Moreover, since the installation of a new version of CCleaner and jump into an H & R Block CD (but not installed) Google Chrome suddenly appeared as installed.  A day later, when I open IE8, it said that it was not my default browser.  It turns out that the default was trying to read the links as if they were programs to open.  These things happen in sequence, not all at once.  I'm starting to lose faith in MSE as a viable security program.  Everyone knows these issues?

    Unless you did, do you also have a Google toolbar? That install package you used for CCleaner it is where your new Chrome browser default change probably came to look always for 'extras' during the installation of the software, sometimes even when you uncheck the options such as the toolbar Google or Google Chrome as default browser and the homepage that they install any way. In the case of CCleaner you must always use the/setup package install ' Slim/No toolbar' such as the one proposed here.

    http://MajorGeeks.com/CCleaner_Slim_d4191.html

    Go to the general tab in the Internet Options and reset your default homepage and reset your default browser in "Set program access and Defaults" then uninstall Google Chrome and toolbar using Add/Remove programs. If you have had the problem of Chrome before attempting to upgrade the MSE this may have contributed to updates failed. In general you cshould use only Internet Explorer or Firefox.  When you have windows pop - up was part of Windows Genuine Advantage of message validation? If Yes, see this post here.

    http://social.answers.Microsoft.com/forums/en-us/msestart/thread/22930cda-a0bd-4263-890b-ddf812859ca4

  • I seem to have in dual processes that run in the Task Manager.

    In the Task Manager, I see the same process running several times.  Example: under user/Admin""(My name as) ","Local Service","Network Service"and"System"." "  These really duplicates and they slow down my system?

    Are they duplicates?  Perhaps.

    They slow down your computer?  Depends on what you're trying to do.  Anything that takes your resources take the pool available for other applications.  However, if you do not run low on resources (your CPU has a lot of horses for what is needed and you're not missing memory for most) - then it probably isn't as much of a downturn as just all of the resources actually get used.  You won't slow until that run out you of resources and try to open something else.

    If you worry about it?  N ° except if you have been compromised (you have a virus, worm, Trojan horse, malware any) and this is what is running - the system is as it should.  You are not running a single-user system - even if you are the only physical user.  Service accounts, etc. are there for the functionality of the machine as a whole.

    Windows XP...?

    I have some tips that might help you optimize this system...

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find. Reboot when necessary. (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in. Look for whatever it is you do not know usingGoogle (or ask here.) You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory. This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

    Do a house cleaning and the dust of this hard drive:

    You can free up disk space (will also help get rid of the things that you do not use) through the following steps:

    Windows XP should take between 7 and 10 GB * with * an Office suite, editing Photo software, alternative Internet browser (s), various Internet plugins and a host of other things installed.

    If you are comfortable with the stability of your system, you can delete the uninstall of patches which has installed Windows XP...
    http://www3.TELUS.NET/dandemar/spack.htm
    (Especially of interest here - #4)
    (Variant: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm )

    You can run disk - integrated into Windows XP - cleanup to erase everything except your last restore point and yet more 'free '... files cleaning

    How to use disk cleanup
    http://support.Microsoft.com/kb/310312

    You can disable hibernation if it is enabled and you do not...

    When you Hibernate your computer, Windows saves the contents of the system memory in the hiberfil.sys file. As a result, the size of the hiberfil.sys file will always be equal to the amount of physical memory in your system. If you don't use the Hibernate feature and want to reclaim the space used by Windows for the hiberfil.sys file, perform the following steps:

    -Start the Control Panel Power Options applet (go to start, settings, Control Panel, and then click Power Options).
    -Select the Hibernate tab, uncheck "Activate the hibernation", and then click OK. Although you might think otherwise, selecting never under "Hibernate" option on the power management tab does not delete the hiberfil.sys file.
    -Windows remove the "Hibernate" option on the power management tab and delete the hiberfil.sys file.

    You can control the amount of space your system restore can use...

    1. Click Start, right click my computer and then click Properties.
    2. click on the System Restore tab.
    3. highlight one of your readers (or C: If you only) and click on the button "settings".
    4 change the percentage of disk space you want to allow... I suggest moving the slider until you have about 1 GB (1024 MB or close to that...)
    5. click on OK. Then click OK again.

    You can control the amount of space used may or may not temporary Internet files...

    Empty the temporary Internet files and reduce the size, that it stores a size between 64 MB and 128 MB...

    -Open a copy of Microsoft Internet Explorer.
    -Select TOOLS - Internet Options.
    -On the general tab in the section 'Temporary Internet files', follow these steps:
    -Click on 'Delete the Cookies' (click OK)
    -Click on "Settings" and change the "amount of disk space to use: ' something between 64 MB and 128 MB. (There may be many more now.)
    -Click OK.
    -Click on 'Delete files', then select "Delete all offline content" (the box), and then click OK. (If you had a LOT, it can take 2 to 10 minutes or more).
    -Once it's done, click OK, close Internet Explorer, open Internet Explorer.

    You can use an application that scans your system for the log files and temporary files and use it to get rid of those who:

    CCleaner (free!)
    http://www.CCleaner.com/
    (just disk cleanup - do not play with the part of the registry for the moment)

    Other ways to free up space...

    SequoiaView
    http://www.win.Tue.nl/SequoiaView/

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

    Those who can help you discover visually where all space is used. Then, you can determine what to do.

    After that - you want to check any physical errors and fix everything for efficient access"

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

    Cleaning the components of update on your Windows XP computer

    While probably not 100% necessary-, it is probably a good idea at this time to ensure that you continue to get the updates you need. This will help you ensure that your system update is ready to do it for you.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on theroot of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update (you * NOT * use the aggressive version):
    How to reset the Windows Update components?

    Reset.

    Now that your system is generally free of malicious software (assuming you have an AntiVirus application), you've cleaned the "additional applications" that could be running and picking up your precious memory and the processor, you have authorized out of valuable and makes disk space as there are no problems with the drive itself and your Windows Update components are updates and should work fine - it is only only one other thing youpouvez wish to make:

    Get and install the hardware device last drivers for your system hardware/system manufacturers support and/or download web site.

  • How to run several Vi even in parallel?

    Hello

    I have a main VI and a second VI

    in primary VI, I'll put a button Add new OVEN, when the user presses it, the second Vi will take place and capture data from oven.

    When I click this button again, a different second VI Windows will start and captures data Second oven...

    ect...

    I do not know how my VI run several times... as in parallel mode... Even race VI... and unrelated to one another...

    Thank you all for your help,

    The best way to predict the future is to invent it.

    Date of arrival:

    http://zone.NI.com/reference/en-XX/help/371361A-01/lvconcepts/suggestions_for_exec/#Simultaneously_Calling_SubVIs_from_Multiple_Places

  • Photoshop CC 2014 Extension - CEP event reminder fires several times by event

    Try to do my extensions to watch a bunch of events and it turns out to be a real pain in the *.

    I hope that there is someone here who has a little more experience to play with them.

    I used the sample code from here (Page 43): http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/CC14_Extension_S DK.pdf

    I modified the code just a little. I removed unnecessary things from her. I also added a counter, in an attempt to visualize the problem.

    Every time I pasted the code here, the global variable seems to reproduce. Eeeeh Yes...  the sample code can be found here.

    The problem is:

    I close a single document to raise the event, but for some reason the recall seems to run several times.

    Even better, it does not seem be consistent on this issue. Sometimes she repeats only twice and sometimes he repeats 160 times.

    It seems that whenever the extension Panel is reopened, it comes up with a new number.

    Currently, if I close a document, it seems to trigger the recall 15 times

    Since it's the screenshot, you will have to take my word for it. I closed only a single document, and the code has been 15 times.

    Screen Shot 2015-04-18 at 21.21.28.png

    I do something wrong by any chance?

    Edit:

    I think I just find out the reason and a way to recreate the issue.

    I tested the opportunity of expansion by closing and opening the Panel, which seems to have caused the problem.

    It seems every time I close and then open the Control Panel, IT... Adds a run more to the stack.

    -Update the chrome Panel does not seem to affect it.

    When I restart photoshop, it resets to zero. So after the first opening of the Panel, the l' evenement event triggers the callback only once.

    -------

    I forgot to mention that the events of the host application work fine without these issues.

    In fact, I tried to use documentAfterActivate before, but that I could find, there is no way kind of filter specific events within the host application events.
    For example, I can't specify something different happen when a new document is opened.

    As much a side note:

    documentAfterActivate has its own side effects due to the way photoshop works.

    It is triggered when you:

    • Create a new document
    • Open a new document
    • Switch to an open document

    This is the part "Switch to a document open" which makes this event listener to trigger when you close a document.

    Because when you close a document, photoshop switches to the previous document which in turn triggers the event listener when he shouldn't, I guess.

    Of course it does not raise the event when you close the last document since none document to fit right in there.

    .. but it's beyond the scope of the original question.

    I had this problem also with flash panels, but I noticed that this has happened only if the Tribunal was persistent, I solve it by cancelling the registration of events when the Panel was closed.

  • Dell Latitude E5420 restarts and executes a message several times

    Randomly while working on my computer or by closing the lid of the portable computer, the computer will stop and then restart and run several times something like this:
    Broadcom UNDI PXE 2.1 v14.4.5
    Copyright (C) 2000-2010 Broadcom Corporation
    Copyright (C) 1997-2000 Intel Corporation
    All rights reserved

    PXE - E61: Media test failure, check cable of
    PXE - M0F: Exit Broadcom PXE ROM

    From what I looked at some of the forums, they apply to a different model, and I'm not sure whether, if they apply to this laptop as well.

    Update: I've noticed whenever I have to copy/move something to/from the computer to my hard drive, this will lead to the computer goes to the above situation

    I appreciate the help advance! :)

    Hello

    Please contact us! Follow the steps below to solve your problem.

    Enter the system BIOS by pressing F2 at startup.

    Boot PXE to disable the Boot Options /NIC.

    Check the boot device is on hard drive.

    If the issue is still seen to provide the serial number for the machine through a private message. Click on my username, select start conversation and send me the details and I'll look it up.

  • Problems restoring 64 bit Windows Vista - sfc/scannow still find things to fix even if run multiple times in a row

    I had a hard drive failure; However, the operating system has been on another disk, a 250 GB SSD. After replacing the faulty discs, I tried to move Windows Vista 64 bit to a larger 512 SSD concert. I keep running into problems with these efforts. To verify that the 250 GB SSD is clean and ready to be moved, I run the sfc/scannow in SafeMode with network. I run several times now and each time he claims to have found corrupt files and fixed them.

    This is evidence of a virus or other malicious software?

    I try to avoid formatting the drive and having to reinstall all software.

    Suggested actions?

    Hello

    Run SFC in Normal Mode.

    See you soon.

  • the unique table several times updated

    Select * of the adcd.



    TABLE-NAME
    --------------------------------
    APOXCN
    APOXHP
    APOXHT
    BLOCK
    BRIDGE
    CINDBR
    CINTBR
    CROSS
    CTRAKP
    CULTIV
    DRAINS
    FARROW
    FOREST


    Here, my problem is that I want to update the table table_name in abcd table by adding a prefix . is there an oracle procedure for updating the table several times using loops in oracle procedure.

    Thanks in advance

    Hello

    It is best to do this in the normal way

    This will update all columns

    UPDATE TABLE_NAME SET ABCD = "YOUR PREFIX | TABLE_NAME;

    If you need to update only specific columns, you can get

    UPDATE TABLE_NAME SET ABCD = "YOUR PREFIX | TABLE_NAME WHERE TABLE_NAME IN (TABLE1, TABLE2);

    see you soon

    VT

Maybe you are looking for