spring-data-gemfire

java connection refused error with spring boot data geode remote locator

拜拜、爱过 提交于 2021-02-11 14:43:12
问题 Per my question Apache Geode Web framework I've checked through various spring guides from here and spring data geode samples from here and written a short spring data geode application but it cannot connect to the remote GFSH started Geode locator. The Application class is: package cm; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.data.gemfire.config.annotation.ClientCacheApplication; import

Upgrade to spring-geode-starter 1.4.2 produces condition, introspection and ClassNotFoundExceptions

廉价感情. 提交于 2021-02-11 12:49:57
问题 On return to a Geode reactive streams project after some time I would like to upgrade to latest spring-geode-starter. Perhaps related to Spring Boot Geode Unsatisfied dependency expressed through method 'sessionRegion' also on ClientCacheConfiguration what I think is a simple build.gradle dependencies gives exception: 2021-02-03T07:36:55,171 ERROR [main] org.springframework.boot.SpringApplication 856 reportFailure: Application run failed java.lang.IllegalStateException: Error processing

Spring Boot Geode Unsatisfied dependency expressed through method 'sessionRegion'

家住魔仙堡 提交于 2021-02-11 06:12:10
问题 The correct dependencies for my gradle.build are driving me crazy! In order to access an Apache Geode 1.10 server, I am using: // Geode client dependency implementation 'org.springframework.geode:spring-geode-starter:1.2.13.RELEASE' implementation 'org.springframework.data:spring-data-geode:2.2.12.RELEASE' implementation 'org.springframework.boot:spring-boot-starter-tomcat:2.2.13.RELEASE' This fails with the error: org.springframework.context.support.AbstractApplicationContext 596 refresh:

Spring Boot Geode Unsatisfied dependency expressed through method 'sessionRegion'

跟風遠走 提交于 2021-02-11 06:07:29
问题 The correct dependencies for my gradle.build are driving me crazy! In order to access an Apache Geode 1.10 server, I am using: // Geode client dependency implementation 'org.springframework.geode:spring-geode-starter:1.2.13.RELEASE' implementation 'org.springframework.data:spring-data-geode:2.2.12.RELEASE' implementation 'org.springframework.boot:spring-boot-starter-tomcat:2.2.13.RELEASE' This fails with the error: org.springframework.context.support.AbstractApplicationContext 596 refresh:

Spring Data GemFire DiskStore

拥有回忆 提交于 2021-01-29 06:32:10
问题 I need to persist the data in a Region to disk using Spring Data GemFire. Using the config below ( Locator and Server are started using Gfsh ): @EnablePdx @ClientCacheApplication @EnableDiskStore(name = "disk_store") @EnableClusterConfiguration(useHttp = true) @EnableEntityDefinedRegions(basePackages = "xxx.entity") @EnableGemfireRepositories(basePackages = "xxx.repository") public class GeodeClientConfiguration { } The config is below: spring.data.gemfire.disk.store.name=disk_store spring

started geode spring boot and save to remote region but failed to start bean gemfireClusterSchemaObjectInitializer

此生再无相见时 提交于 2021-01-28 11:00:40
问题 With a simple client app, make an object and object repository, connect to a Geode cluster, then run a @Bean ApplicationRunner to put some data to a remote region. @ClientCacheApplication(name = "Web", locators = @Locator, logLevel = "debug", subscriptionEnabled = true) @EnableClusterDefinedRegions @EnableClusterConfiguration(useHttp = true) @EnablePdx public class MyCache { private static final Logger log = LoggerFactory.getLogger(MyCache.class); @Bean ApplicationRunner StartedUp

Geode/GemFire Cannot create gemfireCache bean error: Spring Boot v2.1.3 - GemFire starter 1.1.0.RELEASE

穿精又带淫゛_ 提交于 2020-04-30 07:19:29
问题 I'm currently using Springboot v.2.1.3 to connect to PCC w/ gemfire v9.6.1 . Based on the SBDG compatibility matrix, I tried to use SBDG v1.1.0.RELEASE and I see the below issue. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quoteService' defined in file [C:\Users\madhu\Downloads\pcctest\pcctest\target\classes\com\example\pcctest\QuoteService.class]: Initialization of bean failed; nested exception is org.springframework.beans

Geode/GemFire Cannot create gemfireCache bean error: Spring Boot v2.1.3 - GemFire starter 1.1.0.RELEASE

*爱你&永不变心* 提交于 2020-04-30 07:18:11
问题 I'm currently using Springboot v.2.1.3 to connect to PCC w/ gemfire v9.6.1 . Based on the SBDG compatibility matrix, I tried to use SBDG v1.1.0.RELEASE and I see the below issue. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quoteService' defined in file [C:\Users\madhu\Downloads\pcctest\pcctest\target\classes\com\example\pcctest\QuoteService.class]: Initialization of bean failed; nested exception is org.springframework.beans

geode client server version not supported - Peer or client version with ordinal 100 not supported

安稳与你 提交于 2020-04-30 06:59:25
问题 I've a springboot app hosted on PCF trying to connect to PCC(pivotal cloud cache). I've spinned up a PCC instance and binded it to my app and pushed the app to cloud foundry. I've added all the required gemfire starter dependencies to springboot and it appears like it was able to read the locator and server information from VCAP_SERVICES. But, I see the following error on spring boot app startup. org.apache.geode.cache.client.internal.ConnectionFactoryImpl.createClientToServerConnection

Spring Data Geode register interest is not receiving events

南笙酒味 提交于 2020-03-16 08:07:27
问题 Related to this question I've setup a Spring Data Geode Client application with @EnableClusterDefinedRegions(clientRegionShortcut=ClientRegionShortcut.CACHING_PROXY) and by ensuring all classes are autowired then using the @Resource the Geode server regions are setup and instantiated on the client. @Resource(name = "request") private Region<String, Request> request; I can put and get on the regions like this. However when I try and register interest in a key on the server the updates from