ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@gridgain.com>
Subject Re: Using ignite configuration with JCache api
Date Wed, 18 Nov 2015 10:28:48 GMT

Please check where Ignite home directory refers to in your case. Just 
executed the following code


Then create 'config' folder there and put default-config. xml in this 

You can always change Ignite home directory by passing the following VM 
options upon your apllication launch:


On 11/18/2015 1:06 PM, edwardk wrote:
> Hi,
> Thanks for your response.
> But, I am still not clear on this.
> I have ignite-config.xml in my project folder (src/main/resources)
> I have used JCache API to create and read from the cache.
> In ignite-config.xml I have added cacheConfiguration bean's for each of the
> caches I have created using JCache api to configure expiry and eviction
> times respectively .
> But, it seems the ignite-config.xml has not be referred at all , as expiry
> and eviction is not happening as per the configuration.
> I even tried adding a config folder(src/main/resources/config) with
> default-config.xml in it with same configuration as in igntie-config.xml,
> but still it is not working as expected.
> There should be some way to refer to my cache configuration xml from JCache.
> But, not sure of how to achieve it.
> Thanks,
> Sridhar
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Using-ignite-configuration-with-JCache-api-tp2000p2006.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message