cherrylzhao commented on issue #4886: Handler dispatch failed; nested exception 
is java.lang.NoClassDefFoundError: com/atomikos/icatch/HeuristicMessage
URL: 
https://github.com/apache/incubator-shardingsphere/issues/4886#issuecomment-602367266
 
 
   hi, this configuration is not needed, ShardingSphere have wrapped the XA 
transaction manager, you can use it just like local transaction. 
   ```
   //XA事务
   @Bean(name = "shardingTransactionManagerXA")
   public ShardingTransactionManager transactionManagerXA() {
       return new AtomikosTransactionManager();
   }
   ```
   also you should make sure our XA transaction example can run in your local 
environment at first
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to