【问题标题】:Gemfire client server topology throws NoAvailableLocatorsExceptionGemfire 客户端服务器拓扑抛出 NoAvailableLocatorsException
【发布时间】:2014-12-12 10:11:37
【问题描述】:

我通过基于 gfe 的 xml 配置了 gemfire 客户端服务器。定位器、缓存服务器和客户端缓存通过这些 xml 配置启动。我通过从数据库中获取数据来填充我的区域。客户端使用来自该区域的数据。它工作了大约 2 个小时,但之后客户端开始抛出以下异常和跟踪。

我不对正在运行的应用程序做任何更改。这意味着定位器和缓存服务器应该一直在运行。任何帮助都会很棒。谢谢。

com.gemstone.gemfire.cache.client.NoAvailableLocatorsException:无法连接到列表中的任何定位器 [/locator-host:locator-port] 在 com.gemstone.gemfire.cache.client.internal.AutoConnectionSourceImpl.findServer(AutoConnectionSourceImpl.java:132) 在 com.gemstone.gemfire.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection(ConnectionFactoryImpl.java:205) 在 com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.exchangeConnection(ConnectionManagerImpl.java:418) 在 com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:173) 在 com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:114) 在 com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(PoolImpl.java:638) 在 com.gemstone.gemfire.cache.client.internal.GetOp.execute(GetOp.java:89) 在 com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.get(ServerRegionProxy.java:126) 在 com.gemstone.gemfire.internal.cache.LocalRegion.findObjectInSystem(LocalRegion.java:2767) 在 com.gemstone.gemfire.internal.cache.LocalRegion.nonTxnFindObject(LocalRegion.java:1605) 在 com.gemstone.gemfire.internal.cache.LocalRegionDataView.findObject(LocalRegionDataView.java:133) 在 com.gemstone.gemfire.internal.cache.LocalRegion.get(LocalRegion.java:1489) 在 com.gemstone.gemfire.internal.cache.LocalRegion.get(LocalRegion.java:1451) 在 com.gemstone.gemfire.internal.cache.AbstractRegion.get(AbstractRegion.java:278)

【问题讨论】:

    标签: gemfire


    【解决方案1】:

    您的定位器或服务器日志中有任何内容吗?该异常表明客户端正在尝试创建新连接并且无法连接到定位器。

    如果您的定位器出现故障,客户端可能仍然能够使用其现有连接工作一段时间,因为在需要新连接之前它不需要返回定位器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-06-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-11
      • 1970-01-01
      相关资源
      最近更新 更多