<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfresco created a ThreadLocal but failed remove it on stop in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-created-a-threadlocal-but-failed-remove-it-on-stop/m-p/270777#M223907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in my tomcat log i found this SEVERE note:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6ac42579]) and a value of type [null] (value [org.alfresco.web.bean.NavigationBean$2@16ca6613]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.&lt;BR /&gt;Dec 17, 2010 9:22:29 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover when i try to start and stop alfresco, at third or forth time alfresco don't start for &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; java.lang.OutOfMemoryError: PermGen space &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone can solve it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Dec 2010 14:27:05 GMT</pubDate>
    <dc:creator>othlen</dc:creator>
    <dc:date>2010-12-17T14:27:05Z</dc:date>
    <item>
      <title>Alfresco created a ThreadLocal but failed remove it on stop</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-created-a-threadlocal-but-failed-remove-it-on-stop/m-p/270777#M223907</link>
      <description>Hi,in my tomcat log i found this SEVERE note&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;EVERE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6ac42579]) and a value of type [null] (value [org.alfresco.web.bean.NavigationBean$2@16ca6613]) but failed to remove it wh</description>
      <pubDate>Fri, 17 Dec 2010 14:27:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-created-a-threadlocal-but-failed-remove-it-on-stop/m-p/270777#M223907</guid>
      <dc:creator>othlen</dc:creator>
      <dc:date>2010-12-17T14:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco created a ThreadLocal but failed remove it on stop</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-created-a-threadlocal-but-failed-remove-it-on-stop/m-p/270778#M223908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can ignore the ThreadLocal stuff - Tomcat is being too pedantic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your second error, You need to increase the permgen space available to Alfresco.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my dev settings which may be far too small, however you can tweak the numbers for -Xmx and -XX&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ermSize upwards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx1024m -Xss96k -server -XX&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ermSize=300m -Duser.language=us -Duser.country=US&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 16:39:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-created-a-threadlocal-but-failed-remove-it-on-stop/m-p/270778#M223908</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-12-17T16:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco created a ThreadLocal but failed remove it on stop</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-created-a-threadlocal-but-failed-remove-it-on-stop/m-p/270779#M223909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can ignore the ThreadLocal stuff - Tomcat is being too pedantic.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Ignoring SEVERE signals is a good idea if you are quite sure that they are not caused by something real.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Our problem is, however, real: when we close and reopen alfresco 3 times the exception always happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;For your second error, You need to increase the permgen space available to Alfresco.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;IMHO the second error is dependent on the first one, so increasing the heap size (that is 4Gb already) can only make our system work some more time, but the issue is still there and is not solved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Dec 2010 17:03:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-created-a-threadlocal-but-failed-remove-it-on-stop/m-p/270779#M223909</guid>
      <dc:creator>othlen</dc:creator>
      <dc:date>2010-12-17T17:03:32Z</dc:date>
    </item>
  </channel>
</rss>

