Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread Stephen Masters
I take it you hand't performed an export of your rules recently which you could 
restore?

Assuming that you didn't set up a database for storage of your rules, then you 
should be able to find a directory called repository somewhere on the 
filesystem of your server. So re-installing Guvnor or the web server is likely 
to just pick up that location by default.


On 27 Feb 2013, at 15:15, IPatel ishita.pa...@usbank.com wrote:

 Hi all,
 
 Somehow starting yesterday Guvnor won't start. I can see no exceptions in my
 log file except that the last link it executes and gets stuck at is
 following:
 
 ...Brontes started in 2853ms - Started 133 of 208 services 74 services
 are passive or on-demand
 
 now i have a POC demo next week and i was wondering if guvnor has a way to
 store somewhere the rules/packages i created  and i can restore them.  I
 will install the tool again and import the rules/packages. This way I dont
 have to re-create them again.
 
 All your help will be greatly appreciated.
 
 
 
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Guvnor-Configuration-file-tp4022617.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


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread IPatel
Thank you for your response...

Reading your post, i had an ah -ha moment. Couple of days ago i was
reviewing chapter 14 - database configuration (link provided below) but
didn't understand it very well. Now i get it. I should have followed 14.1
section of making changes to components.xml file to include the file-system
path so that when my guvnor crashed, reinstall would have picked it up...

http://docs.jboss.org/drools/release/5.2.0.Final/drools-guvnor-docs/html/chap-database_configuration.html#d0e2028

Am I understanding this correctly??



--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-Configuration-file-tp4022617p4022619.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


Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread Stephen Masters
That would let you provide a custom location, but it should have saved the 
repository files in a default location anyway. If I remember right, on a 'nix 
server, that would be under /repository/

So if you did no customisation, then a new install should pick it up there 
anyway.

Hopefully that enables you to breathe a sigh of relief… :)


On 27 Feb 2013, at 16:38, IPatel ishita.pa...@usbank.com wrote:

 Thank you for your response...
 
 Reading your post, i had an ah -ha moment. Couple of days ago i was
 reviewing chapter 14 - database configuration (link provided below) but
 didn't understand it very well. Now i get it. I should have followed 14.1
 section of making changes to components.xml file to include the file-system
 path so that when my guvnor crashed, reinstall would have picked it up...
 
 http://docs.jboss.org/drools/release/5.2.0.Final/drools-guvnor-docs/html/chap-database_configuration.html#d0e2028
 
 Am I understanding this correctly??
 
 
 
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Guvnor-Configuration-file-tp4022617p4022619.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


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread IPatel
Hi,

So i have the datastore folder created under repository. Do you think this
is place where my rules are saved?
I think these folders were created when i first installed Guvnor. Do you
think if i re-install guvnor, this is the place it will load those rules
again?

Thank you for your prompt response



--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-Configuration-file-tp4022617p4022622.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


Re: [rules-users] Guvnor Configuration file

2013-02-27 Thread IPatel
I got it fixed now.. Somehow my guvnor war file got corrupted.. I was trying
to locate components.xml file in the WEB_INF as indicated in Chapter 14 to
set my datasource file path. I couldn't find the xml file but my actions
messed up the file.

For now its working... but it would be nice to know where this file will be
located if it is not in WEB_INF folder

Thank you



--
View this message in context: 
http://drools.46999.n3.nabble.com/Guvnor-Configuration-file-tp4022617p4022624.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