Note, the latest release of *Spring Data Geode* is *1.0.0.INCUBATING-RELEASE* based on the latest *Apache Geode* release, *1.0.0-incubating*, the first official GA release (i.e. non-Milestone release).
On Sun, Dec 11, 2016 at 6:54 AM, Amit Pandey <[email protected]> wrote: > I am getting this error, I updated the dist in that application to the > latest geode release. > I am currently using SPring Data Geode :- 1.0.0.APACHE-GEODE-INCUBATING-M3 > > This is happening when trying to loading the historic data for the nodes. > > I am sure something is causing the region to be perhaps not created or > something else but I cant see anything in the logs. > > > java.lang.IllegalStateException: Failed to execute CommandLineRunner > at > org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:803) > [spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE] > at > org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:784) > [spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE] > at > org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:771) > [spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE] > at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) > [spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE] > at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) > [spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE] > at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) > [spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE] > at FastFootShoesHistoricDataLoader.FastFootShoesHistoricDataLoade > rApplication.main(FastFootShoesHistoricDataLoaderApplication.java:18) > [classes!/:0.0.1-SNAPSHOT] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_101] > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:62) ~[na:1.8.0_101] > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101] > at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] > at > org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) > [FastFootShoesHistoricDataLoader-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] > at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [ > FastFootShoesHistoricDataLoader-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] > at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [ > FastFootShoesHistoricDataLoader-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] > at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58) [ > FastFootShoesHistoricDataLoader-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT] > Caused by: org.springframework.dao.DataAccessResourceFailureException: > remote server on 192.168.43.31(27534:loner):56350:18634bee: > java.lang.ClassNotFoundException: > org.apache.geode.cache.RegionDestroyedException; nested exception is > com.gemstone.gemfire.cache.client.ServerOperationException: remote server > on 192.168.43.31(27534:loner):56350:18634bee: > java.lang.ClassNotFoundException: > org.apache.geode.cache.RegionDestroyedException > at org.springframework.data.gemfire.GemfireCacheUtils. > convertGemfireAccessException(GemfireCacheUtils.java:238) > ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar!/:na] > at org.springframework.data.gemfire.GemfireAccessor. > convertGemFireAccessException(GemfireAccessor.java:92) > ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar!/:na] > at org.springframework.data.gemfire.GemfireTemplate. > putAll(GemfireTemplate.java:205) ~[spring-data-geode-1.0.0. > APACHE-GEODE-INCUBATING-M3.jar!/:na] > at org.springframework.data.gemfire.repository.support. > SimpleGemfireRepository.save(SimpleGemfireRepository.java:96) > ~[spring-data-geode-1.0.0.APACHE-GEODE-INCUBATING-M3.jar!/:na] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_101] > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:62) ~[na:1.8.0_101] > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_101] > at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_101] > at org.springframework.data.repository.core.support. > RepositoryFactorySupport$QueryExecutorMethodInterceptor.executeMethodOn( > RepositoryFactorySupport.java:503) ~[spring-data-commons-1.12.3. > RELEASE.jar!/:na] > at org.springframework.data.repository.core.support. > RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke( > RepositoryFactorySupport.java:488) ~[spring-data-commons-1.12.3. > RELEASE.jar!/:na] > at org.springframework.data.repository.core.support. > RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke( > RepositoryFactorySupport.java:460) ~[spring-data-commons-1.12.3. > RELEASE.jar!/:na] > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.3.RELEASE. > jar!/:4.3.3.RELEASE] > at org.springframework.data.projection.DefaultMethodInvokingMethodInt > erceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:61) > ~[spring-data-commons-1.12.3.RELEASE.jar!/:na] > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.3.RELEASE. > jar!/:4.3.3.RELEASE] > at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke( > ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.3.RELEASE. > jar!/:4.3.3.RELEASE] > at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( > ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.3.RELEASE. > jar!/:4.3.3.RELEASE] > at org.springframework.aop.framework.JdkDynamicAopProxy. > invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.3.RELEASE. > jar!/:4.3.3.RELEASE] > at com.sun.proxy.$Proxy65.save(Unknown Source) ~[na:na] > at > FastFootShoesHistoricDataLoader.CacheLoader.loadCustomers(CacheLoader.java:168) > ~[classes!/:0.0.1-SNAPSHOT] > at FastFootShoesHistoricDataLoader.CacheLoader.loadData(CacheLoader.java:81) > ~[classes!/:0.0.1-SNAPSHOT] > at FastFootShoesHistoricDataLoader.FastFootShoesHistoricDataLoade > rApplication$1.run(FastFootShoesHistoricDataLoaderApplication.java:27) > ~[classes!/:0.0.1-SNAPSHOT] > at > org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:800) > [spring-boot-1.4.1.RELEASE.jar!/:1.4.1.RELEASE] > ... 14 common frames omitted > > > On Sun, Dec 11, 2016 at 2:13 PM, Amit Pandey <[email protected]> > wrote: > >> Thanks. >> I am talking of this application :- https://github.com/Pivotal- >> Open-Source-Hub/geode-demo-application >> >> This uses an old version of Geode. I am trying to use the latest >> application. >> >> I will try with Spring Data Geode. >> >> On Sun, Dec 11, 2016 at 5:17 AM, John Blum <[email protected]> wrote: >> >>> Amit- >>> >>> Only *Spring Data Geode* is going to work with the *Apache Geode*. *Spring >>> Data GemFire* 1.8 is only recommended with *Pivotal GemFire* 8.2.1. >>> >>> See this (Wiki) page >>> <https://github.com/spring-projects/spring-data-gemfire/wiki/Spring-Data-GemFire-to-GemFire-Version-Compatibility> >>> [1] >>> for more details. >>> >>> -John >>> >>> [1] https://github.com/spring-projects/spring-data-gemfire/w >>> iki/Spring-Data-GemFire-to-GemFire-Version-Compatibility >>> >>> >>> On Sat, Dec 10, 2016 at 12:53 PM, Greg Chase <[email protected]> wrote: >>> >>>> Hi Amit, >>>> Since you are calling this a "Pivotal" demo application, can you direct >>>> us to the source of your code? That way we can make sure you are using an >>>> application that is correct for the latest version of Apache Geode. >>>> >>>> If its an Apache Geode demo application that is not working out of the >>>> box for you, then we will have to file a JIRA to fix it. >>>> >>>> Thanks, >>>> >>>> -Greg >>>> >>>> On Sat, Dec 10, 2016 at 12:26 PM, Amit Pandey < >>>> [email protected]> wrote: >>>> >>>>> Hi All, >>>>> >>>>> I am trying to use Spring Boot 1.4.1 and Spring Gemfire 1.8.0 withe >>>>> Geode Demo Pivotal Application. >>>>> >>>>> I am getting this error :- java.lang.ClassNotFoundException: >>>>> org.apache.geode.cache.RegionDestroyedException >>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381) >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424) >>>>> at org.springframework.boot.loader.LaunchedURLClassLoader.doLoa >>>>> dClass(LaunchedURLClassLoader.java:170) >>>>> at org.springframework.boot.loader.LaunchedURLClassLoader.loadC >>>>> lass(LaunchedURLClassLoader.java:136) >>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) >>>>> at java.lang.Class.forName0(Native Method) >>>>> >>>>> >>>>> Is there any such upto date demo? Can anyone give me an hint on that.. >>>>> I am using Geode latest . >>>>> >>>>> Regards >>>>> >>>> >>>> >>> >>> >>> -- >>> -John >>> 503-504-8657 >>> john.blum10101 (skype) >>> >> >> > -- -John 503-504-8657 john.blum10101 (skype)
