I am integrating spring3.2 + ehcache + bigmemory go.
Firstly, i do not undertand what is the term "Save the BigMemory Go license-key file to the BigMemory Go home directory." What would be my BigMemory Go home directory in my java web application deployed on glassfish.
Request Help.
Secondly, i get this error:
nested exception is net.sf.ehcache.CacheException: Cannot instantiate enterprise features manager
Following is are my files;
Code:
<bean id="ehcacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"> <property name="configLocation" value="/WEB-INF/ehcache.xml" />
<property name="shared" value="true" />
</bean>
Code:
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd"
name="myBigMemoryGoConfig">
<!-- Tell BigMemory where to write its data to disk. -->
<diskStore path="C:/bigmemorygo"/>
<cache name="CACHE_GEN" maxBytesLocalHeap="124M" maxBytesLocalOffHeap="1G">
<persistence strategy="localRestartable"/>
</cache>
<cache name="CACHE_CMP" maxBytesLocalHeap="124M" maxBytesLocalOffHeap="1G">
<persistence strategy="localRestartable"/>
</cache>
</ehcache>
Help appreciated.
Thanks,
Godwin