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

Shahad Ahmed shahad.ahmed2 at gmail.com
Fri Jan 9 08:08:02 EST 2009


Hi Paul,
I'm seeing the same issues you reported with IE 7 and Firefox 3. However, I
do get the Guvnor to work with the new Google Chrome browser.

Have you raised the Javascript error as a bug via the drools website (JIRA)
so that the drools team are aware of the issue?

Regards
Shahad


On Tue, Dec 9, 2008 at 10:09 AM, Paul Sentosa <psentosa at yahoo.com> wrote:

> Hi Michal,
> thanks for the reply I'm so waiting for..
>
> yes, I did use firefox; then I also tried IE, still I get the same
> problems.
> I activated the error-report window, and I get this (please see the
> attachment, 15KB) everytime I experience the problem.
> It said:
> There is eventually a problem which prevents the site to be displayed
> correctly
> Line: 125
> Character: 29
> Error: "null" is Null or not an Object
> Code: 0
> URL:
> http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/(.....letters& numbers....).cache.html
> which looks like a javascript problem.
>
> This happens not only on the current version of jboss I used (4.2.2) but
> also on the 4.2.3 which comes in the package standalone.
> Would be nice if someone could give explanation on this
>
> regards
>
>
>
>
>
>
>
> ------------------------------
> *From:* Michal Bali <michalbali at gmail.com>
> *To:* Rules Users List <rules-users at lists.jboss.org>
> *Sent:* Tuesday, December 9, 2008 10:44:43 AM
> *Subject:* Re: [rules-users] Problem with (examples for )Guvnor M3
> (mortgage, advertisement)
>
> Which browser are you using? I assume Firefox? If so can you try different
> one Opera, IE (maybe Safari?)
> It doesn't work for me on Firefox but it works in Opera (BTW I haven't done
> anything with permissions)
>
> On Mon, Dec 8, 2008 at 5:22 PM, psentosa <psentosa at yahoo.com> wrote:
>
>>
>> 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.
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090109/660ad358/attachment.html 


More information about the rules-users mailing list