Atomikos distributed transactions

Source: Internet
Author: User

Atomikos distributed transactions

Atomikos:
1. jta. properties:
Com. atomikos. icatch. output_dir =/datayes/atomikos
Com. atomikos. icatch. log_base_dir =/datayes/atomikos
If one tomcat has two atomikos applications, the two applications should not share the same location.


2. The datasource user name and password url are incorrect. The application will fail to start, and there are no error logs. No new logs will be output when the log is hit.


3. MySQL XA bug
Some users have reported problems with MySQL XA (related to this MySQL bug: http://bugs.mysql.com/bug.php? Id = 27832 external). This problem only happens if you access the same MySQL database more than once in the same transaction. A workaround can be setting the following property in jta. properties:


Com. atomikos. icatch. serial_jta_transactions = false
Also, make sure to set the following property on the MySQL datasource:

PinGlobalTxToPhysicalConnection = "true"
MariaDB's java driver also supports this workaround since v.1.1.8

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.