Apache Geode CacheServerException Region not found during key set request

前端 未结 1 348
失恋的感觉
失恋的感觉 2021-01-16 18:33

I am new to Geode, and have started the default locator and server according to Geode in 5 minutes and then the .Net client with which I am running

1条回答
  •  无人及你
    2021-01-16 19:12

    The error message is saying that the server couldn't find the region, not that the client couldn't connect to the server: Region named /exampleRegion was not found during key set request. Have you defined the exampleRegion on the server side?.

    If you're using the Cluster Configuration Service the easiest way to do so is through the GFSH commands, namely create region: gfsh create region --name=exampleRegion --type=REPLICATE.

    If you're configuring your members individually using the cache.xml file, the region can be configured as below:

    
    
      
      
    
    

    I'm using REPLICATE for the sake of simplicity, but you should choose the type of region according to your use case. Hope this helps.

    0 讨论(0)
提交回复
热议问题