true - that work work as-is right now. <div><br></div><div>Of course the problem remains the meaning of the JCR nodes are specific to guvnor, so you would need to know how it stores things, but yeah, that could work. <br><br>
<div class="gmail_quote">On Mon, Mar 8, 2010 at 11:19 PM, Jaroslaw Kijanowski <span dir="ltr">&lt;<a href="mailto:kijanowski@gmail.com">kijanowski@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
  if you could use a &#39;real&#39; database (instead of Derby), how about this?<br>
Configure Jackrabbit to run in a clustered environment in Guvnor and<br>
your standalone app. This is done in the repository.xml file [1]. That<br>
would allow you to access the JCR repo from different apps at the same<br>
time (no locks).<br>
<br>
<br>
[1] <a href="http://wiki.apache.org/jackrabbit/Clustering" target="_blank">http://wiki.apache.org/jackrabbit/Clustering</a><br>
<br>
Cheers,<br>
  Jarek<br>
<div><div></div><div class="h5"><br>
Bernd Rücker wrote:<br>
&gt; Hey guys.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I thought I better ask that question on the dev list, correct me if that<br>
&gt; was a bad choice ;-)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I want to programmatically access the JCR repository from another<br>
&gt; application (basically to author rules). I understood the<br>
&gt; RulesRepository (which is a nice interface by the way).  I tried to<br>
&gt; understand how the JCR Session is created and can be accessed. As far as<br>
&gt; I found it, it seems that a Seam Bean just starts everything<br>
&gt; (RulesRepositoryManager).  Now the question is: How can I access this<br>
&gt; from another application? Because the workspace is locked, I cannot<br>
&gt; create another Session from there.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Wouldn’t it be nice to bind the stuff in JNDI correctly or something<br>
&gt; like that? Or if I do that, can I inject it into the Seam application?<br>
&gt; Or maybe I can access the seam bean somehow from external?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I think it would be the easiest and best to access the JCR repos instead<br>
&gt; of using WebDav or whatever if I am in another EJB3 application…<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks a lot for any hint<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; Bernd<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Blog: _<a href="http://www.bpm-guide.de" target="_blank">www.bpm-guide.de</a> &lt;<a href="http://www.bpm-guide.de" target="_blank">http://www.bpm-guide.de</a>&gt;_<br>
&gt;<br>
&gt; ---------------------------------------------<br>
&gt;<br>
&gt; camunda services GmbH - The Business Process Company<br>
&gt;<br>
&gt; Zossener Straße 55-58 - 10961 Berlin<br>
&gt;<br>
&gt; <a href="http://www.camunda.com" target="_blank">www.camunda.com</a> &lt;<a href="http://www.camunda.com" target="_blank">http://www.camunda.com</a>&gt; - <a href="mailto:info@camunda.com">info@camunda.com</a><br>
&gt; &lt;mailto:<a href="mailto:info@camunda.com">info@camunda.com</a>&gt;<br>
&gt;<br>
&gt; ---------------------------------------------<br>
&gt;<br>
&gt; Bernd Rücker<br>
&gt;<br>
&gt; Geschäftsführer<br>
&gt;<br>
&gt; Telefon +49 30 664040 901<br>
&gt;<br>
&gt; Mobil +49 171 1473461<br>
&gt;<br>
&gt; <a href="mailto:bernd.ruecker@camunda.com">bernd.ruecker@camunda.com</a> &lt;mailto:<a href="mailto:bernd.ruecker@camunda.com">bernd.ruecker@camunda.com</a>&gt;<br>
&gt;<br>
&gt; ---------------------------------------------<br>
&gt;<br>
&gt; Amtsgericht Charlottenburg: HRB 113230 B<br>
&gt;<br>
&gt; Geschäftsführer: Jakob Freund, Bernd Rücker<br>
&gt;<br>
&gt; ---------------------------------------------<br>
&gt;<br>
&gt; BPMN-Buch: <a href="http://www.hanser.de/buch.asp?isbn=978-3-446-41768-7" target="_blank">http://www.hanser.de/buch.asp?isbn=978-3-446-41768-7</a><br>
&gt;<br>
&gt; EJB-3-Buch: <a href="http://www.ejbbuch.de/" target="_blank">http://www.ejbbuch.de/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-dev mailing list<br>
&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
</div></div><div><div></div><div class="h5">&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Michael D Neale<br>home: <a href="http://www.michaelneale.net">www.michaelneale.net</a><br>blog: <a href="http://michaelneale.blogspot.com">michaelneale.blogspot.com</a><br>

</div>