Jboss 当我们更改系统时间时,hornetq会失败

Jboss 当我们更改系统时间时,hornetq会失败,jboss,hornetq,Jboss,Hornetq,我有个问题,希望你能帮我一点忙。 我必须实现快速转发时间,因为我需要测试一些东西。我编写了一个python脚本,它每1秒增加5秒的系统时间。(快5倍)。 然后我的jboss出现了一些hornetq超时。 你有什么办法可以解决这个问题吗 03/09/18 09:18:00,107 WARN [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] (hornetq- failure-check-thread) Connectio

我有个问题,希望你能帮我一点忙。 我必须实现快速转发时间,因为我需要测试一些东西。我编写了一个python脚本,它每1秒增加5秒的系统时间。(快5倍)。 然后我的jboss出现了一些hornetq超时。 你有什么办法可以解决这个问题吗

03/09/18 09:18:00,107 WARN  
[org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] (hornetq- 
failure-check-thread) Connection failure has been detected: Did not 
receive data from invm:0. It is likely the client has exited or crashed 
without closing its connection, or the network between the server and 
client has failed. You also might have configured connection-ttl and 
client-failure-check-period incorrectly. Please check user manual for 
more information. The connection will now be closed. [code=3]

根本问题是更改时间会中断代理使用的连接故障检测算法。代理认为它没有在适当的时间从客户端接收到“ping”数据包,因为您强制时间以正常速率的5倍通过。除了禁用或扩展连接TTL之外,没有其他方法可以修复远程客户端的此问题。但是,对于虚拟机连接,您可以将修复程序从(您正在使用的HornetQ版本中未解决)应用到您当前正在使用的HornetQ分支,然后重新构建。如果您不想重建,可以升级到包含此修复程序的JBoss AS(或Wildfly)版本。

您使用的是什么版本的HornetQ?它是独立的还是嵌入到另一个进程中?@justinbertramjboss7.1.1使用hornetq2.2.13.Final