I have a service that listens to and services JMS queues. I have been starting and
stopping it and have been watching the thread count grow. Through a tedious trial and
error session I have determined that the thread that is produced when
javax.jms.Session.createConsumer() never goes away.
I am calling MessageConsumer.close() but the thread stays around. Even after I undeploy
my service the thread that was created by it remains. I did this by remote debugging my
JBoss server using eclipse and looking at the threads. I even wrote a simple test program
that crated a consumer then closed it and I stepped through it watching it create the
thread. When I stepped through the close method it di ot go away.
Has anyone else seen this? This is a huge show stopper for us, as this won't run like
this too long before all the resources are exhausted.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000612#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...