[jboss-user] [JBoss Cache: Core Edition] - JDBMCacheLoader location property

cavani do-not-reply at jboss.com
Mon Nov 24 07:15:56 EST 2008


I am using JBC3 GA with JDBMCacheLoader, I trying change the name of the file database as described in JavaDoc. The file name change as expected but the full location is also created as an folder.

So:


  | location=/srv/cache/#data
  | 

Results:


  | /srv/cache/#data (folder)
  | /srv/cache/data.db
  | /srv/cache/data.lg
  | 

JavaDoc:

http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.0.GA/apidocs/index.html

My config:


  | <jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.0">
  | 
  | 	<transaction transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"/>
  | 
  | 	<loaders passivation="false" shared="false">
  | 		<preload>
  | 			<node fqn="/"/>
  | 		</preload>
  | 
  | 		<loader
  | 			class="org.jboss.cache.loader.jdbm.JdbmCacheLoader"
  | 			async="false"
  | 			fetchPersistentState="true"
  | 			ignoreModifications="false"
  | 			purgeOnStartup="false">
  | 			
  | 			<properties>location=/srv/cache/#data</properties>
  | 
  | 		</loader>
  | 	</loaders>
  | 
  | </jbosscache>
  | 

I think this is a bug. If this is duplicated or know issue, sorry. Otherwise, I can open an issue in JIRA.

Thanks,

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

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



More information about the jboss-user mailing list