Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-1584

Tomcat logs SEVERE error when site is redeployed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.22.00
    • Fix Version/s: 2.23.01
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      When the site war is redeployed, Cargo logs the following error:

      SEVERE: The web application [/site] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@524b9e7c]) and a value of type [org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository] (value [org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository@62920919]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

      Steps to reproduce:

      1. create a new site with the archetype:

      $ mvn archetype:generate \
      -DarchetypeRepository=http://maven.onehippo.com/maven2 \
      -DarchetypeGroupId=org.onehippo.cms7 \
      -DarchetypeArtifactId=hippo-archetype-website \
      -DarchetypeVersion=1.03.00

      2. compile the project and start Cargo:

      $ mvn clean install
      $ mvn -P cargo.run

      3. in a second shell, recompile and redeploy the site

      $ cd site
      $ mvn package cargo:redeploy

      Cargo will then log the error in the first shell.

        Attachments

          Activity

            People

            • Assignee:
              wko Woonsan Ko
              Reporter:
              mdenburger Mathijs den Burger (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: