开发者社区 > 云原生 > 中间件 > 正文

Seata中出现下面的问题怎么解决啊?

Seata中出现下面的问题怎么解决啊?

### Error updating database.  Cause: java.sql.SQLException: java.sql.SQLException: io.seata.core.exception.RmTransactionException: Response[ TransactionException[Could not register branch into global session xid = 172.19.160.1:8091:9288436426342401 status = TimeoutRollbacking while expecting Begin] ]
### The error may exist in cn/dao/PersonDao.java (best guess)
### The error may involve cn.dao.PersonDao.insertPersonNxMajor-Inline
### The error occurred while setting parameters
### SQL: insert into person_nx_major (personId,majorId,trainhospitalId) VALUES(?,?,?)
### Cause: java.sql.SQLException: java.sql.SQLException: io.seata.core.exception.RmTransactionException: Response[ TransactionException[Could not register branch into global session xid = 172.19.160.1:8091:9288436426342401 status = TimeoutRollbacking while expecting Begin] ]
; uncategorized SQLException; SQL state [null]; error code [0]; java.sql.SQLException: io.seata.core.exception.RmTransactionException: Response[ TransactionException[Could not register branch into global session xid = 172.19.160.1:8091:9288436426342401 status = TimeoutRollbacking while expecting Begin] ]。

展开
收起
哈喽!小陈 2022-07-11 14:45:17 2196 0
0 条回答
写回答
取消 提交回答
问答地址:

为企业提供高效、稳定、易扩展的中间件产品。

相关电子书

更多
Nacos架构&原理 立即下载
《Seata 1.3 新特性以及如何参与社区》 立即下载
基于HLC的分布式事务实现深度剖析 立即下载