Can you try 1.4.3.GA (comes with JBoss 5.1.0) and see if it's still reproducible?
I don't know if am doing this correctly.. But i copied the jboss-messaging.jar (1.4.3 GA) from jboss 5.1 to the existing jboss 5.0.1 lib and ran my client also with the new jar file.
Its still the same. Do i need to use the new remoting jar file or am i totally on the wrong path ??
Yes, you need to use the remoting jar that comes with 5.1.
However, the best way to try is use AS 5.1.
I did use the new jboss-remoting.jar along with the 1.4.3GA messaging jar... It does the same.
I am going to try and use AS 5.1 and see if it still happens.
Gao - Thanks for all your help. I used AS 5.1 ( jbm 1.4.3 )
and see that the timer threads go away after i connect/ disconnect n number of times...(except for a few and they don't continue to grow..)
But on the server , i do see a bunch of worker threads created and there are in waiting/blocked state even after i disconnect all the connections from the client.
Any ideas ?