Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3451

Tomcat 6.0.32 complains that ActiveMQ 5.5 doesn't shutdown a thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.5.0
    • 5.7.0
    • JMS client
    • jdk 1.6.0_23 for Linux 64 bit, Ubuntu 11.04
      Tomcat 6.0.32
      Spring 3.0.5

    Description

      Every time when restarting web application in Tomcat Manager I get messages:

      SEVERE: The web application [/sms] appears to have started a thread named [ActiveMQ Task-3] but has failed to stop it. This is very likely to create a memory leak.

      With every restart PermGen space is increased and finally i got OutOfMemory error for PermGen space.

      I use Spring DefaultMessageListenerContainer, and it's shutdown method closes properly receivers threads. What is "ActiveMQ Task-3" thread and how to close it properly ?

      Attachments

        1. activemq-core-5.7-SNAPSHOT.jar
          3.84 MB
          Claus Ibsen
        2. AMQ-3541-3.patch
          28 kB
          Claus Ibsen
        3. AMQ-3451-broker2.patch
          11 kB
          Claus Ibsen
        4. AMQ-3451-broker.patch
          7 kB
          Claus Ibsen
        5. patch.txt
          2 kB
          Sergey
        6. inherited_access_cotrol_context_leak.png
          292 kB
          Sergey
        7. transport_thread_leak.png
          497 kB
          Sergey

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              beowulf John Miller
              Votes:
              11 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: