Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Complete
-
1.6.1 (Fowler SR1), 1.6.2 (Fowler SR2), 1.7 M1 (Gosling), 1.7.4 (Gosling SR4), 1.8 M1 (Hopper)
-
Spring + GemFire Cache Client
Description
Currently the SDG PoolFactoryBean class eagerly creates a GemFire DistributedSystem in order to create the GemFire Pool, which is also created before the GemFire ClientCache. However, if the ClientCache were created first, then the SDG PoolFactoryBean would not need to eagerly create a GemFire DistributedSystem, assuming of course that all the SDG interactions and existing functionality/behavior can be preserved.
By figuring out a solution to this change, it would avoid the awful, dreaded GemFire error...
java.lang.IllegalStateException: A connection to a distributed system already exists in this VM. It has the following configuration: