【问题标题】:Failed to reconnect to ignite cluster on client side node无法重新连接以在客户端节点上启动集群
【发布时间】:2021-07-21 12:13:37
【问题描述】:

我正在使用 Ignite 缓存。我在服务器上运行了一个服务器节点,在我的本地有几个远程客户端节点和一个客户端节点。当我运行我的 Spring Boot 应用程序的 jar 文件时,它给出了 class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6

我检查了其他客户端节点,它们都连接到服务器。因此,我的 jar 文件没有运行。 我附上了这个错误的日志。

2021-04-28 12:07:50.170  WARN [project,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi  : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
2021-04-28 12:08:20.969  WARN [project,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi  : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
2021-04-28 12:08:53.732  WARN [project,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi  : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
2021-04-28 12:09:27.436  WARN [athens,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi  : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6
2021-04-28 12:09:59.415  WARN [project,,,] 2263 --- [project] o.a.i.spi.discovery.tcp.TcpDiscoverySpi  : Failed to reconnect to cluster (will retry): class o.a.i.IgniteCheckedException: Failed to deserialize object with given class loader: org.springframework.boot.loader.LaunchedURLClassLoader@5010be6

【问题讨论】:

  • 是否可以分享完整的错误信息?服务器端有什么异常吗?
  • @VladimirPligin 服务器端也不例外。抱歉无法分享完整日志

标签: java spring-boot caching ignite


【解决方案1】:

很可能,您在 IgniteConfiguration 中使用了一些并非所有节点上都存在的类。

由于没有堆栈跟踪,我们无法知道具体是哪一个。确保所有节点都依赖于类路径。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-01-18
    • 2014-02-17
    • 1970-01-01
    • 2015-03-13
    • 2015-08-08
    • 1970-01-01
    • 2013-05-21
    • 2015-11-15
    相关资源
    最近更新 更多