5 Replies Latest reply on Aug 19, 2009 3:49 PM by sachten1010

    hanging Timer threads ?

      I am trying to use JBoss messaging 1.4.1 GA ( built-in version from JBOSS 5.0.1 GA)

      When i open and close a remote topic connection from a client , i see timer threads running in the client end and they don't seem to clean up even after i disconnect my connection....
      ( i am using the jboss-remoting.jar from 5.0.1 GA..)

      As i keep opening and closing connections from the client, they seem to keep growing.

      Is there anything that can be done to clean them up ?



        • 1. Re: hanging Timer threads ?
          gaohoward

          Hi,
          Can you try 1.4.3.GA (comes with JBoss 5.1.0) and see if it's still reproducible?
          Thanks.

          • 2. Re: hanging Timer threads ?

            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 ??

            Thanks..

            • 3. Re: hanging Timer threads ?
              gaohoward

              Yes, you need to use the remoting jar that comes with 5.1.

              However, the best way to try is use AS 5.1.

              • 4. Re: hanging Timer threads ?

                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.

                thanks.

                • 5. Re: hanging Timer threads ?

                  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 ?