I have found the problem. I had accidentally synchronized the toString method of my
counter object. This was causing some threads to deadlock resulting in the counter not
returning to zero.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842885#3842885
Reply
Obviously the other alternative is that the increment code is throwing an exception
but I can't find anything in the logs to indicate this and there is nothing particular
in that code that throws any exceptions...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p