VMware GemFire

 View Only

 gemfire client/server topology partition region issues. Pls see the details for more info

Selvaraj Visvanathan's profile image
Selvaraj Visvanathan posted Feb 05, 2020 06:08 PM

I have one instance of gemfire server app and one instance of gemfire client app running in windows localhost. gemfire server has 1 partition region and one replication region. When i start gemfire client app its failing with error

Caused by: java.lang.ClassCastException: org.apache.geode.distributed.internal.LonerDistributionManager cannot be cast to org.apache.geode.distributed.internal.ClusterDistributionManager.

With only replicate region its working fine, problem comes when i add the partition region.

 

Juan Ramos's profile image
Juan Ramos

Hello Selvaraj,

 

Thanks for contacting the Pivotal Support Community!.

Are you using the same GemFire version in all members, including the client?.

Best regards.

Selvaraj Visvanathan's profile image
Selvaraj Visvanathan

Yes.  I'm using <geode.version>9.5.2</geode.version> and <spring.boot.version>2.0.3.RELEASE</spring.boot.version> in both client and server

Juan Ramos's profile image
Juan Ramos

Hello Selvaraj,

 

There's probably a compatibility issue between those versions, can you double check that your combination of versions if fully supported in the Spring Data for Pivotal GemFire Version Compatibility Matrix [1] and Spring Boot for Apache Geode and Pivotal GemFire Version Compatibility Matrix [2].

Best regards.

 

[1]: https://github.com/spring-projects/spring-data-gemfire/wiki/Spring-Data-for-Pivotal-GemFire-Version-Compatibility-Matrix

[2]: https://github.com/spring-projects/spring-boot-data-geode/wiki/Spring-Boot-for-Apache-Geode-and-Pivotal-GemFire-Version-Compatibility-Matrix#version-compatibility-matrix