Transaction

Hi all

I'd like to understand how transactions are managed in weblogic.

I have basic information on the transaction manager, resource manager, and the Protocol of validation in Phase 2.

However, I want to understand the transaction in a lot more details.

For example, when there are several resources involved in a transaction such as databases, foreign JMS provider... etc.

Want to understand in detail how transaction begins, how the transaction manager communicates with all the resources (XA, XA - no), how the appeal of preparation is done, what is happening in the restoration, how transaction can be cancelled or be lost etc.

I know that we can apply some debugs like JTA2PC, JTALifecycle, JTAXA, JTAPropagate etc, but my biggest concern is how to analyze these logs and identify the problem.

There is no document on the Oracle Support Site to understand even in depth.

Would appreciate if someone can provide me with some documents, some good links (apart from what we have in the docs of weblogic), or with some examples explaining the same.

Thank you
Stacey.

There is TX fairly extensive documentation in the related document:

JTA Guide:
http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13731/TOC.htm

Chapter of the TX JMS Guide: http://download.oracle.com/docs/cd/E14571_01/web.1111/e13727/trans.htm#i1039351

FAQ of JMS to JMS integration:
http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13727/Interop.htm#JMSPG553

JDBC Guide:
http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13737/TOC.htm

Store Tuning Guide:
http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13814/storetune.htm#i1133307

Store administration guide:
http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13701/store.htm#CNFGD221

Monitoring and management API Guide:
http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13736/TOC.htm

1: What are the reasons for a transaction to A:, B: Commited, C: abandoned?

Commits occur when a container calls commit for a CMT (container managed by tx), or when an application calls commit (BMT - managed bean tx).

Cancellation and abandonment are generally considered to be synonymous. This is mainly due to applications of 'dismantling' on a tx or a tx out timing before commit is called (default timeout is 30 seconds). They are sometimes due to "veto" to a tx participating resources (for example, a database of 'DISMANTLING' of return when the transaction manager calls "ready" on the DB resource). And, rarely, they are due to the participating resources catastrophic failure--for example, a resource indicates a transaction manager that it is capable of filling a tx turning 'OK' to prepare, but then subsequently turns unable to honor a later call the transaction manager to 'commit '. Transactions that are found in this State are called 'heuristic' or 'heuristic '.

2: when we allow him debugs related to transactions, what precisely we need to look in the logs of Weblogic.
Example a proper sequence could be... xa.start DONE, xa.end, xa.end DONE, xa.start, xa.commit, xa.commit DONE... etc?

The main ones are 'prepared' and 'dismantling' and 'commit '. Prepare is called only for 2PC (see description below 2PC).

3: in what scenarios are the Tlogs used or useful?

Among other things, tlogs store information for each resource of participant (such as WL stores and databases), as well as for each transaction "two phases.

Two-phase transactions are that involve multiple resources - each 2PC creates a "two-phase commit" record of TLOG when tx is posted. More precisely a fully successful 2PC on TX implies the TM, calling for 'prepare' every resource of participation, each resource back 'OK' of preparation, write a record of 2PC in the TLOG and then calls commit on each resource.

A 1PC tx is to call "commit" on a single resource.

4: is there a utility / setting / option that can tell us... OK x number of transactions have been committed, is the number of transactions has been abandoned?

Yes. You can view the tx through the console of WL stats, java mbeans or WLST scripts.

Send me an email to "barnes_bea at yahoo.com" and I can return a dump stat program I use (he calls the mbeans of java). Might take a while - I only check that the e-mail address rarely...

5: What are the recommendations / advice / instructions when you use transactions?

My main guide line: in WebLogic, keep in mind that the TLOG is always located in the default file of the server store. Make sure you protect/synchronous-replicate files for this store if you need HA/failover. Research of the doc for 'whole server migration' and 'automatic service migration' for more information on failover. Tuning default file storage affects reliability and performance TLOG.

Hope this helps,

Tom

Tags: Fusion Middleware

Similar Questions

  • Several weeks ago, Firefox displays a receipt for a transaction at Costco and become totally insensitive. He still goes there when opened.

    When you complete a transaction at the Costco Photo, my display reception and Firefox has become totally insensitive. He was waiting for something, and the led was "busy". He couldn't be stopped using the Tak Manager to complete the process. Therefore, whenever Firefox is opened, he went straight to this page and became unresponsive. I uninstalled Firefox and use another browser for several weeks, but when I reinstalled Firefox and its opening, the same reception screen appeared, the 'busy' circle and Firefox could only be stopped by the Task Manager. I erased some cache and browsing history, but nothing is. Any ideas?

    You all link shortcut on the desktop you? Use one of them. Or,
    If you have a Firefox icon in your taskbar, right click and select
    Open a new window.

    This add-on can stop these pages; disable the button Script {web link}
    The button reject Script resembles the letter "M" and the title is the least Script, drag-and - déposer the button on a toolbar. If the button does not appear while nothing works, except rules of plug-ins.

    Type of topic: customization< enter > in the address bar.
    In the new window, locate the icon of the button Script reject. When you find
    it, hold down the left button on it and move it to where you want it to be.
    I suggest just to the right of the address bar.

    If your browser is locked up, just press the icon and close this tab.

  • When Mozilla online banking does not permit me to see the details of a transaction so that Internet Explorer will allow it. Mozilla has been done, but not now.

    I do my banking online with Bank of America, usually using Mozilla Firefox. Recently I noticed when I clicked on a banking transaction to see the "details" or print only this particular operation, it only allows me to see the details.

    Previously, whenever I clicked on a transaction, to see the image of a control I wrote for example, he always brought to the top of an image of the cheque. Now, he won't do it.

    If I use Internet Explorer, I can click on a specific bank transaction and see the details, exactly how I used to be able to do this with Mozilla Firefox.

    Therefore, the problem is with Mozilla and not the website of Bank of America, right?

    The suggestion to disable Adblock 2.4... "worked. "He solved my problem... Thanks a lot guys... problem solved with a click of the mouse. I can't tell you how much I appreciate the help... the technical support worked! Problem solved!

  • BofA transaction description links do not work in Firefox...

    Starting with 21 Firefox and now with Firefox 22.0, I can no longer edit the descriptions of the transactions in the current account Bank of America Online. By clicking on the links has no effect. This function worked in previous versions of Firefox, and it works in the latest version of Internet Explorer. Technical support of Bank of America blame Firefox for incompatibility.
    Any suggestions will be appreciated.

    Thank you. I discovered the whitelist to Ghostery option and now have the BofA site whitelisting. I have also informed the problem Ghostery.

  • Transaction declined and last four numbers on the sheet, not the same as the card is used.

    Transaction declined and last four numbers on the sheet, not the same as the card is in my wallet.

    Hello

    The latest figures, rare are the last four digits of your account number of device, not the last four digits of your credit card.

    To see these numbers on your iPhone, go to: portfolio > tap to select this card > press the 'i' icon (bottom-right) > under the heading card, information the last few digits of your card number and your account number of the device.

    The account number of the device is related to the unique combination of your credit card, pay more the device on which it has been added to Apple (IE an iPhone, iPad, or Apple Watch).

  • PIN denied but cc transaction work

    If I try to use my debit card to the flow on a transaction to pay Apple, I get refused to enter a wrong PIN. It works like a credit card. I wonder if I did something to the configuration that makes it this way.

    Hello

    When you use Apple pay in stores, if you are offered the choice of credit or debit card on the payment terminal, Apple recommends you always choose credit - regardless of the type of credit card you are using via Apple pay.

    Choose the debit may not always work with success - for example, with some former payment terminals and/or back-end systems.

  • Do all my purchased apps and transactions, transfer again ID after changing Apple ID?

    Hello

    I use my custom as my apple ID email address, but this year I decided to change my domain and ID.

    I've seen this before: https://support.apple.com/en-us/ht202667

    My question is:

    Do all my purchased apps and transactions, transfer again ID after changing Apple ID?

    Concerning

    Change the primary e-mail address on an account should not lose any content of the accounts - after changing your id: what to do when you have changed your Apple ID email address or password - Apple support (or disconnection across before changing preference and return with the updated later version)

    But if you are referring specifically to be able to redownload apps etc, they (and albums of music, etc.) could be removed from the Bank by the holder of the rights at any time, so you should not rely on the possibility of any element of the store to download again.

  • I can't find my Apple Watch recent transactions

    I can't seem to find the recent purchases of my Apple Watch in the application portfolio to wither my iPhone 6 s more or my Apple Watch. I don't know if this is done intentionally or if I'm just incompetent. If this was done intentionally I would really like it appears in the application portfolio on the iPhone. It gives me no I don't want to use my Apple Watch for purchases, if I'm not actually that much, I spent.

    Hello

    It is not currently possible to view your transaction history pay Apple on Apple Watch.

    If the same payment card has also been added to pay Apple to your iPhone, then it is possible that payments made via this card on your watch can be included in the transaction history within the portfolio on your iPhone app.

    On your iPhone, the information in the portfolio include:

    • Last trade: shown below a map after tapping to select;
    • Latest 10 transactions: showed after type a card and then tapping on the icon info ('i' in the bottom right of the screen).

    Depending on your card issuer, these information may present:

    • Only transactions that were paid for the use of Apple pay on your iPhone.
    • All transactions made with your card / bank account (including the use of the card itself and use on all devices that use this card with Apple pay - including your watch).

    Otherwise the confirmation of transactions is provided timely via your card / bank statements (as it would if you were using the card directly).

  • How to cancel a transaction pending have not

    How to cancel a transaction pending that I did not.

    Help here > How to report a problem with iTunes Store, App Store, Mac App Store, and iBooks Store buy

  • HP envy 14: refused the transaction

    Hi, I tried to buy envy hp 14 customized according to the requirements of my but after completing my payment information and complete the order I received a message from hp that my order was denied since my Bank refused transaction.but the reality is my Bank chargde me for my purchase, but hp declined transaction. I bought using international travel currency card line up a visa card.when I tried to enter billing information originally I didn't have another choice to enter a correct address because I am a student of the study of the India in us and it doent show any other country us at billing info.i am really disappointed with it.hope you can solve this

    sunny24 - wrote:

    Hi, I tried to buy envy hp 14 customized according to the requirements of my but after completing my payment information and complete the order I received a message from hp that my order was denied since my Bank refused transaction.but the reality is my Bank chargde me for my purchase, but hp declined transaction. I bought using international travel currency card line up a visa card.when I tried to enter billing information originally I didn't have another choice to enter a correct address because I am a student of the study of the India in us and it doent show any other country us at billing info.i am really disappointed with it.hope you can solve this

    Contact your CC on your problem.

  • In the monthly budget worksheet how to create a category of transaction and budgets?

    I'm trying to set up a monthly budget using the standard monthly budget provided with numbers worksheet.  I am trying to add additional categories rather than those generic that accompanies the program.  How can I create categories that can be used in the sections on budgets and transactions?

    The basic idea is to add the new category in the pop-up Menu in the cells in the column Category in the table "Operations".  (Format > cell > Data Format).

    Then add a line in the table "Summary by category" (or modify an existing line that you don't need).  Fill formulas in this line of the row above it.

    Category in the Menu and in the summary table name must be spelled the same.

    SG

  • Transactions pay Apple or "foreign".

    If I use Apple pay off United States and my underlying US issued credit card does not load a transaction with foreign tax, Apple will add a?  Who controls the exchange rate?

    Hello

    Fees and exchange rate are controlled by your card issuer, not by Apple. Apple will not charge you Apple pay user charges, either at home or abroad.

  • With auto-sync on Budget and transaction numbers?

    Don't make my budget with NUMBERS from the beginning of 2015, I had no problem in 2015 to get an automatic synchronization of the main table 'Budget' that reflects the exact date of my expenses. Now I'm in transactions in 2016 and the transactions of theses are added at the end of the 2015 operations. When I select only my transactions 2015 (or my 2016) equipped with a date filter (for example between 2015/01/01-31/12/2015 or before 12/31/2015), I have my transactions for 2015, which is what I want, but my main table 'Budget' continues to always give me the sum of all my expenses of 2015 and 2016 together. All automatic formulas (which worked well in all twelve months of 2015) do not work to reflect the selection, I would like to do on the date. I checked the different ways to enter the dates, and I use one of them? Could you help me find a solution? Thank you

    transactions are added regardless of the filter.

    I think I have uncontradicted formulas to calculate the amount if the transaction date is in the year that you are interested in.  Without seeing the specifications of your tables, it will be difficult to provide assistance more

  • Is there a place I can see all the Apple pay transactions outside bank statements

    ask yourself, is there a list of movements of Apple pays somewhere in my wallet account or Apple.

    Since then, I have two phones hooked up to 3 different cards it becomes cumbersome to look thorough all the instructions to find out according to bank statements

    Is there a place I can see all the Apple pay transactions outside bank statements

    N °

    TT2

  • When I click on the "buy now" button for gift of my friend and itunes, it says that I must contact the support of itunes store to complete the transaction, what should I do?

    When I click on the "buy now" button for gift of my friend and itunes, it says that I must contact the support of itunes store to complete the transaction, what should I do?

    Saiyan Minion wrote:

    He says I have to contact the itunes store support to complete the transaction, what should I do?

    He said the support to contact iTunes.

  • How can I check the Apple on Apple Watch pay transactions

    I use Apple Watch to pay for public transit.

    How can I check the transactions I do using Apple Watch?

    Hello

    It is not currently possible to view your transaction history pay Apple on Apple Watch. Confirmation of transactions is provided timely via your card / bank statements (as it would if you were using the card directly).

    Apple pay collects no information concerning the transaction that can be linked to you. Payment transactions are between you and the Merchant (or the application for payments within applications developer) and your card issuer.

    If you have the same payment card added to pay Apple on an iPhone or an iPad, then it is possible that payments made through this same map on your watch can be included in the history of transactions (the last 10 transactions) that is displayed in the application portfolio on your other devices. Depending on the issuer of your card:

    • You can only view transactions made with this device, or;
    • You can see all transactions made using this payment card account (including its use via Apple pay on all devices and the use of the actual card).

    When you view a map in the application of portfolio (by pressing the card), the latest transaction will appear under the photo on the card. To see the 10 last transactions, then press the 'i' icon in the bottom right of the screen.

    If you prefer that the transaction history is available on your watch, you can inform Apple here:

    https://www.Apple.com/feedback/Apple-pay.html

Maybe you are looking for

  • Need of SDRAM for my Tecra 8100

    Hello everyone. I would like to buy a souvenir for my Toshiba Tecra 8100It is and must be SDRAM 256 MB PC100 144pin - may by already used but functional It is too difficult to buy in my countryI can pay for it about 20 euros Thank you

  • Cartridges found printing or misssing

    No idea how to do to pass this message on my screen of the printer. The cartridges are properly housed certaainly, but the thing will not accept the fact. I am able to pass this message please? Pete

  • No response after entering mode 'sleep'

    Hello I have a T530 with Windows 7 Pro x 64. I have a problem I had on my old computer with two Windows 7 and 8 installed again on this new lenovo computer. I really do trust stanby, so I can count on her to leave again if I close the lid or in anoth

  • Cannot install updates of work

    He continues to tell me in Windows Update I have to install this update and then attempt to install without an error-error code. Any other update isnatlled, but this one simply refuses to and I tried these last days to install several times.

  • deleting files in drive d

    I'm unable to delete files in my drive d. I never created them I do not know where they cam since I am the only user... I tried to change the property... nothing works... any ideas on how to remove them?