I just checked the state of these. Actually if you look at ISPN-1418, it has a resolution version of 5.0.2.FINAL; also 5.1.0.BETA1 contains the fix, but 5.0.1.FINAL does not
Sanne, I think he meant that he only sees the IllegalMonitorStateException with 5.10.ALPHA1, but not with 5.0.1.FINAL.
Penumbra, that code moved around a bit between 5.1.0.ALPHA1 and 5.1.0.BETA1 because of ISPN-1418, can you post a log with 5.1.0.BETA1 to make it easier to investigate?
I built TorqueBox 2.0.0-SNAPSHOT from source using Infinispan 5.1.0.BETA1 (instead of the default Infinispan 5.1.0.ALPHA1), and the IllegalMonitorStateExceptions *indeed have gone away!
I now see a NumberFormatException due to the use of a "metadata" subfolder in the "Infinispan-FileCacheStore" folder. Fortunately, Sanne already fixed that issue.