Re: Getting Invalid state exception when Persistance is enabled.

2018-02-20 Thread Prasad Bhalerao
Hi Slava, Thank you for solution. Can you please help me with following question. I am loading the cache from oracle table using loadCache method. If the persistence is enabled and if the data is already persisted, I want to make sure that the cache is loaded from persisted data instead of

Re: Getting Invalid state exception when Persistance is enabled.

2018-02-20 Thread slava.koptilin
Hi Prasad, The root cause of IllegalStateException you observed is that the Ignite instance is created within IgniteSpringBean#afterSingletonsInstantiated() method which is triggered by the Spring Framework. So, you should not call ignite.active(true) method here: @Bean public IgniteSpringBean