-
Notifications
You must be signed in to change notification settings - Fork 25
Connect local gemfire locator #6
Comments
You must use GemFire properties to connect your Spring peer cache application to a Locator, like so...
Or, using JavaConfig...
Hope this helps. |
Thank you for your answer, I can ask a more question? |
@jxblum This is output:
Second: include project jar.
When I add gemfire.jar to classpath. it still throw |
And I using Pdx. i throw |
I use java config:
but it don't connect .
|
@jxblum i am using annotation for creating locator |
By terminal, I assume you mean GemFire Shell, or Gfsh? If so, then you should know that Gfsh does not ultimately communicate with a GemFire Locator. Gfsh must communicate with a GemFire Manager. A Locator and Manager is not the same thing. If you attempt to connect to a Locator form Gfsh (the default), the Locator proceeds by trying to find an existing Manager in the cluster. If a Manager is found, then the coordinates for the Manager are returned. If a Manager could not be found, and if the Locator is configured correctly, it will become a Manager and serve a dual role. Regardless, and ultimately, Gfsh connects to a Manager to carry out all operations. To enable a GemFire Manager, you can use the
For a more complete example, see here. I also have plenty examples you can play with here. The boot-example starts a Locator and Manager; see here. |
Hi,I use gfsh create locator,Can you tell me how using spring-data-gemfire connect ?
I found in google search,but most example is using built-in gemfire。
The text was updated successfully, but these errors were encountered: