Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3.0.M1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Steps to Reproduce:
      Hide

      Run Metamer Ftest with tomcat and check the logs

      mvn clean verify -Ptomcat-managed-8 -Dtest=TestSimplePush  [-Dmetamer.classifier=tomcat7-myfaces]
      
      Show
      Run Metamer Ftest with tomcat and check the logs mvn clean verify -Ptomcat-managed-8 -Dtest=TestSimplePush [-Dmetamer.classifier=tomcat7-myfaces]

      Description

      The HornetQ Threads are not closed properly. This causes memory leaks, which can lead to test suite stuck.

      See [1] after each test class.

      Aug 21, 2012 9:59:03 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
      SEVERE: The web application [/metamer] appears to have started a thread named [Thread-0 (HornetQ-client-factory-threads-1849147-2133832)] but has failed to stop it. This is very likely to create a memory leak.
      

      In Myfaces(only) there are also problems with closing ThreadLocals

      Aug 21, 2012 9:59:03 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
      SEVERE: The web application [/metamer] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@f659f0]) and a value of type [org.apache.myfaces.context.servlet.ServletExternalContextImpl] (value [org.apache.myfaces.context.servlet.ServletExternalContextImpl@18ad373]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
      

      [1] http://hudson.qa.jboss.com/hudson/view/RF-4.0/job/richfaces-metamer-smoke-ftest-myfaces/56/console

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jstefek Jiří Štefek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: