2023年7月23日
摘要: 死锁异常: org.springfreamwork.dao.DeadlockLoserDataAccessException:...... Cause:java.sql.BatchUpdateException:Deadlock found when trying to get lock;try r 阅读全文
posted @ 2023-07-23 17:06 北方白杨 阅读(230) 评论(0) 推荐(0) 编辑
  2023年6月20日
摘要: 会话1: select sleep(500) from t_biz1 where ..... 会话2: set session wait_time_out = 5000; flush tables with lock; 会话3: select * from t_biz1 where .... 会话4 阅读全文
posted @ 2023-06-20 13:02 北方白杨 阅读(65) 评论(0) 推荐(0) 编辑
  2018年4月8日
摘要: 原因: 操作系统中如果允许ipv4和ipv6两种net stack,那么java默认使用的是ipv6 stack。 如果操作系统中的ipv6在设置上没有网络访问权限,比如出现下图所示的 那么,在运行java程序时就会出现:java.net.socketexception permission den 阅读全文
posted @ 2018-04-08 19:17 北方白杨 阅读(780) 评论(0) 推荐(0) 编辑