In the docs I remember reading that you can setup a local cache for Expert so that in case of an Guvnor instance failure it will read from the cache until the url becomes available.

 

Ken.

 

From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Michael Anstis
Sent: Thursday, February 16, 2012 8:49 AM
To: Rules Users List
Subject: Re: [rules-users] Read the rules from Database written by Guvnor

 

It is not directly possible.

Guvnor uses JCR (Jackrabbit or Modeshape).

Whilst these can be configured to persist to a database the schema and content is proprietary and not easily queried. From Jackrabbit's JavaDocs:-

"SimpleDbPersistenceManager is a generic JDBC-based PersistenceManager for Jackrabbit that persists...objects using a simple custom binary serialization format... and a very basic non-normalized database schema (in essence tables with one 'key'  and one 'data' column)."

Other people have asked the same question and I have given suggestions as to how a solution might still be available.

Please search the mailing list and have a dig around.

On 16 February 2012 16:27, Rules <8085.rahul@gmail.com> wrote:

Hello All

I have Guvnor configured to use Oracle database.
I am currently reading rules from Guvnor URL directly.
I was wondering if there is way to read the rules directly from the database
in case of Guvnor server instance failure. Appreciate any help !!

--
View this message in context: http://drools.46999.n3.nabble.com/Read-the-rules-from-Database-written-by-Guvnor-tp3750819p3750819.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

 

* * * * * * * * * * *
NOTICE: This e-mail and any attachments contain confidential information that may be legally privileged. If you are not the intended recipient, you must not review, retransmit, print, copy, use or disseminate it. Please immediately notify us by return e-mail and delete it. If this e-mail contains a forwarded e-mail or is a reply to a prior email, the contents may not have been produced by the sender and therefore we are not responsible for its contents.

This notice is automatically appended to each e-mail. It is the recipient's responsibility to take measures to ensure that this e-mail is virus free, and no responsibility is accepted by Greystone for any loss or damage arising in any way from its use.
* * * * * * * * * * *