<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 3/22/11 6:36 PM, Sathya Prakash wrote:
    <blockquote
      cite="mid:AANLkTi=rXU5L-gxOt7wnDY4c0EPyY_2EfEGWqZtwce_W@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
          Hi Suk,</div>
        <div> </div>
        <div>Kindly let me know how can point to the database repository
          directly, not depending on Guvnor application up running.<br>
        </div>
      </div>
    </blockquote>
    You could use the Jackrabbit API directly to log into your
    repository and search for assets, but this would get pretty complex.
    If you are trying to avoid network access or something, then just
    download the .pkg file and use it locally.<br>
    <br>
    Tihomir<br>
    <blockquote
      cite="mid:AANLkTi=rXU5L-gxOt7wnDY4c0EPyY_2EfEGWqZtwce_W@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
          Regards,</div>
        <div>sathya<br>
        </div>
        <div class="gmail_quote">2011/3/23 Suk Fung <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:suk_f@yahoo.com">suk_f@yahoo.com</a>&gt;</span><br>
          <blockquote style="border-left: 1px solid rgb(204, 204, 204);
            margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"
            class="gmail_quote">
            <div>
              <div style="font-family: arial,helvetica,sans-serif;
                font-size: 12pt;">
                <div>Thanks for all your info.  I got Guvnor configured
                  to use external database repository using mysql.  But
                  just wonder if the client application can point to the
                  database repository directly, not depending on Guvnor
                  application up running.<br>
                  <br>
                  Suk<br>
                </div>
                <div style="font-family: arial,helvetica,sans-serif;
                  font-size: 12pt;"><br>
                  <div style="font-family: times new roman,new
                    york,times,serif; font-size: 12pt;"><font size="2"
                      face="Tahoma">
                      <hr size="1">
                      <b><span style="font-weight: bold;">From:</span></b>
                      Michael Anstis &lt;<a moz-do-not-send="true"
                        href="mailto:michael.anstis@gmail.com"
                        target="_blank">michael.anstis@gmail.com</a>&gt;<br>
                      <b><span style="font-weight: bold;">To:</span></b>
                      drools-user &lt;<a moz-do-not-send="true"
                        href="mailto:rules-users@lists.jboss.org"
                        target="_blank">rules-users@lists.jboss.org</a>&gt;<br>
                      <b><span style="font-weight: bold;">Sent:</span></b>
                      Tue, March 22, 2011 3:21:59 PM<br>
                      <b><span style="font-weight: bold;">Subject:</span></b>
                      Re: [rules-users] Can we point to db repository
                      url directly in ChangeSet.xml<br>
                    </font>
                    <div>
                      <div class="h5"><br>
                        hehe, I guess this is a classic example of a
                        circular dependency ;)<br>
                        <br>
                        Can you confirm you're using a changeset to
                        retrieve the rules rather than a URL to simply
                        download the binary package?<br>
                        <br>
                        If so you should be able to include credentials
                        in that file. Google for "drools changeset" and
                        you should see some examples.<br>
                        <br>
                        With kind regards,<br>
                        <br>
                        Mike<br>
                        <br>
                        <div class="gmail_quote">On 22 March 2011 22:15,
                          Sathya Prakash <span dir="ltr">&lt;<a
                              moz-do-not-send="true"
                              href="mailto:prakashagarval@gmail.com"
                              rel="nofollow" target="_blank">prakashagarval@gmail.com</a>&gt;</span>
                          wrote:<br>
                          <blockquote style="border-left: 1px solid
                            rgb(204, 204, 204); margin: 0pt 0pt 0pt
                            0.8ex; padding-left: 1ex;"
                            class="gmail_quote">
                            <div dir="ltr">
                              <div>Hi Mike,</div>
                              <div> </div>
                              <div>Jboss ESB documentation states refer
                                Drools documentation </div>
                              <div> </div>
                              <div>Kindly let me know how to pass
                                credentials in Drools so that i can try
                                with ESB.</div>
                              <div> </div>
                              <div>Regards,</div>
                              <div>Sathya<font color="#888888"><br>
                                  <br>
                                </font></div>
                              <div>
                                <div>
                                  <div class="gmail_quote">On Wed, Mar
                                    23, 2011 at 2:08 AM, Michael Anstis
                                    <span dir="ltr">&lt;<a
                                        moz-do-not-send="true"
                                        href="mailto:michael.anstis@gmail.com"
                                        rel="nofollow" target="_blank">michael.anstis@gmail.com</a>&gt;</span>
                                    wrote:<br>
                                    <blockquote style="border-left: 1px
                                      solid rgb(204, 204, 204); margin:
                                      0px 0px 0px 0.8ex; padding-left:
                                      1ex;" class="gmail_quote">Hi
                                      Sathya,<br>
                                      <br>
                                      This is by design.<br>
                                      <br>
                                      Any consumer of the "Guvnor
                                      service" will need to provide
                                      authentication parameters in the
                                      HTTP request.<br>
                                      <br>
                                      This sounds like it could be an
                                      issue with ESB, perhaps you can
                                      pose a question to their support
                                      forums asking how you can include
                                      authorisation credentials in their
                                      configuration?<br>
                                      <br>
                                      Please direct your emails to the
                                      drools-user mailing list as any
                                      information could be of value to
                                      others in the future.<br>
                                      <br>
                                      If I've mis-understood something
                                      please let me know :)<br>
                                      <br>
                                      With kind regards,<br>
                                      <br>
                                      Mike
                                      <div>
                                        <div><br>
                                          <br>
                                          <div class="gmail_quote">On 22
                                            March 2011 22:00, Sathya
                                            Prakash <span dir="ltr">&lt;<a
                                                moz-do-not-send="true"
                                                href="mailto:prakashagarval@gmail.com"
                                                rel="nofollow"
                                                target="_blank">prakashagarval@gmail.com</a>&gt;</span>
                                            wrote:<br>
                                            <blockquote
                                              style="border-left: 1px
                                              solid rgb(204, 204, 204);
                                              margin: 0pt 0pt 0pt 0.8ex;
                                              padding-left: 1ex;"
                                              class="gmail_quote">
                                              <div dir="ltr">
                                                <div>Hi Mike,</div>
                                                <div> </div>
                                                <div>If Drools guvnor is
                                                  password protected
                                                  then package url can
                                                  not be accessed
                                                  directly.</div>
                                                <div> </div>
                                                <div>In esb we can
                                                  specific url or dir
                                                  location. I have
                                                  specified url i need
                                                  to pass credentials.
                                                  as of now its throwing
                                                  401 hhtp code.</div>
                                                <div> </div>
                                                <div>regards,</div>
                                                <div>sathya prakash<font
                                                    color="#888888"><br>
                                                    <br>
                                                  </font></div>
                                                <div>
                                                  <div>
                                                    <div
                                                      class="gmail_quote">On
                                                      Wed, Mar 23, 2011
                                                      at 1:55 AM,
                                                      Michael Anstis <span
                                                        dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:michael.anstis@gmail.com"
                                                          rel="nofollow"
target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br>
                                                      <blockquote
                                                        style="border-left:
                                                        1px solid
                                                        rgb(204, 204,
                                                        204); margin:
                                                        0px 0px 0px
                                                        0.8ex;
                                                        padding-left:
                                                        1ex;"
                                                        class="gmail_quote">I'm
                                                        not familiar
                                                        with JBoss ESB
                                                        Drools
                                                        integration.<br>
                                                        <br>
                                                        However, AFAIK,
                                                        the file is not
                                                        password
                                                        protected but
                                                        the (Guvnor
                                                        hosting)
                                                        web-server
                                                        authenticates
                                                        HTTP requests to
                                                        "close" access.<br>
                                                        <br>
                                                        Can you please
                                                        explain more
                                                        what you mean by
                                                        restricting
                                                        access to a
                                                        particular
                                                        server?<br>
                                                        <br>
                                                        Thanks,<br>
                                                        <br>
                                                        Mike
                                                        <div>
                                                          <div><br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">On
                                                          22 March 2011
                                                          21:39, Sathya
                                                          Prakash <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:prakashagarval@gmail.com"
                                                          rel="nofollow"
target="_blank">prakashagarval@gmail.com</a>&gt;</span> wrote:<br>
                                                          <blockquote
                                                          style="border-left:
                                                          1px solid
                                                          rgb(204, 204,
                                                          204); margin:
                                                          0pt 0pt 0pt
                                                          0.8ex;
                                                          padding-left:
                                                          1ex;"
                                                          class="gmail_quote">
                                                          <div dir="ltr">
                                                          <div>Hi,</div>
                                                          <div> </div>
                                                          <div>If
                                                          package file
                                                          is password
                                                          protected,
                                                          then how to
                                                          restrict to
                                                          particular
                                                          server. I am
                                                          using JBOSS
                                                          ESB drools
                                                          integration.</div>
                                                          <div> </div>
                                                          <div> </div>
                                                          <div> </div>
                                                          <div>Regards,</div>
                                                          <div>Sathya
                                                          Prakash.<br>
                                                          <br>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div
                                                          class="gmail_quote">2011/3/23
                                                          Michael Anstis
                                                          <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:michael.anstis@gmail.com"
                                                          rel="nofollow"
target="_blank">michael.anstis@gmail.com</a>&gt;</span><br>
                                                          <blockquote
                                                          style="border-left:
                                                          1px solid
                                                          rgb(204, 204,
                                                          204); margin:
                                                          0px 0px 0px
                                                          0.8ex;
                                                          padding-left:
                                                          1ex;"
                                                          class="gmail_quote">The
                                                          repository
                                                          used by Guvnor
                                                          is not a
                                                          database but
                                                          an
                                                          implementation
                                                          of JCR
                                                          (Content
                                                          Repository for
                                                          Java
                                                          Technology).<br>
                                                          <br>
                                                          We currently
                                                          support Apache
                                                          Jackrabbit and
                                                          IIRC JBoss
                                                          Modeshape from
                                                          5.2.0.M1 as an
                                                          option (if not
                                                          in an earlier
                                                          version).
                                                          Whilst it is
                                                          possible to
                                                          configure
                                                          either of
                                                          these JCR
                                                          implementations
                                                          to persist to
                                                          a RDBMS
                                                          instead of a
                                                          FileSystem, I
                                                          believe the
                                                          table content
                                                          is a
                                                          (proprietary)
                                                          binary form at
                                                          not easily
                                                          integrated.
                                                          Consequentially
                                                          we only expose
                                                          the facility
                                                          to download
                                                          rule packages
                                                          through the
                                                          channels you
                                                          state.<br>
                                                          <br>
                                                          With kind
                                                          regards,<br>
                                                          <br>
                                                          Mike<br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">
                                                          <div>
                                                          <div>2011/3/22
                                                          Suk Fung <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:suk_f@yahoo.com" rel="nofollow"
                                                          target="_blank">suk_f@yahoo.com</a>&gt;</span><br>
                                                          </div>
                                                          </div>
                                                          <blockquote
                                                          style="border-left:
                                                          1px solid
                                                          rgb(204, 204,
                                                          204); margin:
                                                          0pt 0pt 0pt
                                                          0.8ex;
                                                          padding-left:
                                                          1ex;"
                                                          class="gmail_quote">
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div
                                                          style="font-family:
                                                          arial,helvetica,sans-serif;
                                                          color: rgb(0,
                                                          0, 0);
                                                          font-size:
                                                          12pt;">
                                                          <div>All,<br>
                                                          To consume the
                                                          rules in the
                                                          application,
                                                          we can either
                                                          use package
                                                          URI or
                                                          download a
                                                          binary .pkg
                                                          file from
                                                          guvnor.  I
                                                          just wonder if
                                                          the
                                                          application
                                                          can connect to
                                                          the database
                                                          repository
                                                          directly?<br>
                                                          <br>
                                                          Thanks for any
                                                          information in
                                                          advance.<br>
                                                          <br>
                                                          Suk<br>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
_______________________________________________<br>
                                                          rules-users
                                                          mailing list<br>
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org" rel="nofollow" target="_blank">rules-users@lists.jboss.org</a><br>
                                                          <a
                                                          moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
                                                          rel="nofollow"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
                                                          <br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          <br>
_______________________________________________<br>
                                                          rules-users
                                                          mailing list<br>
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org" rel="nofollow" target="_blank">rules-users@lists.jboss.org</a><br>
                                                          <a
                                                          moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
                                                          rel="nofollow"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
                                                          <br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          <br
                                                          clear="all">
                                                          <br>
                                                          </div>
                                                          </div>
                                                          -- <br>
                                                          <div dir="ltr">Cheers,<br>
                                                          Sathya
                                                          Prakash.<br>
                                                          <b
                                                          style="background-color:
                                                          rgb(102, 51,
                                                          255);">సత్య <span>ప్రకాష్</span></b>.</div>
                                                          <br>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                        </div>
                                                      </blockquote>
                                                    </div>
                                                    <br>
                                                    <br clear="all">
                                                    <br>
                                                    -- <br>
                                                    <div dir="ltr">Cheers,<br>
                                                      Sathya Prakash.<br>
                                                      <b
                                                        style="background-color:
                                                        rgb(102, 51,
                                                        255);">సత్య <span>ప్రకాష్</span></b>.</div>
                                                    <br>
                                                  </div>
                                                </div>
                                              </div>
                                            </blockquote>
                                          </div>
                                          <br>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                  <br>
                                  <br clear="all">
                                  <br>
                                  -- <br>
                                  <div dir="ltr">Cheers,<br>
                                    Sathya Prakash.<br>
                                    <b style="background-color: rgb(102,
                                      51, 255);">సత్య <span>ప్రకాష్</span></b>.</div>
                                  <br>
                                </div>
                              </div>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <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>
        <br clear="all">
        <br>
        -- <br>
        <div dir="ltr">Cheers,<br>
          Sathya Prakash.<br>
          <b style="background-color: rgb(102, 51, 255);">సత్య <span>ప్రకాష్</span></b>.</div>
        <br>
      </div>
      <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>
  </body>
</html>