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.
Hello Selvaraj,
Thanks for contacting the Pivotal Support Community!.
Are you using the same GemFire version in all members, including the client?.
Best regards.
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
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].
[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