Tim, > - Postdecrement of a volatile is not atomic. > - Calls to "foreign" code in a synchronized block risks deadlock.
you are so right, I noticed this too, but after I sent the mail. Problems did arise when decrementing the volatile int. > - As you suspected, there is no guarantee that afterHandle will be called > once for every call to beforeHandle. Just for the record, afterHandle is not called, when uncought exceptions occur. Will test your version now, thanks a bunch! ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1114154

