[rules-users] Problem with (examples for )Guvnor M3 (mortgage, advertisement)

psentosa psentosa at yahoo.com
Mon Dec 8 12:22:22 EST 2008


Dear all,

I'm testing Guvnor for the first time (M3, never tried the previous
versions) and try to run the mortgage example first.
In the example folder, there's a .txt file which describes how to run it. 
So I imported the repository and wanted to take a look at the rules. When I
clicked on the name of the category (from AssetView) or any asset (from
Package view), it displayed "Please wait..loading data", which unfortunately
didn't progress further. So I have to cancel it by clicking on the x to get
back to the previous screen.
On the console there's the report 
"Checking access for...*name of the category*" (for clicking on a category)
and 
"INFO  [STDOUT] DEBUG 08-12 18:03:33,390
(ServiceImplementation.java:listAssets:883) 	 time for asset list load: 0"
(for clicking on an asset type from the Package view).

So I thought maybe I should defined the access right in the Administration
page (this is also described in the .txt file); So I create a user
permission with admin right, shut down the server, set the property "enable
role-based-authorization" to true, repack, re-run the server and try again.
Still I experience the same problem.
For the other example Advertising I also experienced the same problem.

Several questions I have:
- Should I always define the acces right to be able to browse through the
categories/asset? But apparently I still have problems although user
permissions are defined. Or maybe I progress in a wrong way to use the
Guvnor?
- In the example mortgage, I saw that the client has drools-core-5.0.0.MR2
and mvel-2.0M2. Could it be the problem, that the example was created using
GuvnorM2 so it didn't work for M3?

Unfortunately the documentation of M3 is for some part already out-of-date. 
Would be nice to have the most actual one :)

An additional info: I'm currently using Jboss 4.2.2

Many thanks for any reply!

regards
-- 
View this message in context: http://www.nabble.com/Problem-with-%28examples-for-%29Guvnor-M3-%28mortgage%2C-advertisement%29-tp20899551p20899551.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list