[jboss-user] [JBossCache] - Re: how do i clean (remove) all nodes from a cache loader?

gmeroz do-not-reply at jboss.com
Sat Feb 10 08:32:42 EST 2007


I'm not using async mode.

i made sure the cache is empty (nodes are not found anymore). but the JDBCCacheLoader's table content did not change.

i'm using JBossCache-all-2.0.0.ALPHA2 deployed on jboss-4.0.3SP1.

with the following configuration:

  | <attribute name="TransactionManagerLookupClass">org.jboss.cache.GenericTransactionManagerLookup</attribute>
  |         <attribute name="IsolationLevel">READ_COMMITTED</attribute>
  | 
  |         <attribute name="CacheMode">LOCAL</attribute>
  |         <attribute name="CacheLoaderConfiguration">
  |             <config>
  |                 <passivation>false</passivation>
  |                 <preload>/</preload>
  |                 <shared>true</shared>
  | 
  |                 <cacheloader>
  |                     <!--<class>org.jboss.cache.loader.FileCacheLoader</class>-->
  |                     <!--<properties>-->
  |                         <!--location=d:\temp\jc-->
  |                     <!--</properties>-->
  |                     <class>org.jboss.cache.loader.JDBCCacheLoader</class>
  |                     <properties>
  |                         cache.jdbc.table.name=jbosscache_application
  |                         cache.jdbc.table.create=true
  |                         cache.jdbc.table.drop=true
  |                         cache.jdbc.table.primarykey=jbosscache_application_pk
  |                         cache.jdbc.fqn.column=fqn
  |                         cache.jdbc.fqn.type=varchar(255)
  |                         cache.jdbc.node.column=node
  |                         cache.jdbc.node.type=blob
  |                         cache.jdbc.parent.column=parent
  |                         cache.jdbc.datasource=java:/beDS
  |                     </properties>
  | 
  |                     <async>false</async>
  |                     <fetchPersistentState>false</fetchPersistentState>
  |                     <ignoreModifications>false</ignoreModifications>
  |                     <purgeOnStartup>false</purgeOnStartup>
  |                 </cacheloader>
  |             </config>
  |         </attribute>

What can explain this behaviour?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014133#4014133

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014133



More information about the jboss-user mailing list