jboss javax.jms. JMS异常:AMQ219014:发送数据包71时等待30,000 ms响应后超时

jvidinwx  于 2023-11-19  发布在  Java
关注(0)|答案(1)|浏览(217)

我正在使用JBoss服务器和EJB和JMS队列。我试图连接到不同服务器上的远程队列,但最近它开始与队列断开连接,并显示以下错误消息:

javax.jms.JMSException: AMQ219014: Timed out after waiting 30,000 ms for response when sending packet 71
  at [email protected]//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:530)
  at [email protected]//org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBlocking(ChannelImpl.java:434)
  at [email protected]//org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext.sendFullMessage(ActiveMQSessionContext.java:552)
  at [email protected]//org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.sendRegularMessage(ClientProducerImpl.java:296)
  at [email protected]//org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.doSend(ClientProducerImpl.java:268)
  at [email protected]//org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:143)
  at [email protected]//org.apache.activemq.artemis.core.client.impl.ClientProducerImpl.send(ClientProducerImpl.java:125)
  at [email protected]//org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.doSendx(ActiveMQMessageProducer.java:483)
  at [email protected]//org.apache.activemq.artemis.jms.client.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:193)
  at deployment.my-logic.jar//com.example.beans.ejb.MyReceiver.distributeToQueue(MyReceiver.java:630)
  at deployment.my-logic.jar//com.example.beans.ejb.MyReceiver.handleMessage(MyReceiver.java:143)
  at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at or[email protected]//org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
  at [email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79)
  at [email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89)
  at [email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102)
  at [email protected]//org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:49)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.jpa.interceptor.SFSBInvocationInterceptor.processInvocation(SFSBInvocationInterceptor.java:57)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.processInvocation(StatefulSessionSynchronizationInterceptor.java:136)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
  at [email protected]//org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.stateful.StatefulComponentInstanceInterceptor.processInvocation(StatefulComponentInstanceInterceptor.java:59)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:201)
  at [email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:392)
  at [email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:160)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
  at [email protected]//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:72)
  at [email protected]//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)
  at [email protected]//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:633)
  at [email protected]//org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
  at [email protected]//org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
  at [email protected]//org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:191)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.security.IdentityInterceptor.processInvocation(IdentityInterceptor.java:49)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
  at [email protected]//org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81)
  at deployment.my-logic.jar//com.example.beans.ejb.MyReceiver$$$view2.handleMessage(Unknown Source)
  at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at [email protected]//org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:410)
  at [email protected]//org.jboss.weld.module.ejb.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:134)
  at [email protected]//org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
  at [email protected]//org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106)
  at deployment.my-logic.jar//com.example.beans.ejb.MyReceiver$Proxy$_$$_Weld$EnterpriseProxy$.handleMessage(Unknown Source)
  at deployment.my-mdb.jar//com.example.beans.ejb.RemoteComponentRequestMDBean.onMessage(RemoteComponentRequestMDBean.java:45)
  at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at [email protected]//org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
  at [email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79)
  at [email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89)
  at [email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102)
  at [email protected]//org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:49)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
  at [email protected]//org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:201)
  at [email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:392)
  at [email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:160)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at or[email protected]//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
  at [email protected]//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:81)
  at [email protected]//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:57)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$7$1.processInvocation(MessageDrivenComponentDescription.java:302)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)
  at [email protected]//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:633)
  at [email protected]//org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
  at [email protected]//org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
  at [email protected]//org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:191)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.as.ejb3.security.IdentityInterceptor.processInvocation(IdentityInterceptor.java:49)
  at [email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
  at [email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
  at [email protected]//org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81)
  at deployment.my-mdb.jar//com.example.beans.ejb.RemoteComponentRequestMDBean$$$view8.onMessage(Unknown Source)
  at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
  at [email protected]//org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:139)
  at [email protected]//org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73)
  at deployment.my-mdb.jar//com.example.beans.ejb.RemoteComponentRequestMDBean$$$endpoint5.onMessage(Unknown Source)
  at [email protected]//org.apache.activemq.artemis.ra.inflow.ActiveMQMessageHandler.onMessage(ActiveMQMessageHandler.java:323)
  at [email protected]//org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1030)
  at [email protected]//org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:49)
  at [email protected]//org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1153)
  at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
  at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
  at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
  at org.apache.activemq.artemis.journal//org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
Caused by: ActiveMQConnectionTimedOutException[errorType=CONNECTION_TIMEDOUT message=AMQ219014: Timed out after waiting 30,000 ms for response when sending packet 71]
  ... 168 more

字符串
你知道为什么它会从请求队列中断开吗?
以下是standalone.xml中的messaging-activemq配置:

<subsystem xmlns="urn:jboss:domain:messaging-activemq:13.0">
    <server name="default">
        <statistics enabled="${wildfly.messaging-activemq.statistics-enabled:${wildfly.statistics-enabled:false}}"/>
        <security-setting name="#">
            <role name="guest" send="true" consume="true" create-non-durable-queue="true" delete-non-durable-queue="true"/>
        </security-setting>
        <address-setting name="#" dead-letter-address="jms.queue.DLQ" expiry-address="jms.queue.ExpiryQueue" max-size-bytes="10485760" page-size-bytes="2097152" message-counter-history-day-limit="10"/>
        <http-connector name="http-connector" socket-binding="http" endpoint="http-acceptor"/>
        <http-connector name="http-connector-throughput" socket-binding="http" endpoint="http-acceptor-throughput">
            <param name="batch-delay" value="50"/>
        </http-connector>
        <in-vm-connector name="in-vm" server-id="0">
            <param name="buffer-pooling" value="false"/>
        </in-vm-connector>
        <http-acceptor name="http-acceptor" http-listener="default"/>
        <http-acceptor name="http-acceptor-throughput" http-listener="default">
            <param name="batch-delay" value="50"/>
            <param name="direct-deliver" value="false"/>
        </http-acceptor>
        <in-vm-acceptor name="in-vm" server-id="0">
            <param name="buffer-pooling" value="false"/>
        </in-vm-acceptor>
        <jms-queue name="ExpiryQueue" entries="java:/jms/queue/ExpiryQueue"/>
        <jms-queue name="DLQ" entries="java:/jms/queue/DLQ"/>
        <jms-queue name="RemoteComponentRequestQueue" entries="java:/jms/RemoteComponentRequestQueue"/>
        <jms-queue name="RemoteComponentResponseQueue" entries="java:/jms/RemoteComponentResponseQueue"/>
        <connection-factory name="InVmConnectionFactory" entries="java:/ConnectionFactory" connectors="in-vm"/>
        <connection-factory name="RemoteConnectionFactory" entries="java:jboss/exported/jms/RemoteConnectionFactory" connectors="http-connector"/>
        <pooled-connection-factory name="activemq-ra" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm" transaction="xa"/>
    </server>
</subsystem>

tpxzln5u

tpxzln5u1#

数据包71是来自ActiveMQ Artemis用于实现JMS的核心协议的“会话发送”数据包。换句话说,它是JMS客户端发送消息时发送的数据包。此数据包需要来自远程代理的响应,以确保代理正确接收消息。由于某种原因,客户端没有收到来自远程代理的响应。可能的原因如下(排名不分先后):

  • 远程代理发送了响应,但网络太慢或callTimeout(默认为30000米利斯)太低。
  • 代理以某种方式过载,无法在超时内响应。

在任何情况下,这似乎更像是一个环境或运行时问题,而不是一个错误或编程错误。我建议您检查您的网络和您的远程代理,以确保它们在预期的参数内运行,因为一切都取决于环境中的条件。(无论出于何种原因)或如果GC活动很高(例如,由于内存不足)代理可能无法在超时内响应。我建议您监视JVM的性能问题,并在发现问题时进行线程转储。线程转储将给予有关代理中发生的事情的重要信息。您还可以考虑增加连接上的callTimeout,以便给予代理更多的响应时间。

相关问题