spring-boot-gemfire-server-example | example Spring Boot application | Application Framework library
kandi X-RAY | spring-boot-gemfire-server-example Summary
kandi X-RAY | spring-boot-gemfire-server-example Summary
An example Spring Boot application demonstrating how to configure and bootstrap a Pivotal GemFire Server in a Spring context, JVM-based process using Spring (Data GemFire) Java configuration meta-data.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- The factorials region factory bean
- Cache loader for factorials
- The factorial region attributes bean
- Start the gemFire server
spring-boot-gemfire-server-example Key Features
spring-boot-gemfire-server-example Examples and Code Snippets
Community Discussions
Trending Discussions on spring-boot-gemfire-server-example
QUESTION
I am trying to understand how to host a Spring Boot Gemfire server process.
I found this example Spring Gemfire Server
The problem I am having is the the server I am trying to add to the cluster is not showing up in the cluster after I start the process.
Here are the steps I am taking:
Start a new locator locally (default port):
gfsh>start locator --name=loc-one
I want to add this SpringBootGemfireServer to the cluster:
note I have commented out the embeded locator start-up - I want to add this to the existing locator already running
...ANSWER
Answered 2018-Aug-08 at 07:45I haven't verified the full configuration to check whether there's something else wrong, but the main issue I see right now is that you seem to be confusing the start-locator
property (automatically starts a locator in the current process when the member connects to the distributed system and stops the locator when the member disconnects) with the locators
property (the list of locators used by system members, it must be configured consistently for every member of the distributed system). Since you're not correctly setting the locators
property when configuring the server, it just can't join the existing distributed system because it doesn't know which locator to connect to.
The default locator port used by GemFire is 10334
, so you should change your gemfireProperties
method as follows:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spring-boot-gemfire-server-example
You can use spring-boot-gemfire-server-example like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the spring-boot-gemfire-server-example component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page