Hi!

If I close a remote cache listener by killing it - maybe system crash - and try to 
shutdown the remote cache server, I get a java.rmi.ConnectionException in 
DisposeEvent#doRun when listener.handleDispose gets called. The
following disposalInProcess.notifyAll() and disposalInProcess = Boolean.FALSE
do not seem to be called at all after that exception. I use a Disk Cache to
make the cached objects permanent. If the exception is thrown, the keys
are not written to disk. I managed this error by encaspulating all method calls
done in the synchronized block of doRun in own try and catch blocks. Now it
shuts down even if the remote listener is not reachable. But I don't know if
this any side effects on other auxiliary caches.

Has anyone else experienced this behavior too?

Christian
--
subshell gmbh
Christian Kreutzfeldt
Weidenallee 1                       t +49.40.431 362-27
20357 Hamburg                       f +49.40.431 362-29
http://www.subshell.com               [EMAIL PROTECTED]

Reply via email to