Re: How can i get the ignite instance im my code when i had config the Spring Cache?

2016-03-14 Thread 上帝已死
It seems i can't set SpringCacheManager's configuration by "ref". The following configuration is work ok: -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-can-i-get-the-ignite-instance-im-my-code-when-i-had-config-the-Spring-Cache-tp3477p3505.html Sent from

Re: How can i get the ignite instance im my code when i had config the Spring Cache?

2016-03-14 Thread vkulichenko
I see two possible reasons: the node doesn't start or you call Ignition.ignite() before it starts. I would add a debug print out next to Ignition.ignite() call and check the logs. -Val -- View this message in context:

Re: Unable to cache beyond RAM memory. Help me PLease!!!

2016-03-14 Thread vkulichenko
Bhargav, How much physical memory do you have? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Unable-to-cache-beyond-RAM-memory-Help-me-PLease-tp3366p3499.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How can i get the ignite instance im my code when i had config the Spring Cache?

2016-03-14 Thread vkulichenko
Hi, The node should be automatically started and you should see that in the logs. Most likely you called Ignition.ignite() before that somehow. Anyway, can you clarify what are you trying to achieve? If you want to use IgniteCache API, you don't need SpringCacheManager. It should be used only if

Re: Client configuration - help

2016-03-14 Thread vkulichenko
Arthi, What is the original exception? You provided the truncated trace and it's not clear what happened. Please show the whole log. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Client-configuration-help-tp3454p3495.html Sent from the Apache Ignite

Re: A Question About Behavior

2016-03-14 Thread vkulichenko
Hi Kevin, I reproduced the issue and create a ticket [1]. It will be fixed soon. [1] https://issues.apache.org/jira/browse/IGNITE-2795 -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/A-Question-About-Behavior-tp3235p3493.html Sent from the Apache Ignite

Re: Hibernate connection inspite of jdbc?

2016-03-14 Thread Denis Magda
Ravi, According to the error below java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session; the Hibernate version that is used on one of the nodes is different from the version used on a node that initiated cache loading (started example). Make sure

Re: Hibernate connection inspite of jdbc?

2016-03-14 Thread Ravi Puri
now i got this error [16:34:55,477][ERROR][ignite-#7%pub-null%][GridJobWorker] Failed to execute job due to unexpected runtime exception [jobId=d21bcc47351-c022f034-e4a4-4d2a-9b98-6f7824de393b, ses=GridJobSessionImpl [ses=GridTaskSessionImpl

Re: How can i get the ignite instance im my code when i had config the Spring Cache?

2016-03-14 Thread 上帝已死
Actually, what i want to ask is why spring won't start the ignite instance(i had config the grid name as "myGrid") when the application start? -- View this message in context:

Re: How can i get the ignite instance im my code when i had config the Spring Cache?

2016-03-14 Thread Pavel Tupitsyn
You have to call Ignition.start("PATH_TO_SPRING_XML") to start a grid from Spring configuration file. On Mon, Mar 14, 2016 at 1:08 PM, 上帝已死 <527901...@qq.com> wrote: > No, I am not call Ignition.start("myGrid") anywhere before, But I think > spring will start it. > > > > -- > View this message

Re: Relation between CacheStore<K,V> and IgniteCache<K,V>

2016-03-14 Thread Denis Magda
Kobe, Your understanding looks correct to me. It's always better to decouple different entities from each other and store them in relevant caches. Here you can follow the same rules as when you work with a database where you create a table for each unique entity. For every cache you have to