Help needed - transaction atomicity did not happen

          Hi -
          We recently encountered a strange problem. Due to a bad search query in another
          application, our Oracle RDBMS was running our of SGA and causing transactions
          to fail.
          What makes us worry more is that we had transactions spanning 2 entity beans part
          committed and part rollbacked! The following scenario describes:
          In a single method XX within a Session Bean facade, we have
          call entity bean A to create (CMP, transaction REQUIRED)
          call entity bean B to create (CMP, transaction REQUIRED)
          .some logging info here at point 1
          From our debug log, the program cleary runs to point 1. And the data written
          by entity bean B was committed and found in database. But the one written by
          entity Bean A is NOT! There is an exception for rollback in the log.
          Q1. How does container commit work? Can an execution continue till the return
          of method XX before the container tries to commit and get an error?
          Q2. Also, why isn't the whole transaction rollbacked? What are we missing?
          We are using TxDataSource, and db driver is weblogic.jdbc.oci.Driver.
          Any help and pointer appreciated. Thanks!
          ph
          

Sounds as if your session facade method XX does not open a transaction.
          Then you have two transactions, A and B, which can be rolled back or
          committed independent of each other.
          Try setting transaction required for the method XX.
          Also, in the entity beans, you can use
          weblogic.transaction.TxHelper.getTransaction().getName() or getXid() to
          find out if A and B use the same transaction or different ones.
          Philip
          Pow-hwee Tan wrote:
          > Hi -
          >
          > We recently encountered a strange problem. Due to a bad search query in another
          > application, our Oracle RDBMS was running our of SGA and causing transactions
          > to fail.
          >
          > What makes us worry more is that we had transactions spanning 2 entity beans part
          > committed and part rollbacked! The following scenario describes:
          >
          > In a single method XX within a Session Bean facade, we have
          >
          > call entity bean A to create (CMP, transaction REQUIRED)
          > call entity bean B to create (CMP, transaction REQUIRED)
          > .some logging info here at point 1
          >
          > From our debug log, the program cleary runs to point 1. And the data written
          > by entity bean B was committed and found in database. But the one written by
          > entity Bean A is NOT! There is an exception for rollback in the log.
          >
          > Q1. How does container commit work? Can an execution continue till the return
          > of method XX before the container tries to commit and get an error?
          >
          >
          > Q2. Also, why isn't the whole transaction rollbacked? What are we missing?
          >
          > We are using TxDataSource, and db driver is weblogic.jdbc.oci.Driver.
          >
          > Any help and pointer appreciated. Thanks!
          >
          > ph
          >
          

Similar Messages

  • Failover did not happen when network switch went down!!! PLEASE HELP

    Hi gurus,
    Yesterday one disaster struck my RAC database. We have two node cluster and it is 10.2.0.2, both of them located in different sites, yesterday suddenly power went down and the one of the network switch went down and got destructed, node one of RAC database was connected to that switch, but the failover did not happen to the node two as this should be the case when one node goes down the other should be available for all the node one sessions/connections.
    when I tried to ping/telnet the node 1, it was not happening because the switch was down, the network guyz connected the cables to other switch available. When I connected to the node 1, it was showing "Oracle is not available" message.
    And when I tried the other node, it was the same case but I did not see any error in alert log file. Then my TL restarted both the nodes and then the database was available.
    I am very confused that how the failover did not happen and how the database went down, PLEASE suggest something to how to identifiy what was happened. Thanks & Regards
    Edited by: user1221 on Mar 18, 2009 1:09 AM

    About Oracle RAC ... you have 2 nodes ... You have to connect 4 IPs.
    I mean
    - IP public node1
    - IP public node2
    - IP Virtual node1
    - IP Virtual node2
    When node1 down
    You can not ping "IP public node1", but you should ping "- IP Virtual node1", because it should up on node2.
    But not bind 1521 port.
    Idea about failover
    you have to create new difference Service...on RAC Database!
    and on your client have to set TNS to on failover and balance (if you used OCI), you can use TAF feature
    Example:
    DB =
    (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = db01-vip)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = db02-vip)(PORT = 1521)) (FAILOVER=ON)(LOAD_BALANCE = yes) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = NEW_SERVICE_DB) (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC) (RETRIES = 180) (DELAY = 5))))
    If you use JDBC, can not use TAF.
    Anyway, I suggest you read more about RAC on http://otn.oracle.com/rac and http://oracleracsig.org
    Good Luck

  • Failover did not happen when one node went down!!! PLEASE HELP

    Hi gurus,
    Yesterday one disaster struck my RAC database. We have two node cluster and it is 10.2.0.2, both of them located in different sites, yesterday suddenly power went down and the one of the network switch went down and got destructed, node one of RAC database was connected to that switch, but the failover did not happen to the node two as this should be the case when one node goes down the other should be available for all the node one sessions/connections.
    when I tried to ping/telnet the node 1, it was not happening because the switch was down, the network guyz connected the cables to other switch available. When I connected to the node 1, it was showing "Oracle is not available" message.
    And when I tried the other node, it was the same case but I did not see any error in alert log file. Then my TL restarted both the nodes and then the database was available.
    I am very confused that how the failover did not happen and how the database went down, PLEASE suggest something to how to identifiy what was happened. Thanks & Regards

    Thanks for your reply,
    after the network switch was replaced we connected to both the nodes and found that the instances are down with no reason given in the Alertlog file. We just restarted both the instances and then the database was up and the clients connected to both the instances with equal sessions on both the instances. I want to know that whether the failover can be done at the application side or it should be done on the database side i,e; in tnsnames.ora file with the required parameters? as in our scenario there is no failover configuration in the tnsnames.ora file.
    Thanks & Regards

  • After upgrading to IOS 8 on my iPad I constantly get a temperature warning despite the fact it is cool. Did not happen with IOS 7. I have restored the iPad to factory settings with the problem not resolved.

    After upgrading to IOS 8 on my iPad I constantly get a temperature warning despite the fact it is cool. Did not happen with IOS 7. I have restored the iPad to factory settings with the problem not resolved.

    Hey, I've got the same problem. Did you find any help or solution by now?

  • I have clicked the Apple  Software Update,a window pops up with Failed to check for updates.The operation couldn t be completed. Operation not permitted.This only occurring now did not happen previously.I am using 10.7.4,on a Mbp Pro.

    I have clicked the Apple > Software Update,a window pops up with >Failed to check for updates.
    The operation could not completed. >Operation not permitted. This is only occuring now.It did not happen
    before.The Apple store in Sydney NSW Australia only reinstalled 10.7.4 Lion yesterday.I have downloaded my
    Itunes song and reinstalled Intego antivirus.Will somebody please advise me what to do.It is 4:03 PM Saturday
    here in Koolewong.
                        richard.

    Uninstall Intego...you don't need it.

  • When I select "open a new tab" the tab opens in a different window than the one I'm using. This is release 11.0, and did not happen in 10.0

    When I select "open a new tab" the tab opens in a different window than the one I'm using. This is release 11.0, and did not happen in 10.0

    Hi,
    Please check if '''Open new windows in a new tab instead''' is enabled in '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Tabs'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Tabs%20panel Options > Tabs]. If the problem persists, please also check if this happens in a [https://support.mozilla.org/en-US/kb/Managing-profiles new profile]. If the new profile is okay, you can later [https://support.mozilla.org/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile?s=profile&r=1&e=sph&as=s copy the needed personal data] from the old profile. Firefox stores your personal data and settings in [http://kb.mozillazine.org/Profile_folder another location (profile folder)] separate from its [http://kb.mozillazine.org/Installation_directory files/folder]. A new profile would have the default Firefox settings ('''Tools''' ('''Alt''' + '''T''') > [https://support.mozilla.org/en-US/kb/Options%20window '''Options'''], and [http://kb.mozillazine.org/About:config about:config] ), and usually would also be empty of any '''Extensions''' and themes ('''Appearance''') in Tools > Add-ons) and their settings. Also, a new profile would have no previous stored website data/settings etc., ('''Tools''' > [https://support.mozilla.org/en-US/kb/Clear%20Recent%20History '''Clear Recent History''']).
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder & Files]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]

  • I lost power to my MacBook Pro before I had saved anything that I was working on...usually I plug my computer it and power it back on and the documents pop right back up when the computer turns on. That did not happen this time.How can I recover this data

    I lost power to my MacBook Pro before I had saved anything that I was working on...usually I plug my computer it and power it back on and the documents pop right back up when the computer turns on. That did not happen this time. How can I recover my documents?

    If you never saved, auto save does not kick in.
    Peter

  • I was trying to get the iOS 8.2 on my iPhone 5 but then it stopped and my phone is now on recovery mode I have pictures I need and they did not all fit on iCloud  how can I use the phone again with ALL my pictures and videos without restoring it?

    I was trying to get the iOS 8.2 on my iPhone 5 but then it stopped and my phone is now on recovery mode I have pictures I need and they did not all fit on iCloud  how can I use the phone again with ALL my pictures and videos without restoring it?

    Contacts are designed to be synced to a supported application on the computer or a cloud service.
    Pictures taken with the device are designed to regularly be copied off the device to a computer as would be done with any digital camera.
    If you have failed to use the device as designed it may be too late to recovery anything.
    Is the device regularly backed up to a computer via iTunes?  If so, the most recent backup (when restored to a replacement iOS device) should contain all contacts and pictures as of when the backup was created.

  • After upgrading to IOS 8 on my iPad I constantly get a temperature warning despite the fact it is cool. Did not happen with IOS 7

    After upgrading to IOS 8 on my iPad I constantly get a temperature warning despite the fact it is cool. Did not happen with IOS 7. I have restored the iPad to factory settings with the problem not resolved.

    Both of you please choose the correct forum to start a new topic thread.  Classic has nothing to do with iOS.
    Site map of Communities and Categories

  • Whenever I run Firfox 4.0, my computer fan runs continuously. I have disabled all plug-ins, and I get the same result. This did not happen with Firefox 3.x, and it doesn't happen with IE 8.0. Any ideas?

    Whenever I run Firfox 4.0, my computer fan runs continuously. I have disabled all Firefox plug-ins, but I get the same result. This did not happen with Firefox 3.x, and it doesn't happen with IE 8.0. Any ideas?

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • I recently forgot the password for my iTunes UK account with 100 pounds of credit. I called apple and said no one could help me if I did not know the security questions. Really?

    I recently forgot the password for my iTunes UK account with 100 pounds of credit. I called apple and said no one could help me if I did not know the security questions. Really? This company that pretty much can do anything is not able to tell me what the password is?
    Any help i appreciated!!!! what doe aApple do with all the unclaimed money from lost or forgotten accounts?
    Jeffrey

    For a forgotten password: go to http://iforgot.apple.com and sign in with your iCloud login. A new password will be sent to your associated email address. If this doesn't work you will have to contact Support. Go to https://getsupport.apple.com; click' See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Lost or forgotten Apple ID password'.
    For forgotten security questions log in at http://appleid.apple.com and click 'Password and Security' in the sidebar. There should be a link in the Security Questions section to send the answers to an email you have specified. Failing this, go to https://getsupport.apple.com click 'See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Forgotten Apple ID security questions'.

  • My aunt recently upgraded her software to ios 6 and lost all of her contacts.  However, when I updated my software this did NOT happen.  She hasn't backed up to iCloud, so does anyone know of a way to restore her contacts without the iCloud?

    My aunt recently upgraded her software to ios 6 and lost all of her contacts.  However, when I updated my software this did NOT happen.  She hasn't backed up to iCloud, so does anyone know of a way to restore her contacts without the iCloud?

    Her contacts would be wherever she put them
    The iphone is designed to be synced to your computer or cloud service regularly.  If she failed to do this, then they are likely gone.

  • Since I updated to firefox 3.6 I keep gettin multiple popup windows. This did not happen until after the update. The popups appear as regular windows so popup blockers can not stop them.

    Since I updated to firefox 3.6 I keep gettin multiple pop up windows. This did not happen until after the update. The pop ups appear as regular windows so pop up blockers can not stop them. Why has the new update made my laptop more vulnerable. updates are supposed to be improvements!
    == This happened ==
    Every time Firefox opened
    == as soon as I updated to ver 3.6

    Im having the same problem, I updated my Iphone 4S to 6.1.3, shortly after that my phone had no audio. It was working fine one minute and then stopped. Was listening to music when sound gave out on me. It wont ring, phone just vibrates even after turning off vibration option. I've tried all the options listed and nothing. My phone has never been jailbroken either. If I connect the earphones is works perfectly. On one of my last calls received, phone's ringtone was heard for about 2 seconds before muting and just vibrating. Ringtone sounded perfect, speakers did not sound damaged. 
    What else could be done? I've read several post regarding this and it seems like Apple has no solution to this yet. Very dissappointed.

  • Set homepage to My Yahoo close firefox and reopen and My Yahoo gone back to the main Yahoo page. I open wall street journal I need to log in everytime I exit and re-enter. websites with passwords, password does not show up. did not happen in Firefox 3.6

    My baseball forum used to log in as soon as I open bookmark. Now must enter name password to log in. Exit page come back I have to log in again. None my user names passwords stay in the boxes or remain after logging out. I did not set the Permanent privacy mode and then I did set the Permanent mode and neither changes this. I have Accept cookies enabled. I have remember passwords checked. ???

    Try clearing your Cookies for the affected websites. <br />
    Tools > Options -> Privacy - Cookies = Show Cookies ''button'' <br />
    Enter the domain in the Search bar at the top and all the Cookies for that URL will appear. Unless you can figure out which Cookie is for "remember me", you'll need to delete them all.
    Hold the {Ctrl} key while you click on each Cookie in the small window. When that list is all highlighted, click the Remove Cookie ''button'' in the lower left. <br />
    When you are done click Close.
    If that problem persists, you might need to delete the __cookies.sqlite__ file in your Profile folder.
    [http://support.mozilla.com/en-us/kb/Profiles#How_to_find_your_profile]
    ''You might need to unhide your "Hidden files and folders" thru Folder Options in the Windows Control Panel''

  • HT201401 My IPhone4 is in a coma.  Will not reboot even when fully charged and using reboot techniques listed in forum.  Any suggestions?  I have some pics and contacts I need.  I did not backup!

    I would appreciate any suggestions you might have.  I did not back up my IPhone4 - stupid on my part.  It just quit the other day.  It is in a coma.  I have tried recharging and rebooting to no avail.  My greatest concern are several pictures that I cannot replace.  Is their an internal sim card that perhaps could be recovered.  I need to return the phone to Verizon as they mailed me a replacement due to the fact that no one at the local Verizon store could awaken the phone.  Please help if you have ANY suggestions!  Of course, i will backup everything in the future - just hoping for a chance with these pics and contacts.

    I ceaned the fan, the computer shuts down when I hit ENTER after logging in (again, i have a password set)
    I did manage to do a a start-up repair w/out the comp shutting down half way through. This was in the detailed diagnosis and repair:
    Root Cause Found:
    Boot critical file d:\windows/system32\kdcom.dll is corrupt.
    Repair action: File Repair
    Result: Failed. Error Code= 0x490
    Time Taken:5460ms
    Repair Action: system restore
    result: Completed successfully. Error Code= 0x0.
    I also get a message::
    Windows cannot repair this computer automatically.
    If you have recently attached a device to this computer, such as a camera or portable music player, remove it and restart your computer. If you continue to see this message, contact your system administrator or computer manufacturer for assistance.
    **any of this help you??**
    I appreciate your help!!

Maybe you are looking for

  • One way to get an iPhone out of Recovery Mode.

    So browsing through this forums and many others trying to figure out how I can update to iOS5 with out error codes, I have noticed a lot of people are "bricking" their iPhones. This is the solution I use, and it does the trick everytime. Make sure wh

  • Automatic row processing insert fail

    Hi all, Application Express 3.2.1.00.11 Oracle Database 10g Release 10.2.0.3.0 - 64bit Production I am running into a problem where my automatic row processing will update and delete records but will not insert. I get the following error. ORA-44003:

  • Problem getting (ALT key) to work in Flash

    Hi All, I hope there is somebody who can help me with the following issue: I can not get ALT key to work in Flash, if I want to use it in combination with other keys nor I can use it alone. For example, I have created an application which requires th

  • Need Documentation on how to intehrate Exchange server 2007 with SAP portal

    hi, i need some documentation on how to integrate microsoft Exchange server 2007 with SAP portal. can anybody help?

  • TAX SUMMARY REPORT: Credit from previous months

    Dear experts, I have a problem in the Tax Summary Report. In this report there is a wrong value in the fiel "credit from previous months". The correct value is "0" but in the report I find another value. I print the report of the previous months and