<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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
cite="mid:1314283505.27852.YahooMailClassic@web161009.mail.bf1.yahoo.com"
type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font: inherit;" valign="top">
<p class="p1">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 class="p1"><br>
</p>
<p class="p1">
</p>
<p class="p1">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 class="p2"><br>
</p>
<p class="p1">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 class="p1"><br>
</p>
<p class="p1"><span class="Apple-style-span">I noticed
that another user on this forum mentioned the same
repository lock error, but on a </span><span
class="Apple-style-span" style="font-family:
Verdana,Geneva,Helvetica,Arial,sans-serif;
background-color: rgb(255, 255, 255);">WebSphere 7</span><span
class="Apple-style-span"> server.
(<a class="moz-txt-link-freetext" href="http://drools.46999.n3.nabble.com/Can-Guvnor-provide-client-management-API-td3283602.html#a3283610">http://drools.46999.n3.nabble.com/Can-Guvnor-provide-client-management-API-td3283602.html#a3283610</a>)</span></p>
<p class="p2"><br>
</p>
<p class="p1">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 class="p1"><br>
</p>
<p class="p1">Can anyone from the Drools-Guvnor team add
more details about this? Is this a JackRabbit issue, or
a Drools-Guvnor? </p>
<p class="p2"><br>
</p>
<p class="p1">thx,</p>
<p class="p1">--Patricia</p>
</td>
</tr>
</tbody>
</table>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
With kind regards,
Geoffrey De Smet</pre>
</body>
</html>