[jboss-user] [JBossCache] - Clusted Cache with Berkeley CacheLoader with a singleton wri

jivesociety do-not-reply at jboss.com
Mon Nov 19 19:21:09 EST 2007


I was wondering if a configuration with the following properties is possible:
- clusted cache
- Berkeley CacheLoader
- Singleton writer enabled

I'm getting the following exception and was wondering if there was a way to make this work out of the box without creating a custom cacheloader.

Caused by: com.sleepycat.je.log.LogException: (JE 3.2.44) A je.lck file exists in C:\cache\stats The environment can not be locked for single writer access.
	at com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:1292)
	at com.sleepycat.je.log.FileManager.(FileManager.java:185)
	at com.sleepycat.je.dbi.EnvironmentImpl.(EnvironmentImpl.java:296)
	at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:102)
	at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:54)
	at com.sleepycat.je.Environment.(Environment.java:100)
	at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.start(BdbjeCacheLoader.java:171)
	at org.jboss.cache.loader.AbstractDelegatingCacheLoader.start(AbstractDelegatingCacheLoader.java:158)
	at org.jboss.cache.loader.CacheLoaderManager.startCacheLoader(CacheLoaderManager.java:378)
	... 61 more

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

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



More information about the jboss-user mailing list