Does Tomcat&#39;s log suggest anything abnormal?<br><br>I have seen &quot;SEVERE: The web application [/guvnor-5.3.0-SNAPSHOT-tomcat-6.0] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@c74b55]) and a value of type [org.apache.derby.iapi.services.context.ContextManager] (value [org.apache.derby.iapi.services.context.ContextManager@55bfaf]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.&quot; type errors in the past which is not going to help matters.<br>
<br><div class="gmail_quote">2011/8/25 Geoffrey De Smet <span dir="ltr">&lt;<a href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>

  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Did you close down Tomcat6 normally? So not with kill or kill -9?<br>
    <br>
    Op 25-08-11 16:45, Patricia Bogoevici schreef:
    <blockquote type="cite"><div><div></div><div class="h5">
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td style="font:inherit" valign="top">
              <p>I ran Guvnor 5.1 under Tomcat6. If I am
                using Tomcat manager to re-deploy Guvnor, I get this
                error about the repository lock:</p>
              <p><br>
              </p>
              <p>
              </p>
              <p>Caused by:
                org.drools.repository.RulesRepositoryException:
                javax.jcr.RepositoryException: The repository home
                /MY_SERVER_PATH/guvnor/WEB-INF/classes/repository
                appears to be already locked by the current process.</p>
              <p><br>
              </p>
              <p>To fix the lock error I had to stop Tomcat,
                upload the new Guvnor war, and start Tomcat. It is
                pretty inconvenient that one has to restart the whole
                server, as that would disrupt any other application that
                is deployed on the same server.</p>
              <p><br>
              </p>
              <p><span>I noticed
                  that another user on this forum mentioned the same
                  repository lock error, but on a </span><span style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;background-color:rgb(255, 255, 255)">WebSphere 7</span><span> server.
(<a href="http://drools.46999.n3.nabble.com/Can-Guvnor-provide-client-management-API-td3283602.html#a3283610" target="_blank">http://drools.46999.n3.nabble.com/Can-Guvnor-provide-client-management-API-td3283602.html#a3283610</a>)</span></p>

              <p><br>
              </p>
              <p>I also checked the JackRabbit source code,
                and Wiki, and the documentation says that this error
                happens when the repository is not properly closed. </p>
              <p><br>
              </p>
              <p>Can anyone from the Drools-Guvnor team add
                more details about this? Is this a JackRabbit issue, or
                a Drools-Guvnor? </p>
              <p><br>
              </p>
              <p>thx,</p>
              <p>--Patricia</p>
            </td>
          </tr>
        </tbody>
      </table>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
    <pre cols="72">-- 
With kind regards,
Geoffrey De Smet</pre>
  </div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>