求助:com.atomikos.icatch.HeurHazardException: Heuristic Exception

问题描述

com.atomikos.icatch.HeurHazardException:HeuristicExceptionatcom.atomikos.datasource.xa.XAResourceTransaction.commit(XAResourceTransaction.java:770)atcom.atomikos.icatch.imp.CommitMessage.send(CommitMessage.java:72)atcom.atomikos.icatch.imp.PropagationMessage.submit(PropagationMessage.java:109)atcom.atomikos.icatch.imp.Propagator$PropagatorThread.run(Propagator.java:87)atcom.atomikos.icatch.imp.Propagator.submitPropagationMessage(Propagator.java:66)atcom.atomikos.icatch.imp.HeurHazardStateHandler.onTimeout(HeurHazardStateHandler.java:122)atcom.atomikos.icatch.imp.CoordinatorImp.alarm(CoordinatorImp.java:929)atcom.atomikos.timing.PooledAlarmTimer.notifyListeners(PooledAlarmTimer.java:112)atcom.atomikos.timing.PooledAlarmTimer.run(PooledAlarmTimer.java:99)atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)atjava.lang.Thread.run(Thread.java:662)javax.transaction.xa.XAException:DmdbXADataSource:resourcenolongeravailable-recoverymightbeatrisk!atcom.atomikos.datasource.xa.XAResourceTransaction.throwXAExceptionForUnavailableResource(XAResourceTransaction.java:313)atcom.atomikos.datasource.xa.XAResourceTransaction.testOrRefreshXAResourceFor2PC(XAResourceTransaction.java:285)atcom.atomikos.datasource.xa.XAResourceTransaction.commit(XAResourceTransaction.java:793)atcom.atomikos.icatch.imp.CommitMessage.send(CommitMessage.java:72)atcom.atomikos.icatch.imp.PropagationMessage.submit(PropagationMessage.java:109)atcom.atomikos.icatch.imp.Propagator$PropagatorThread.run(Propagator.java:87)atcom.atomikos.icatch.imp.Propagator.submitPropagationMessage(Propagator.java:66)atcom.atomikos.icatch.imp.HeurHazardStateHandler.onTimeout(HeurHazardStateHandler.java:122)atcom.atomikos.icatch.imp.CoordinatorImp.alarm(CoordinatorImp.java:929)atcom.atomikos.timing.PooledAlarmTimer.notifyListeners(PooledAlarmTimer.java:112)atcom.atomikos.timing.PooledAlarmTimer.run(PooledAlarmTimer.java:99)atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)atjava.lang.Thread.run(Thread.java:662)[HTHT-J2EE]WARN2015-02-2709:07:51,200(Log4JLogger.java:24)|Unexpectederrorincommitt:221369mmcom.atomikos.icatch.SysException:XAresource'DmdbXADataSource':commitforXID'3136392E3235342E3134382E32302E746D30303335393030303132:3136392E3235342E3134382E32302E746D333631'raised-7:theXAresourcehasbecomeunavailableatcom.atomikos.datasource.xa.XAResourceTransaction.commit(XAResourceTransaction.java:839)atcom.atomikos.icatch.imp.CommitMessage.send(CommitMessage.java:72)atcom.atomikos.icatch.imp.PropagationMessage.submit(PropagationMessage.java:109)atcom.atomikos.icatch.imp.Propagator$PropagatorThread.run(Propagator.java:87)atcom.atomikos.icatch.imp.Propagator.submitPropagationMessage(Propagator.java:66)atcom.atomikos.icatch.imp.HeurHazardStateHandler.onTimeout(HeurHazardStateHandler.java:122)atcom.atomikos.icatch.imp.CoordinatorImp.alarm(CoordinatorImp.java:929)atcom.atomikos.timing.PooledAlarmTimer.notifyListeners(PooledAlarmTimer.java:112)atcom.atomikos.timing.PooledAlarmTimer.run(PooledAlarmTimer.java:99)atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)atjava.lang.Thread.run(Thread.java:662)

时间: 2024-10-28 08:07:18

求助:com.atomikos.icatch.HeurHazardException: Heuristic Exception的相关文章

求助:java错误提示:exception in thread“main” java.lang.

问题描述 安装ontopia的时候,测试环境结果出错了提示:Exceptioninthread"main"java.lang.NoClassDefFoundError:net/ontopia/ontopiaCausedby:java.lang.ClassNotFoundException:net.ontopia.ontopiaatjava.net.URLClassLoader$1.run(UnknownSource)atjava.security.AccessController.do

Spring多数据源分布式事务管理/springmvc+spring+atomikos[jta]+druid+mybatis

项目进行读写分离及分库分表,在一个业务中,在一个事务中处理时候将切换多个数据源,需要保证同一事务多个数据源数据的一致性.此处使用atomikos来实现:最后附源码: 1:spring3.0之后不再支持jtom[jta]了,第三方开源软件atomikos(http://www.atomikos.com/)来实现.  2:org.springframework.transaction.jta.JotmFactoryBean类,spring-tx-2.5.6.jar中有此类,spring-tx-3.0

SSH 中 atomikos集成JTA 事务无法回滚

问题描述 applicationContext.xml配置文件如下<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:aop="http://w

Atomikos多数据源配置项目实例

applicationContext.xml [html] view plain copy  print? <?xml version="1.0" encoding="UTF-8"?>   <beans xmlns="http://www.springframework.org/schema/beans"       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc

分布式事务系列(4.1)Atomikos的分布式案例

1 系列目录 分布式事务系列(开篇)提出疑问和研究过程 分布式事务系列(1.1)Spring事务管理器PlatformTransactionManager源码分析 分布式事务系列(1.2)Spring事务体系 分布式事务系列(2.1)分布式事务模型与接口定义 分布式事务系列(3.1)jotm的分布式案例 分布式事务系列(3.2)jotm分布式事务源码分析 分布式事务系列(4.1)Atomikos的分布式案例 2 Atomikos使用非XA数据库驱动实现分布式事务 项目地址见:Atomikos使用

exception; Another resource already exists with name - pick a diffe

问题描述 我使用了atomikos来实现JTA事务,之前一直运行好好的,可是最近一直报个问题 Caused by: javax.naming.NamingException: Another resource already exists with name dataSource_mailbill_slave - pick a different nameat com.atomikos.util.IntraVmObjectFactory.createReference(IntraVmObject

spring分布式事物-atomikos mssql报错Error in recovery以及找不到存储过程

问题描述 atomikos mssql报错Error in recovery以及找不到存储过程 如题,我使用atomikos做spring分布式事物,同时支持Oracle.MySQL和MSSQL三种数据源.目前Oracle和MySQL都能调通,在测试MSSQL的过程中,一直报错. 错误如下: 2015-06-03 14:08:45,911 WARN com.atomikos.datasource.xa.XATransactionalResource.logWarning:24 - Error i

急!!!!求助 ,spring异常问题

问题描述 急!!!!求助 ,spring异常问题 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing

beanutils-我用BeanUtils时,怎么也拷贝不了,也没报任何错误,求助

问题描述 我用BeanUtils时,怎么也拷贝不了,也没报任何错误,求助 @Test public void testBean() throws Exception{ User user1=new User(); User user2=new User(); user2.setUsername("sssssssdsadss"); user2.setUserId(223); user2.setPassword("dsds"); BeanUtils.copyProper