<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Good pointer! I will try that first&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
rules-dev-bounces@lists.jboss.org [mailto:rules-dev-bounces@lists.jboss.org] <b>Im
Auftrag von </b>Michael Neale<br>
<b>Gesendet:</b> Montag, 8. März 2010 23:02<br>
<b>An:</b> Rules Dev List<br>
<b>Betreff:</b> Re: [rules-dev] Accessing JCR repository directly<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>true - that work work as-is right now.&nbsp;<o:p></o:p></p>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>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.&nbsp;<o:p></o:p></p>

<div>

<p class=MsoNormal>On Mon, Mar 8, 2010 at 11:19 PM, Jaroslaw Kijanowski &lt;<a
href="mailto:kijanowski@gmail.com">kijanowski@gmail.com</a>&gt; wrote:<o:p></o:p></p>

<p class=MsoNormal>Hi,<br>
&nbsp;if you could use a 'real' 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>
&nbsp;Jarek<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><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). &nbsp;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). &nbsp;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&#8217;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&#8230;<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><o:p></o:p></p>

</div>

</div>

<div>

<div>

<p class=MsoNormal>&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><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><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><o:p></o:p></p>

</div>

</div>

</body>

</html>