2.3.8 Container::getAllDocuments() appears to close the transaction

When I execute the following I get a error saying that the transaction has already been committed or aborted.
void MyFunc(XmlTransaction& txn,XmlResults result)
   while(retry){
      try{
         result = myContainer->getAllDocuments(txn,DB_READ_COMMITTED);
         return;
      catch(){...catch handler...}
void SomeOtherFunc(...)
   //init....
   XmlTransaction txn = xmlManager->createTransaction();
   XmlResults res;
   MyFunc(txn,res);
   txn.commit(); // crashes here!!!
   // Do something with the results
}

What's going on inside your catch handler in MyFunc()? If you are catching deadlocks and retrying, that'd be the problem. Are you seeing this fail every time, and even when there are no retries?
Regards,
George

Similar Messages

  • My firefox quite often crashes ,with this message"FIREFOX IS NOT RESPONDING" IF YOU CLOSE THE PROGAM YOU MIGHT LOSE INFORMATION. THESE APPEAR UNDERNEATH CLOSE THE PROGAM WAIT FOR THE PROGAM TO RESET, SO HOW DO I FIX THIS

    My firefox quite often crashes ,with this message
    "FIREFOX IS NOT RESPONDING"
    IF YOU CLOSE THE PROGAM YOU MIGHT LOSE INFORMATION.
    THESE APPEAR UNDERNEATH >CLOSE THE PROGAM > WAIT FOR THE PROGAM TO RESET, SO HOW DO I FIX THIS

    See:
    * http://kb.mozillazine.org/Firefox_crashes
    * http://kb.mozillazine.org/Firefox_hangs

  • JDev3.1, BC4J, handleCommit(): never closes the transaction in stateful mode

    Hello.
    I'm writing a JSP client which reads data from a ViewObject and edits records of the same ViewObject, through the EditCurrentRecord data web bean.
    If I set my application as "IsStateLessRuntime=true" in the .properties file, every time the handleCommit() function is called (inside the EditCurrentRecord class), there is an immediate commit on the database.
    But if I set my application as "isStateLessRuntime=false" (that is, statful), the handleCommit() function posts records "in memory", but I can't figure how to write data on my Oracle database. I think I have to "close the transaction" or something else, but I don't know what.
    It should be better if I could run my application in Stateful mode, since I have to work with commits and possible rollbacks, after checking my data.
    Thank you to Jdeveloper Team who helps us!

    I answer myself, I found a solution. I post it in case this could be helpful to someone.
    When I want to commit changes to database, I have to call:
    getApplicationFromContext().getTransaction().commit();
    I wrote this as a function in my class "myEditCurrentRecord" which extends EditCurrentRecord data web bean.
    The final code is:
    public void commit()
    getApplicationFromContext().getTransaction().commit();
    This works... maybe is there another solution?

  • Double click to open Menu bar and then close the apps...

    Good morning to all,
    I've an Iphone 4 since 2011 and yesterday I downloaded the iOS 7 software. Now I miss the function where you double click on the home button and then you keep the icon pressed until the forbidden sign appears to close the app definetly. Somebody knows how to do it now with iOS 7?
    Thanks a lot in advance and have a great day, Giovanni.
    Buongiorno a tutti. Io ho un Iphone 4 del 2011 e per momento funzione che è una meraviglia. Ieri l'ho aggiornato ad iOS 7 e ho subito notato che non esiste più la funzione doppio clic su Home per poi chiudere del tutto i programmi utilizati prima. Per me era diventato proprio un'abbitudine di chiudere le applicazioni subito dopo l'uso per risparmiare anche batteria oltre a non consumare traffico internet. Qualcuno sa come si fa con iOS 7? Grazie mille, Giovanni.

    double click the home button and in the open apps preview(above the app icon), swipe it upwards to close

  • Close a transaction through ABAP program without user log off.

    Hi,
    I have to write an ABAP program that will check if a particular transaction (for example tcode VA01) is running than it must close the transaction.
    Please give me your inputs or sample code if possible.
    Thanks for your suggestions.
    --Sanjay

    Sanjay,
      Check with this how much it is going to help you out..
    PARAMETERS: p_user LIKE sy-uname.
    DATA: gt_user_info TYPE TABLE OF /sdf/user_context,
          wa_uinfo LIKE /sdf/user_context.
    START-OF-SELECTION.
      CALL FUNCTION '/SDF/MON_USER_MEMORY'
        TABLES
          modes = gt_user_info.
      CHECK NOT gt_user_info IS INITIAL.
      LOOP AT gt_user_info INTO wa_uinfo WHERE uname EQ p_user.
        IF wa_uinfo-tcode = 'VA01'.
          CALL FUNCTION 'TRANSACTION_ABORT'
            EXPORTING
              transaction_id = transaction_id
            EXCEPTIONS
              OTHERS         = 1.
         EXIT.
        ENDIF.
      ENDLOOP.
    Regards,
    CK

  • When I attempt to open firefox an error message appears telling me that firefox is already running, but I can't find it running. How do I do so or in any case close the already running Firefox process?

    When I attempt to open Firefox instead of Firefox opening, an error message appears saying "Firefox is already running but isn't responding. To open another window please close the existing Firefox process or restart the system.", but I can't find that process of Firefox in order to kill it, and after restarting the system there is still the problem. I have found an emergency fix to at least get online, and that is to use"Firefox_Profile_Manager" in the start menu's "run" start menu, but the
    Firefox that then opens is that one doesn't carry over what I had in my bookmarks but starts bookmarks anew.

    Sounds like it is hanging when you exit and later try to restart Firefox.
    * How to stop the running Firefox process
    ** In Task Manager, does firefox.exe show in the '''<u>Processes</u>''' tab?
    ** See: http://kb.mozillazine.org/Kill_application
    **Windows 7 users: http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576
    * What may cause Firefox to hang at exit
    **Windows 7 Task Manager: http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576
    ** http://support.mozilla.com/en-US/kb/Firefox+hangs
    ** http://kb.mozillazine.org/Firefox_hangs
    ** https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding
    * You may need to try Firefox Safe Mode
    ** You may need to use '''Safe Mode''' to locate the problem: ***See: http://kb.mozillazine.org/Safe_Mode
    ***Firefox 4 users, hold the Shift key while clicking the Firefox 4 desktop icon to enter Safe Mode.
    ***Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox.
    ****In Firefox 4, Safe Mode also disables Plugins and Hardware Acceleration.
    ****If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes '''<u>before</u>''' starting Safe Mode (In Firefox 4, Tools > Add-ons > Appearance). See: http://support.mozilla.com/en-US/kb/Using%20themes%20with%20Firefox#w_managing-themes-and-personas
    ****When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode".
    ****Test to see if the problem you are experiencing is corrected.
    *** If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it
    ***#by enabling '''<u>one at a time</u>''' until the problem reappears.
    ***#You can also enable a few at a time (3-5), keeping track of what you just re-enabled to see if the problem re-occurs; this will help narrow down the possibilities if you have a large number of add-ons.
    ***#'''<u>You MUST close and restart Firefox after EACH change</u>''' via File > Restart Firefox (on Mac: Firefox > Quit).
    ***#You can use "Disable all add-ons" on the Safe Mode start window.
    **See the following for more information
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+plugins
    *** http://support.mozilla.com/en-US/kb/Basic+Troubleshooting
    <br />
    <br />
    '''You need to update the following:'''
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *Shockwave Flash 10.2 r153
    *Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • My homepage will load about 30% and then i'm dead in the water. when i close firefox it appears to close but when i try to reopen it tells me that it's already running. started with beta 6 i deleated and loaded ver 5 no change

    when i start firefox, everything starts normal then my homepage (igoogle) starts to load, gets to about 30% and stops. from there i can click on links or bookmark and a new tab will open but no page will load. i can't get anywhere. then when i close firefox it appears to close normally but when i try to reopen firefox i get a message that firefox is still running but not responding and the only way to shut it down is to reboot. when it first occured i was running beta 6 (since it became available, i also used beta 4 & beta 5) i then uninstalled beta 6 and downloaded and installed ver 5 same problem. i then did a system restore to a time before the problem.. no luck. i'm not sure what to try next. IE & chrome both work fine

    I'm in exactly the same boat - dead at blue screen, only option is to salvage using target mode.
    I don't currently have access to another Mac to do target mode. I was planning to buy a new Mac this fall anyway, though. 2 questions in preparation for that purchase:
    1) Is there anything I can do before buying a new Mac to make the salvage process more successful? ie, should I spend the time and money going to the genius bar to have them help me get from totally crippled to partially crippled? (As for expertise, I'm a proficient consumer-grade user, but Apple Support walked me through the safe-boot process, etc.)
    2) Is Apple going to provide 10.5 once it is released to people who buy a new Mac in these 6 weeks pre-release?
    Thanks for your help,
    Bailey

  • I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.

    I cannot open my firefox broswer. The message box appeared that said a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. Under that there are debug and close program buttons.

    JackieMars71 I would recommend reviewing your installation log files to determine if there are any errors during the installation process.  You can find information on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors you discover to this discussion.

  • When one window containing 1 tab is closed, the other window with several tabs closes also

    I have a set of web pages that reproducibly causes Firefox to act incorrectly. When Firefox is first started I click the "Restore previous desktop" button. Then I have 2 Firefox windows. The first to open has 6 tabs; the second has 1 tab. When I close the 2nd window (with 1 tab), it also closes Firefox completely with no error message. When I run Firefox again, "Restore" creates both windows exactly as they were before.
    I don't know yet if the actual URLs make a difference, but here they are anyway:
    '''''Window 1:'''''
    https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F%3Fshva%3D1%26ui%3Dhtml%26zy%3Dl&bsv=llya694le36z&ss=1&scc=1&authuser=0&ltmpl=default&ltmplcache=2&from=login#inbox
    http://branamsmile.com/gum/?gclid=CLepiIaAhqkCFVJ25QodSyk1nw
    http://www.google.com/search?hl=&q=root+viewsonic+g+tablet&sourceid=navclient-ff&rlz=1B3GGLL_enUS412US412&ie=UTF-8&aq=0&oq=root+viewsoni
    ***** NOTE THIS TAB IS PROBLEMATIC *****
    When I press Alt+D, Ctrl+C, and Ctrl+V it into this comment box, I get
    '''woot'''
    When I look at the actual contents of the web page being displayed, it is the verizon wireless rebate page:
    '''www.verizonwireless.com/rebates'''
    The page has definitely finished being rendered (the refresh icon is displayed after the url "woot"), but the URL does not match the page. The URL displayed is not even in its proper form (i.e., www.woot.com).
    Remember that this page was RESTORED by Firefox from a previous session. It is as if I was on that tab at verizon, tried to go to woot.com by typing "woot" (which would of course bring up a search rather than the web page), DIDN'T PRESS ENTER, and Firefox is duplicating that entire sequence.
    ********* END PROBLEMATIC *************
    chrome://foxtab/content/newTabMessage.html
    https://www.bankofamerica.com/Control.do?page_msg=signoff&body=signoff
    '''''Window 2:'''''
    http://www.freewaregenius.com/2011/06/01/the-best-freeware-file-manager-a-comparative-analysis/
    With this exact set of windows and tabs, as restored by Firefox in a brand new instance of it, double-clicking the red Firefox in the top left corner of the 2nd window causes both windows to close.
    I wish I could save this configuration so I could always reproduce the error, but I need my computer :)

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • My iTunes isn't playing a movie, how do I fix it? I've rented a movie from iTunes on my PC but every time i try to play it, a notification appears saying that iTunes has stopped working and it closes the program.

    I've rented a movie from iTunes on my PC but every time i try to play it, a notification appears saying that iTunes has stopped working and it closes the program...how do I fix this???

    Try the following user tip:
    iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows

  • When i open a mozilla page it appears blurry. The mozilla, tools (etc...) options won't appear, just the minimize, maximize and close buttons

    i have on my pc windows 7 and yesterday i tried to open a mozilla page but it appeared blurry. on the page, the mozilla, tools (etc..)buttons dont even exist only the minimise, maximise and exit buttons. I unistalled it and reinstalled, restarted the pc it but i had the same problem. i checked with my firewall settings and it still didn't work. i also downloaded google chrome and it has the same problem but IE works just fine.

    hello foodel, [https://support.mozilla.org/en-US/questions/940393#answer-377118 from another user] we found out that this might be related to malware active on your pc. please close all firefox windows and try [[Troubleshoot Firefox issues using Safe Mode|running firefox in safemode]] (by pressing the shift key while you're starting it). in firefox safemode go to firefox > addons > extensions and remove the entry named "Codec v1.0" or any other addons that look suspicious & you have not installed intentionally. afterwards see if you can run firefox normally again...
    please also do an in-depth scan of your system with the security software already in place and/or a different tool like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & keep firefox and your plugins up-to-date in order to stay safe on the web.
    [[Troubleshoot Firefox issues caused by malware]]
    [[Update Firefox to the latest version]]
    https://www.mozilla.org/plugincheck/

  • Hello, what to do if a program crash? I was working in a power point presentation and suddenly the little rainbow circle appeared and can not close the program, thanks

    Hello, what to do if a program crash? I was working in a power point presentation and suddenly the little rainbow circle appeared and can not close the program, thanks

    Welcome to Apple Support Communities
    Press Alt, Command and Esc keys, select the crashed app and force quit it. Then, open this app again.
    If you didn't save this document, it's possible that you lost the changes you made unless you have OS X Lion or Mountain Lion and they saved your document automatically

  • Ipad takes photo every time I close the cover of its case. When I close the cover - it really does take a picture and saves a photo. Luckly, it make a click, and pictures are seen in the photo album, and it does not appear to be forwarding.

    When I close the cover - it really does take a picture and saves a photo. Luckly, it make a click, and pictures are seen in the photo album, and it does not appear to be forwarding. It is just gobbling memory and annoying as I can only delete these pictures one at a time.

    It seems to take a picture of the counter top = I do not see the keyboard.
    I am wondering ....It may be a kids game app that takes pictures of the screen or out the back camera. I am starting to think it may just be a sound effect when placing the iPad on its screen. So many things that may be unrelated but coincedental. It started in May (the sound) and so did the multiple pictures - starting to think they are not related.
    Thanks for the quick tip on deleting multiple pictures.

  • How to close the REOPEN container number in SAP ME5.1

    Hi,
    I found a issue maybe it is a bug for the 5.1, for the Pack/Unpack activity, when we unpack a container number which has already been closed status, and remove all their SFCs from this container number, and then this container number is changed to REOPEN status, but at this moment, I found this reopen container number has never been able to add any SFCs, and we are also not able to close this container number.
    In our system we have a lot of those kinds of REOPEN container number, but if there are any container contained the REOPEN container numbers, we couldn't change any information in the container maintenance, this is our problem, we want to find a solution how to fix this. Any idea of this kind of issue?
    Thanks a lot and best regards,
    Leon Lu

    Hi Sergiy,
    I also  would agree the container shouldn't be changed from the logic perspective if it has the OPEN/REOPEN container number, but here are the scenario why we want to change them:
    1. We use this pack/unpack function more than 4 years, we define the containers nearly without any limitations, because we select the pack level as Item, but put the pack value as * as well as shop order as *, which means, as long as users select this container, any available SFCs are able to be packed into this container. Recently we investigated out a few more powerful functionalities with your pack/unpack function, like, we can define the specific item numbers, so now users want to use this functionalities;
    2. Because in the container maintenance, we need configure the documents which will be used by this container for label printing, but our customers request to change the label templates, we create a new document but we found it is not possible to modify in the container maintenance.
    Creating a new container is a choice for us, but the problem is, the old one is still open, we can't delete/disable/hold (actually this is our purpose) this container because there are a lot of REOPEN container numbers, thus users are still able to select this container (actually it is  invalid) and pack SFCs into this container.
    As far as I identified, the ME5.2 doesn't have this limitation, I am curious that what the purpose you changed this logic in the new product, and how did you handle the logic what you have described:-)
    Thanks a lot and best regards,
    Leon Lu

  • Everytime I send an email the warning box appears--- WebKit2 WebProcess,exe has stopped working. Then I hit close program and it shuts me out of my inbox. If I don't close the warning box my computer stay s in limbo. What is is? It is not in my control pa

    Everytime I send an email the warning box appears--- WebKit2 WebProcess,exe has stopped working. Then I hit close program and it shuts me out of my inbox.
    If I don't close the warning box my computer stay s in limbo. What is is? It is not in my control panel and does not come up as a program in my computer.
    Help?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".

Maybe you are looking for