<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Yuri, the lucene search indexes
      cannot be persisted to the JCR repo. They will always be persisted
      to your local file system. They can be removed however between
      server startups and will get regenerated on next use. The Guvnor
      admin tool generates Jackrabbit configs for different databases so
      its a good thing to use them, but you can always edit the
      generated configurations for your specific needs.<br>
      <br>
      HTH<br>
      Tihomir<br>
      On 1/14/13 1:22 PM, Yuri wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ4=o5958xGsm7FK+rkNFmUGbmfsAzWuOx-C9gGMPW71_EB7DA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks for the reply Jervis. &nbsp;I would like to
        clarify my question, however: Guvnor uses a great deal of
        technologies with which I am not at all familiar. I am new to
        JCR in general and jackrabbit in particular, so even when I get
        something to seemingly work, I still question whether I've
        broken a best practice. &nbsp;Having said that, I used guvnor admin
        tool to create the repository.xml file, and there are two spots
        where it still points to the file system instead of the DB. &nbsp;In
        both cases, it is the SearchIndex element, using the lucene
        library. &nbsp;I am pretty sure this is what is still creating the
        folders in my file system. &nbsp;My question is: since the DB has its
        own indexes, do I still need the SearchIndex elements, and if
        so, is it better to leave them pointing to the file system? &nbsp;I
        am asking because I assume that the repository.xml generated by
        the Guvnor admin tool is more accurate than what I would create
        as a novice.
        <div style="">
          Thanks again for the help!</div>
        <div style="">Best,</div>
        <div style="">Yuri</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Jan 10, 2013 at 8:55 PM, Jervis
          Liu <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:jliu@redhat.com" target="_blank">jliu@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div class="im">
                <div>On 2013/1/10 23:30, Yuri wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <p> I set up SQL Server as the external repository,
                      and left everything else in guvnor and jboss AS7
                      configured pretty much according to defaults.</p>
                    <p> When I create assets in guvnor, I see that
                      changes are being made in the MSSQL db. Despite
                      changes to the db, however, I'm still seeing
                      changes to the Repository and Workspace folders.
                      It gets more interesting when I truncate the
                      tables in the external guvnor db, and restart
                      guvnor, it seems to get all of its assets back
                      from those two folders.</p>
                  </div>
                </blockquote>
              </div>
              If you truncate your external db and you still get all
              assets back when your restart Guvnor, then there must be
              some problems with your configurations. Guvnor does
              nothing special as far as the persistent layer is
              concerned, you should be able to follow JackRabbit
              document to set it up correctly, for example:
              <a moz-do-not-send="true"
href="http://jackrabbit.apache.org/jackrabbit-configuration.html#JackrabbitConfiguration-Persistenceconfiguration"
                target="_blank">http://jackrabbit.apache.org/jackrabbit-configuration.html#JackrabbitConfiguration-Persistenceconfiguration</a><br>
              <br>
              Cheers,<br>
              Jervis<br>
              <br>
              <blockquote type="cite">
                <div class="im">
                  <div dir="ltr">
                    <p> Am I doing something wrong? Is it reconstructing
                      the assets from lucene indexes? If MSSQL is
                      already indexing things, is the lucene index still
                      necessary? Are these basic JCR concepts that I am
                      not grasping?</p>
                    <p> Thanks, Yuri</p>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <br>
                </div>
                <pre>_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              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>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
  </body>
</html>