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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to