You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "kcheng.mvp (JIRA)" <ji...@apache.org> on 2015/08/13 17:21:45 UTC
[jira] [Created] (IGNITE-1246) Exception in thread "main"
javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException:
Failed to validate cache configuration. Cache store factory is not
serializable. Cache name: XXXXXXX
kcheng.mvp created IGNITE-1246:
----------------------------------
Summary: Exception in thread "main" javax.cache.CacheException: class org.apache.ignite.IgniteCheckedException: Failed to validate cache configuration. Cache store factory is not serializable. Cache name: XXXXXXX
Key: IGNITE-1246
URL: https://issues.apache.org/jira/browse/IGNITE-1246
Project: Ignite
Issue Type: Bug
Reporter: kcheng.mvp
Here is my configuration
{code:xml}
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" />
<property name="url"
value="jdbc:oracle:thin:@//192.168.2.39:1521/db" />
<property name="username" value="abc" />
<property name="password" value="abc" />
</bean>
<bean id="cache.cfg" class="org.apache.ignite.configuration.CacheConfiguration">
<property name="memoryMode" value="OFFHEAP_TIERED" />
<property name="offHeapMaxMemory" value="#{4 * 1024L * 1024L * 1024L}" />
<property name="atomicityMode" value="ATOMIC" />
<property name="backups" value="1" />
<!--
<property name="interceptor">
<bean class="com.fangcang.cache.core.interceptor.IncrInterceptor" />
</property>
-->
<property name="cacheStoreFactory">
<bean class="javax.cache.configuration.FactoryBuilder$SingletonFactory">
<constructor-arg>
<bean class="org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStore">
<property name="dataSource" ref="dataSource"/>
</bean>
</constructor-arg>
</bean>
</property>
</bean>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)