Timeout Infinispan同步超时异常

Timeout Infinispan同步超时异常,timeout,jboss7.x,infinispan,jgroups,Timeout,Jboss7.x,Infinispan,Jgroups,恐怕我在这方面有点不在行,但事情是这样的 我在同步过程中遇到Infinispan和超时问题。 我正在使用Infinispan 5.2.7-FINAL运行两个JBoss AS7实例。TCP用于同步 有时,从其中一个节点上的缓存中删除条目时,同步似乎失败,但检查两个节点上的日志会告诉med该条目已消失,并且已完成应用程序端所需的所有清理(拆除驼峰路由等)。发起节点在通知其对等节点时声称超时: 09:53:33,182 INFO [ConfigurationService] (http-/10.21

恐怕我在这方面有点不在行,但事情是这样的

我在同步过程中遇到Infinispan和超时问题。 我正在使用Infinispan 5.2.7-FINAL运行两个JBoss AS7实例。TCP用于同步

有时,从其中一个节点上的缓存中删除条目时,同步似乎失败,但检查两个节点上的日志会告诉med该条目已消失,并且已完成应用程序端所需的所有清理(拆除驼峰路由等)。发起节点在通知其对等节点时声称超时:

09:53:33,182 INFO  [ConfigurationService] (http-/10.217.xx.yy:8080-3) ConfigurationService: deleteSmsAccountConfigurationData: got smsAccountID of SmsAccountIdentifier{smsAccountId=tel:46xxxxxx}

09:53:33,183 INFO  [com.ex.control.throttling.controller.ThrottlingService] (http-/10.217.xx.yy:8080-3) ThrottlingService: deleteThrottleForResource: deleting throttle from resource tel:46xxxxxx

09:53:45,232 INFO  [com.ex.control.routing.startup.DynamicRouteBootStrap] (OOB-21,smapexs01-54191) DynamnicRouteBootStrap: stopRoute: Attempting to stop sendSmppRoute: sendsmpproutetel:46xxxxxx recieveSmppRoute: recievesmpproutetel:46xxxxxx

09:53:45,233 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (OOB-21,smapexs01-54191) Starting to graceful shutdown 1 routes (timeout 300 seconds)

09:53:45,235 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-2) thread #1 - ShutdownTask) Route: sendsmpproutetel:46xxxxxx shutdown complete, was consuming from: Endpoint[direct://tel:46xxxxxx]

09:53:45,235 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (OOB-21,smapexs01-54191) Graceful shutdown of 1 routes completed in 0 seconds

09:53:48,190 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (http-/10.217.xx.yy:8080-3) ISPN000136: Execution error: org.infinispan.CacheException: org.jgroups.TimeoutException: timeout sending message to smapexs03-38104
在这个节点上,拆掉它不到一秒钟(我猜),在另一个节点上,它需要6秒钟,在我监督过的某个地方是否有5秒钟的超时

我已经搜索了这个论坛和其他论坛,但还没有找到答案

就像我说的,我有点傻,我希望这对你有意义。任何给我指出正确方向的东西都是非常受欢迎的

谢谢,
Peter

是的,在某个地方定义了缓存同步复制超时。这完全取决于这是哪个缓存,它用于什么…等等。通常,缓存在standalone/configuration/standalone.xml或standalone-ha.xml中定义。其中有一个缓存部分,相关的xsd告诉您如果XML文件中还没有该属性,如何设置缓存的超时。谢谢!在standalone-ha.xml中发现超时6秒。如果真是这样,还有待观察。