我担心这会是一个小菜鸟,但是这里有 .

我有Infinispan的问题和同步期间的超时 . 我正在使用Infinispan 5.2.7-FINAL运行两个JBoss AS7实例 . TCP用于同步 .

有时,当从其中一个节点上的缓存中删除条目时,同步似乎失败,但是检查两个节点上的日志会告诉输入已经消失,并且所有必需的清理都涉及应用程序端(拆除Camel路由等)已经完成了 . 通知节点在通知其对等方时声称超时:

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秒的超时时间?

我搜索了这个论坛和其他人,但一直无法解决它 .

就像我说的,我有点像菜鸟,我希望这对你有意义 . 任何指向我正确方向的东西都是非常受欢迎的!

谢谢,彼得