Hello, I've met the following problem using JBoss cache. My servlet works with 
3 instances of JBoss cache for different purposes. It started on two different 
computers. When I was testing it I stopped and started application one by 
another. Afte several restarts I allways got error:
Caused by: org.jboss.cache.lock.TimeoutException: rsp=sender=11.10.77.77:35744, 
retval=null, received=false, suspected=false
        at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2205)
        at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2227)
        at 
org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:120)
        at 
org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:85)
        at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3116)
        at org.jboss.cache.TreeCache.put(TreeCache.java:1687)
        at org.jboss.cache.TreeCache.put(TreeCache.java:1671)

And this error occures after each invocation of put method. It looks like 
"deadlock" problem already described on this forum. The only way to stop 
exceptions is to stop both servers wait some time and to start them again. If 
both servers starts right away after stop then error doesnt disappear. So the 
questions:

1) Does JBossCache store its state somewhere (on the file system for example) 
by default?
2) Can we correctly detect that we have deadlock?
3) Can we fix it in runtime or even avoid it?

Thanks in advance.

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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to