GitHub user hjy30312 created a discussion: 2.6.0版本XA模式下超时 连接池污染的问题
服务端: 2.6.0
客户端: seata-spring-boot-starter 2.0.0
我是用了seata后, 某个接口超时后, 再点击另外一个接口报错, 但是后面点击又正常了。 AI说是连接池污染了,这个要怎么修改呢
报错日志:
`{
"success": false,
"code": 500,
"data": null,
"message": "执行服务编排失败, 服务编排ID: b03f2cf6b45c4b50badc69e4864126b1,插件执行失败:
java.io.IOException: org.apache.dubbo.common.serialize.SerializationException:
com.alibaba.fastjson2.JSONException: autoType not support :
org.springframework.transaction.CannotCreateTransactionException, offset
97\njava.io.IOException:
org.apache.dubbo.common.serialize.SerializationException:
com.alibaba.fastjson2.JSONException: autoType not support :
org.springframework.transaction.CannotCreateTransactionException, offset
97\n\tat
org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper.handleToIOException(DefaultSerializationExceptionWrapper.java:353)\n\tat
org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper.access$000(DefaultSerializationExceptionWrapper.java:27)\n\tat
org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper$ProxyObjectInput.readThrowable(DefaultSerializationExceptionWrapper.java:181)\n\tat
org.apache.dubbo.
rpc.protocol.dubbo.DecodeableRpcResult.handleException(DecodeableRpcResult.java:186)\n\tat
org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.decode(DecodeableRpcResult.java:114)\n\tat
org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.decode(DecodeableRpcResult.java:153)\n\tat
org.apache.dubbo.remoting.transport.DecodeHandler.decode(DecodeHandler.java:61)\n\tat
org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:49)\n\tat
org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:64)\n\tat
org.apache.dubbo.common.threadpool.ThreadlessExecutor$RunnableWrapper.run(ThreadlessExecutor.java:152)\n\tat
org.apache.dubbo.common.threadpool.ThreadlessExecutor.waitAndDrain(ThreadlessExecutor.java:77)\n\tat
org.apache.dubbo.rpc.AsyncRpcResult.get(AsyncRpcResult.java:220)\n\tat
org.apache.dubbo.rpc.protocol.AbstractInvoker.waitForResultIfSync(AbstractInvoker.java:293)\n\tat
org.apache.dubbo.rpc.protocol.AbstractInvoker.i
nvoke(AbstractInvoker.java:195)\n\tat
org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:71)\n\tat
com.manascloud.lowcode.next.common.dubbo.filter.DubboRequestFilter.invoke(DubboRequestFilter.java:68)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.validation.filter.ValidationFilter.invoke(ValidationFilter.java:102)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
com.alibaba.dubbo.rpc.Invoker$CompatibleInvoker.invoke(Invoker.java:77)\n\tat
io.seata.integration.dubbo.alibaba.AlibabaDubboTransactionPropagationFilter.invoke(AlibabaDubboTransactionPropagationFilter.java:45)\n\tat
com.alibaba.dubbo.rpc.Filter.invoke(Filter.java:34)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.seata.SeataT
ransactionPropagationConsumerFilter.invoke(SeataTransactionPropagationConsumerFilter.java:53)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.RpcExceptionFilter.invoke(RpcExceptionFilter.java:40)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
cn.dev33.satoken.context.dubbo3.filter.SaTokenDubbo3ConsumerFilter.invoke(SaTokenDubbo3ConsumerFilter.java:56)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CallbackRegistrationInvoker.invoke(FilterChainBuilder.java:197)\n\tat
org.apache.dubbo.rpc.protocol.ReferenceCountInvokerWrapper.invoke(ReferenceCountInvokerWrapper.java:106)\n\tat
org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invokeWithContext(AbstractClusterInvoke
r.java:412)\n\tat
org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82)\n\tat
org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:366)\n\tat
org.apache.dubbo.rpc.cluster.router.RouterSnapshotFilter.invoke(RouterSnapshotFilter.java:46)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:109)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.cluster.filter.support.MetricsClusterFilter.invoke(MetricsClusterFilter.java:57)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:53)\n\tat
org.apache.dubbo.rpc.clust
er.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.spring.security.filter.ContextHolderParametersSelectedTransferFilter.invoke(ContextHolderParametersSelectedTransferFilter.java:40)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.metrics.filter.MetricsFilter.invoke(MetricsFilter.java:86)\n\tat
org.apache.dubbo.rpc.cluster.filter.support.MetricsConsumerFilter.invoke(MetricsConsumerFilter.java:38)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.cluster.filter.support.ConsumerClassLoaderFilter.invoke(ConsumerClassLoaderFilter.java:40)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.tracing.filter.ObservationSenderFilter.invoke(ObservationSenderFil
ter.java:60)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.cluster.filter.support.ConsumerContextFilter.invoke(ConsumerContextFilter.java:119)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CallbackRegistrationInvoker.invoke(FilterChainBuilder.java:197)\n\tat
org.apache.dubbo.rpc.cluster.support.wrapper.AbstractCluster$ClusterFilterInvoker.invoke(AbstractCluster.java:101)\n\tat
org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:107)\n\tat
org.apache.dubbo.rpc.cluster.support.wrapper.ScopeClusterInvoker.invoke(ScopeClusterInvoker.java:171)\n\tat
org.apache.dubbo.registry.client.migration.MigrationInvoker.invoke(MigrationInvoker.java:296)\n\tat
org.apache.dubbo.rpc.proxy.InvocationUtil.invoke(InvocationUtil.java:
64)\n\tat
org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:81)\n\tat
com.manascloud.lowcode.next.api.ide.api.RemoteExecuteSQLServiceDubboProxy0.page(RemoteExecuteSQLServiceDubboProxy0.java)\n\tat
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)\n\tat
java.base/java.lang.reflect.Method.invoke(Method.java:580)\n\tat
org.apache.dubbo.config.spring.util.LazyTargetInvocationHandler.invoke(LazyTargetInvocationHandler.java:54)\n\tat
com.manascloud.lowcode.next.api.ide.api.RemoteExecuteSQLServiceDubboProxy0.page(RemoteExecuteSQLServiceDubboProxy0.java)\n\tat
com.manascloud.lowcode.next.plugin.framework.service.impl.ExecuteSQLServiceImpl.execute(ExecuteSQLServiceImpl.java:79)\n\tat
com.manascloud.lowcode.next.plugin.framework.service.impl.ExecuteSQLServiceImpl.page(ExecuteSQLServiceImpl.java:40)\n\tat
com.manascloud.lowcode.next.plugin.basedata.ShopOrderBizHandler.page(ShopOrderBizHandler.java:90)\n\
tat
com.manascloud.lowcode.next.plugin.DemoPlugin$DemoBizExtension.execute(DemoPlugin.java:796)\n\tat
com.manascloud.lowcode.next.plugin.framework.service.impl.PluginRunningServiceImpl.execute(PluginRunningServiceImpl.java:85)\n\tat
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)\n\tat
java.base/java.lang.reflect.Method.invoke(Method.java:580)\n\tat
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:360)\n\tat
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)\n\tat
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat
io.seata.spring.annotation.AdapterInvocationWrapper.proceed(AdapterInvocationWrapper.java:57)\n\tat
io.seata.integration.tx.api.interceptor.handler.GlobalTransactionalInterceptorHandler$2.execute(GlobalTransactionalInterceptorHandler.java:200)\n\tat
io.seata.tm.
api.TransactionalTemplate.execute(TransactionalTemplate.java:128)\n\tat
io.seata.integration.tx.api.interceptor.handler.GlobalTransactionalInterceptorHandler.handleGlobalTransaction(GlobalTransactionalInterceptorHandler.java:197)\n\tat
io.seata.integration.tx.api.interceptor.handler.GlobalTransactionalInterceptorHandler.doInvoke(GlobalTransactionalInterceptorHandler.java:166)\n\tat
io.seata.integration.tx.api.interceptor.handler.AbstractProxyInvocationHandler.invoke(AbstractProxyInvocationHandler.java:35)\n\tat
io.seata.spring.annotation.AdapterSpringSeataInterceptor.invoke(AdapterSpringSeataInterceptor.java:45)\n\tat
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)\n\tat
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:728)\n\tat
com.manascloud.lowcode.next.plugin.framework.service.impl.PluginRunningServiceImpl$$SpringCGLIB$$0.execute(<generated>)\n\tat
com.manascloud.lowc
ode.next.api.plugin.api.IPluginRunningServiceDubboWrap0.invokeMethod(IPluginRunningServiceDubboWrap0.java)\n\tat
org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:89)\n\tat
org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:100)\n\tat
org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:55)\n\tat
org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)\n\tat
com.manascloud.lowcode.next.common.dubbo.filter.DubboRequestFilter.invoke(DubboRequestFilter.java:68)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.ClassLoaderCallbackFilter.invoke(ClassLoaderCallbackFilter.java:38)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.protocol.tri.res
t.filter.RestFilterAdapter.invoke(RestFilterAdapter.java:38)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
com.alibaba.dubbo.rpc.Invoker$CompatibleInvoker.invoke(Invoker.java:77)\n\tat
io.seata.integration.dubbo.alibaba.AlibabaDubboTransactionPropagationFilter.invoke(AlibabaDubboTransactionPropagationFilter.java:45)\n\tat
com.alibaba.dubbo.rpc.Filter.invoke(Filter.java:34)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.protocol.tri.h12.HttpContextCallbackFilter.invoke(HttpContextCallbackFilter.java:37)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:78)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBu
ilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:45)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.seata.SeataTransactionPropagationProviderFilter.invoke(SeataTransactionPropagationProviderFilter.java:66)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:109)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:55)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.AccessLogFilter.invoke(AccessLogFilter.java:120)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterC
hainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:223)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.protocol.tri.h12.HttpContextFilter.invoke(HttpContextFilter.java:38)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
cn.dev33.satoken.context.dubbo3.filter.SaTokenDubbo3ProviderFilter.invoke(SaTokenDubbo3ProviderFilter.java:51)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:54)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
cn.dev33.satoken.context.dubbo3.filter.SaTokenDubbo3ContextFilter.i
nvoke(SaTokenDubbo3ContextFilter.java:42)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.metrics.filter.MetricsFilter.invoke(MetricsFilter.java:86)\n\tat
org.apache.dubbo.metrics.filter.MetricsProviderFilter.invoke(MetricsProviderFilter.java:37)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.tracing.filter.ObservationReceiverFilter.invoke(ObservationReceiverFilter.java:59)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.ProfilerServerFilter.invoke(ProfilerServerFilter.java:66)\n\tat
org.apache.dubbo.rpc.cl
uster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:191)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CopyOfFilterChainNode.invoke(FilterChainBuilder.java:349)\n\tat
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$CallbackRegistrationInvoker.invoke(FilterChainBuilder.java:197)\n\tat
org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:167)\n\tat
org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:110)\n\tat
org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:205)\n\tat
org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:52)\n\tat
org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:64)\n\tat
java.base/java.util.concurrent.ThreadPerTaskExecuto
r$TaskRunner.run(ThreadPerTaskExecutor.java:314)\n\tat
java.base/java.lang.VirtualThread.run(VirtualThread.java:329)\nCaused by:
org.apache.dubbo.common.serialize.SerializationException:
com.alibaba.fastjson2.JSONException: autoType not support :
org.springframework.transaction.CannotCreateTransactionException, offset
97\n\t... 143 more\nCaused by: com.alibaba.fastjson2.JSONException: autoType
not support : org.springframework.transaction.CannotCreateTransactionException,
offset 97\n\tat
com.alibaba.fastjson2.reader.ObjectReaderException.readJSONBObject(ObjectReaderException.java:368)\n\tat
com.alibaba.fastjson2.JSONReaderJSONB.read(JSONReaderJSONB.java:321)\n\tat
com.alibaba.fastjson2.reader.ObjectReaderException.readObject(ObjectReaderException.java:180)\n\tat
com.alibaba.fastjson2.reader.ObjectReaderException.readJSONBObject(ObjectReaderException.java:375)\n\tat
com.alibaba.fastjson2.JSONReaderJSONB.readAnyObject(JSONReaderJSONB.java:1312)\n\tat
com.alibaba.fastjson2.JSONB.parseO
bject(JSONB.java:875)\n\tat
org.apache.dubbo.common.serialize.fastjson2.FastJson2ObjectInput.readObject(FastJson2ObjectInput.java:122)\n\tat
org.apache.dubbo.common.serialize.fastjson2.FastJson2ObjectInput.readObject(FastJson2ObjectInput.java:106)\n\tat
org.apache.dubbo.common.serialize.ObjectInput.readThrowable(ObjectInput.java:73)\n\tat
org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper$ProxyObjectInput.readThrowable(DefaultSerializationExceptionWrapper.java:179)\n\t...
140 more\n",
"timestamp": 1778133364589
}`
<img width="1298" height="1295" alt="image"
src="https://github.com/user-attachments/assets/601f39f8-9942-434c-95d8-4dfd5b704982"
/>
<img width="1277" height="1267" alt="image"
src="https://github.com/user-attachments/assets/2492ffa1-17fc-4a2b-ba7e-6838ff0629f5"
/>
<img width="1265" height="730" alt="image"
src="https://github.com/user-attachments/assets/091b3d2f-714e-4344-bc9d-02c263c8cb1e"
/>
GitHub link: https://github.com/apache/incubator-seata/discussions/8093
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]