You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/03/23 03:35:49 UTC

[GitHub] [incubator-shardingsphere] cherrylzhao commented on issue #4886: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: com/atomikos/icatch/HeuristicMessage

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:
users@infra.apache.org


With regards,
Apache Git Services