[rules-users] Class loading for facts used in rules

2009-05-21 Thread seemamani
I have a rule in which I use objects of a class X. I compiled and packaged this rule using BRMS for which I uploaded a jar containing class X as the model. I use a rule agent to build a rulebase from this package. Now, when I pass the facts of type X to the rule engine, I get a ClassCastException

[rules-users] ClassNotFoundException for functions if cached Rulebase used

2009-05-01 Thread seemamani
hi, I'm using Drools 4.0.7. Using BRMS, I created a package which consists of a technical drl rule and a function. As the performance best practice suggestion goes, I'm caching the Rulebase instance that is obtained from the RuleAgent. However, I'm facing a problem when I'm doing this. The rules e

Re: [rules-users] ClassCastException when firing rules

2009-04-02 Thread seemamani
you can create an isolated > test > case that allow us to reproduce the problem, it will help us understand > how > can we support your scenario of usage. > > Thanks, > Edson > > 2008/11/26 seemamani > >> >> Edson, >> >> We are n

[rules-users] New features in Guvnor

2008-12-02 Thread seemamani
Is there some documentation which summarizes the new features in Guvnor that were not in the older version of the BRMS? I saw a blog http://blog.athico.com/2008/04/brms-for-drools-5.html which had information on the Guvnor, but not sure if all the new features were discussed in that. Thanks, Seem

RE: [rules-users] ClassCastException when firing rules

2008-12-02 Thread seemamani
es an jdk dynamic proxy. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of seemamani > Sent: Wednesday, November 26, 2008 11:18 AM > To: rules-users@lists.jboss.org > Subject: Re: [rules-users] ClassCastException when firing ru

Re: [rules-users] ClassCastException when firing rules

2008-11-26 Thread seemamani
lem, whatever it is, is related to the pojo model and any of > these frameworks interfering with it. So, if you can create an isolated > test > case that allow us to reproduce the problem, it will help us understand > how > can we support your scenario of usage. > > Than

Re: [rules-users] ClassCastException when firing rules

2008-11-26 Thread seemamani
ou might get such problems. > >Having said that, I will talk to Mike to check if this can be prevented > somehow, but I really don't know if it will be possible... > >[]s >Edson > > > > 2008/11/25 seemamani <[EMAIL PROTECTED]> > >&g

[rules-users] ClassCastException when firing rules

2008-11-25 Thread seemamani
hi, We are using Drools 4.0.7 in a web application deployed in WebSphere 6.1. Occasionally, we have rule engine failure caused by RuntimeDroolsException (whose root cause is shown as ClassCastException) when firing rules. Other times, the rules are executing without errors. Here is the stack tra

[rules-users] Will Drools 4.0.7 BRMS work with JackRabbit 1.4?

2008-11-19 Thread seemamani
I understand that Drools 4.0.7 internally uses JackRabbit 1.3. However this version of Jackrabbit is old and has many issues such as in the case of clustering. The Jackrabbit mailing list has suggested using the new 1.4 version in which many bugs have been fixed. If I simply replace the JackRabbit

[rules-users] BRMS in a WAS cluster

2008-11-09 Thread seemamani
We use Drools 4.0.7 in our application which is deployed on a WAS 6.1 cluster and it is working fine. Now we want to deploy the Drools BRMS also in the WAS cluster. I went through the Drools and Jackrabbit mailing lists and documentation. Please confirm if my understanding of how this can be imple

[rules-users] Sharing packages among rulebases in JEE app

2008-10-09 Thread seemamani
Will there be any issue if we use the same package in multiple rulebases? I saw a comment in one of the posts which states - "Just make sure the only thing you eventually share among threads is the rulebase. Do not share session or packages among threads." http://www.nabble.com/Multithreading-Rule

Re: [rules-users] ClassNotFoundException for functions if cached Rulebase used

2008-09-12 Thread seemamani
I have something to add to my below post. I'm facing this problem only when the dialect is "mvel". For "java" dialect, this works without any issues. Can someone offer guidance or tips towards resolving this? Thanks, Seema seemamani wrote: > > hi, > I&#