com.atomikos.icatch.HeurHazardException: Heuristic Exception

本文介绍了一种常见的启动时错误排查方法,重点在于如何定位并解决日志文件被锁定导致的jta日志配置加载失败的问题。

先看看错误;



在查找启动时的日志;

仔细查找出错的地方,然后看看上下文;错误很明显了,日志文件被锁住了,在加载jta日志配置时尝试写入报错


10:33:18.623 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - Loaded jar:file:/D:/maven-res/com/atomikos/transactions/4.0.6/transactions-4.0.6.jar!/transactions-defaults.properties 10:33:18.631 [main] WARN c.a.i.p.i.AssemblerImp - [logWarning,24] - Thanks for using Atomikos! Evaluate http://www.atomikos.com/Main/ExtremeTransactions for advanced features and professional support or register at http://www.atomikos.com/Main/RegisterYourDownload to disable this message and receive FREE tips & advice Thanks for using Atomikos! Evaluate http://www.atomikos.com/Main/ExtremeTransactions for advanced features and professional support or register at http://www.atomikos.com/Main/RegisterYourDownload to disable this message and receive FREE tips & advice 10:33:18.642 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.default_max_wait_time_on_shutdown = 9223372036854775807 10:33:18.643 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.allow_subtransactions = true 10:33:18.643 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.recovery_delay = 10000 10:33:18.644 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.automatic_resource_registration = true 10:33:18.644 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.oltp_max_retries = 5 10:33:18.645 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.client_demarcation = false 10:33:18.646 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.threaded_2pc = false 10:33:18.646 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.serial_jta_transactions = true 10:33:18.647 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.log_base_dir = D:\qz\yjs-202534-server\transaction-logs 10:33:18.647 [main] INFO c.a.i.p.i.AssemblerImp - [logInfo,28] - USING: com.atomikos.icatch.rmi_expor
最新发布
03-08
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值