From: robitop <nu...@jb...> - 2005-03-03 21:16:32
|
following the cacheloader tutorial in section 10.2. Replicated cache with shared datastore i try to use the BdbjeCacheLoader instead of the FileCacheLoader as follows: org.jboss.cache.loader.bdbje.BdbjeCacheLoader location=c:\\tmp\\bdbje I receive the following error if I trying to run the second process. ( both process are on the sam machine ) - With filecacheloader it works. the stack dump com.sleepycat.je.log.LogException: A je..lckfile exists in c:\tmp\bdbje The environment can not be locked for single writer access. at com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:941) at com.sleepycat.je.log.FileManager.(FileManager.java:137) at com.sleepycat.je.dbi.EnvironmentImpl.(EnvironmentImpl.java:168) at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:65) at com.sleepycat.je.Environment.(Environment.java:79) at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.start(BdbjeCacheLoader.java:12 7) at org.jboss.cache.TreeCache.startCacheLoader(TreeCache.java:1444) at org.jboss.cache.TreeCache.startService(TreeCache.java:1109) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport. java:272) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:173) at org.jboss.cache.TreeCacheView2.main(TreeCacheView2.java:123) ? are any additional setting required or just not allowed?. Any help is appreciated. Cheers robitop. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868709#3868709 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868709 |