I think we have the second problem in Cocoon since our first version :( I always thought about adding a counter for the concurrent requests in a tree processor, but always forget about it :( Regarding performance: is this a problem as the counter has to be synchronized?
Whay? If the counter is a simple "int" field, you don't need to synchronize access to it, or I am missing something?
Ugo