解决atomikos事务超时(com.atomikos.icatch.RollbackException: Prepare: NO vote)
程序员文章站
2022-05-23 11:21:30
...
添加配置文件jta.properties
com.atomikos.icatch.service=com.atomikos.icatch.standalone.UserTransactionServiceFactory
# Set the default timeout (in milliseconds) for local transactions
# 默认的超时时间 600000 --> 10分钟
com.atomikos.icatch.default_jta_timeout = 6000000
# Set the max timeout (in milliseconds) for local transactions
# 0表示无限
com.atomikos.icatch.max_timeout = 6000000
其他属性设置请参考官方文档
https://www.atomikos.com/Documentation/JtaProperties
上一篇: 应该从哪里学php怎么着手
下一篇: 为何前端面试官都喜欢问闭包?