atomikos分布式事务

关键类

atomic获取数据库连接:
AbstractDataSourceBean.getConnection()
com.atomikos.datasource.pool.ConnectionPool.borrowConnection

recycleConnectionIfPossible 卡死

事务开启

createCC:308, TransactionServiceImp (com.atomikos.icatch.imp)
createCompositeTransaction:781, TransactionServiceImp (com.atomikos.icatch.imp)
createCompositeTransaction:393, CompositeTransactionManagerImp (com.atomikos.icatch.imp)
begin:271, TransactionManagerImp (com.atomikos.icatch.jta)
begin:249, TransactionManagerImp (com.atomikos.icatch.jta)
begin:132, UserTransactionManager (com.atomikos.icatch.jta)
doJtaBegin:886, JtaTransactionManager (org.springframework.transaction.jta)
doBegin:849, JtaTransactionManager (org.springframework.transaction.jta)
getTransaction:376, AbstractPlatformTransactionManager (org.springframework.transaction.support)
createTransactionIfNecessary:572, TransactionAspectSupport (org.springframework.transaction.interceptor)
invokeWithinTransaction:360, TransactionAspectSupport (org.springframework.transaction.interceptor)
invoke:99, TransactionInterceptor (org.springframework.transaction.interceptor)
proceed:186, ReflectiveMethodInvocation (org.springframework.aop.framework)
proceed:747, CglibAopProxy$CglibMethodInvocation (org.springframework.aop.framework)
invoke:76, MonitoringSpringInterceptor (net.bull.javamelody)
proceed:186, ReflectiveMethodInvocation (org.springframework.aop.framework)
proceed:747, CglibAopProxy$CglibMethodInvocation (org.springframework.aop.framework)
invoke:93, ExposeInvocationInterceptor (org.springframework.aop.interceptor)
proceed:186, ReflectiveMethodInvocation (org.springframework.aop.framework)
proceed:747, CglibAopProxy$CglibMethodInvocation (org.springframework.aop.framework)
intercept:689, CglibAopProxy$DynamicAdvisedInterceptor (org.springframework.aop.framework)
configureTasks:-1, DcTimerService$$EnhancerBySpringCGLIB$$430a238c (com.nisco.system.service)
finishRegistration:248, ScheduledAnnotationBeanPostProcessor (org.springframework.scheduling.annotation)
onApplicationEvent:233, ScheduledAnnotationBeanPostProcessor (org.springframework.scheduling.annotation)
onApplicationEvent:105, ScheduledAnnotationBeanPostProcessor (org.springframework.scheduling.annotation)
doInvokeListener:172, SimpleApplicationEventMulticaster (org.springframework.context.event)
invokeListener:165, SimpleApplicationEventMulticaster (org.springframework.context.event)
multicastEvent:139, SimpleApplicationEventMulticaster (org.springframework.context.event)
publishEvent:403, AbstractApplicationContext (org.springframework.context.support)
publishEvent:360, AbstractApplicationContext (org.springframework.context.support)
finishRefresh:897, AbstractApplicationContext (org.springframework.context.support)
finishRefresh:162, ServletWebServerApplicationContext (org.springframework.boot.web.servlet.context)
refresh:553, AbstractApplicationContext (org.springframework.context.support)
refresh:141, ServletWebServerApplicationContext (org.springframework.boot.web.servlet.context)
refresh:747, SpringApplication (org.springframework.boot)
refreshContext:397, SpringApplication (org.springframework.boot)
run:315, SpringApplication (org.springframework.boot)
run:1226, SpringApplication (org.springframework.boot)
run:1215, SpringApplication (org.springframework.boot)
main:27, Jh4jApplication (com.nisco.web)
invoke0:-1, NativeMethodAccessorImpl (sun.reflect)
invoke:62, NativeMethodAccessorImpl (sun.reflect)
invoke:43, DelegatingMethodAccessorImpl (sun.reflect)
invoke:498, Method (java.lang.reflect)
run:49, RestartLauncher (org.springframework.boot.devtools.restart)
posted @ 2021-05-31 14:22  fight139  阅读(170)  评论(0编辑  收藏  举报