Re: [rules-users] JRules\Drools benchmarking...

2008-05-14 Thread Edson Tirelli
The old recurring performance evaluation question... :) You know that an explanation can only be made after having looked at the tests used in the benchmark, the actual rules used by both products, hardware specs, etc... so, not quite sure what answer do you want? For instance, there are

Re: [rules-users] BRMS Security in Websphere 6.1

2008-05-14 Thread Steven Williams
Hi Vikas, I haven't used the BRMS in WebSphere but the error you are getting should be able to be resolved by adding permission java.io.FilePermission "\C:\ProgramFiles\IBM\SDP70\runtimes\base_v61\lib\EJBCommandTarget.jar", "read"; in either the file:${application} or file:${jars} sections. The

Re: [rules-users] JRules\Drools benchmarking...

2008-05-14 Thread sridhar123
I am trying to evaluate drools vs jrules, the link you sent doesn't have any related info. Could you please share any of your findings. thank you Sridhar mmquelo wrote: > > Hi everybody, > > I did a benchmark on Drools\Jrules. > > I found out that drools is about 2,5-3 times slower than Jr

[rules-users] JRules\Drools benchmarking...

2008-05-14 Thread mmquelo massi
Hi everybody, I did a benchmark on Drools\Jrules. I found out that drools is about 2,5-3 times slower than Jrules. How comes? The results I got are quite similar to the ones in: http://images.google.com/imgres?imgurl=http://blogs.ilog.com/brms/wp-content/uploads/2007/10/jrules-perf-manners.png

[rules-users] BRMS Security in Websphere 6.1

2008-05-14 Thread Vikas Phonsa
Hi Everybody, Has anybody been able to enable BRMS security in Websphere 6.1? If I use "WSLogin" I get the exception shown below. Any ideas? Thanks in advance. Vikas --Exception Stack Trace- SECJ0314W: Current Java 2 Security policy repor

[rules-users] Multithreading Rulebase Parsing Threadsafe

2008-05-14 Thread Barry K
We have an application with 2 rules engines and we load the rules on startup. Is creation of a rulebase threadsafe? Can I load both rulebases using the code below concurrently in 4.07 ? I encountered issues multithreading this in 4.01 but in prototyping for our 4.07 upgrade I have not encount

Re: [rules-users] Questions on building from source of 4.0.7

2008-05-14 Thread Edson Tirelli
I just saw that. Yes, the eclipse plugin sources are missing in the zip. If you want to build and you don't need the eclipse plugin, just do not include the -Declipse in the build command line and you should be fine. If you need the eclipse plugin sources, pleas checkout the code from t

Re: [rules-users] Re: Compilation failed on BRMS with multi-consequence DSL phrase

2008-05-14 Thread Benjamin J McMillan
Sorry for all the emails. We figured it out. It turns out that the guided editor in the BRMS forces the MVEL dialect by default. However, if you explicitly set the dialect to java in the options, it will work (validate). This allows us to call functions in the DSL phrases rather than being limite

RE: [rules-users] Questions on building from source of 4.0.7

2008-05-14 Thread Bagwell, Allen F
I tried to submit this question earlier and it looks as though it didn't make it through. I attempted to build 4.0.7 from the src zip file available on the web site. It immediately bombed with a Maven fatal error saying the drools-eclipse3.2 pom file didn't exist. And it turns out the directory

Re: [rules-users] Java vs mvel dialects

2008-05-14 Thread Edson Tirelli
Krishna, The dialect configuration affects only semantic code blocks. I.e., consequences, eval() blocks, etc. They are designed to be interchangeable. That is why the examples have rules using each of the dialects. It is mostly a matter of taste, but MVEL is a script language and as s

[rules-users] Java vs mvel dialects

2008-05-14 Thread Krishna Satya
Hi, I am trying to understand the difference in how drl rules are expressed via the java or mvel dialects. Looking at the drools-examples it is not exactly clear. I was looking at the PetStore.drl which seems to specify the dialects for various rules using both java and mvel. Are there any refer

Re: [mailinglist] Re: [rules-users] Questions on building from source of 4.0.7

2008-05-14 Thread Brett M. Bergquist
Thanks for getting back on the repository to use. I want to build from the SVN source since I found a couple of places where an input stream is being created but not closed. In my application (Glassfish JCA connector), the application bitches about streams still open when undeploying my appli

Re: [rules-users] Drools as OSGI bundle

2008-05-14 Thread ekke
sounds good - your plans for 5.0 :-) ekke btw: I'm watching dev-list also, but last 2 months I worked on other parts of my application and hav re-subscribed on may-09, so I just missed your msg ;-) Mark Proctor wrote: > > ekke wrote: >> just seen that SpringSource published Drools as OSGI bundle

Re: [rules-users] Salience not working

2008-05-14 Thread Edson Tirelli
Oh, ok, now it makes sense. So, yes, it seems the behavior is correct. Remember that LHS is only evaluated at assert time or when a modify()/update() on a given fact is called. So, at assert time, your eval() will evaluate to true and activate the rule. You never call modify()/update on t

Re: [rules-users] Re: Compilation failed on BRMS with multi-consequence DSL phrase

2008-05-14 Thread Benjamin J McMillan
Yet another follow up to below, On Tue, 2008-05-13 at 12:16 -0400, Benjamin J McMillan wrote: > On Tue, 2008-05-13 at 12:05 -0400, Benjamin J McMillan wrote: > > I have a single DSL phrase that performs 2 actions, delimited by a > > semicolon. This compiles and works fine under Eclipse. However, w

Re: [rules-users] Questions on building from source of 4.0.7

2008-05-14 Thread Mark Proctor
Brett M. Bergquist wrote: What is the correct way to get the source for the 4.0.7 release. I followed the directions in the documentation and used the SVN repository: http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/ http://anonsvn.labs.jboss.com/labs/jbossrules/tags/4.0.7.19894.GA/ Th

Re: [rules-users] Drools as OSGI bundle

2008-05-14 Thread Mark Proctor
ekke wrote: just seen that SpringSource published Drools as OSGI bundles http://www.springsource.com/repository/app/search?query=drools http://www.springsource.com/repository/app/search?query=drools - I'll create a request to get 4.0.7 - they published 4.0.4 next two weeks I'll try the bundles

Re: [rules-users] Salience not working

2008-05-14 Thread sridhar123
I changed variable names in the last minute to make more sense, the actual eval statement is as following: eval(((Boolean) $discard).booleanValue() == false) I do have $discard bound in my rule, you still think above statement throw compilation error. I don’t get any compilation err

[rules-users] Questions on building from source of 4.0.7

2008-05-14 Thread Brett M. Bergquist
What is the correct way to get the source for the 4.0.7 release. I followed the directions in the documentation and used the SVN repository: http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/ but is there some release tag that I should be using to ensure that the source that I retri

Re: [mailinglist] Re: [rules-users] Question on "or" rule syntax

2008-05-14 Thread Brett M. Bergquist
This was cut'n'pasted from the documentation, so the documentation needs fixing. I'll open a Jira issue on it. Thanks. Edson Tirelli wrote: The single binding for multiple OR'ed patterns is a special case and it only supports infix OR: pensioner : (Person( sex == "f", age > 60 ) or P

[rules-users] exposing drools as a webservice

2008-05-14 Thread Prem Kumar L
Hi, I am trying to setup a basic webservice that exposes a rule running on drools. In this regard I came across this blogpost by Mark Proctor a while ago. http://blog.athico.com/2007/05/working-with-jboss-rules-and-web.html Incase someone has a working sample of such an example, it would be g

Re: [rules-users] Drools as OSGI bundle

2008-05-14 Thread ekke
marcus, at the moment I'm just testing eclipse Riena for remote osgi services, the next step would be to make my whole application running. ...I think in 2 weeks or so I can test the drools bundles - I'll let the list know how all works and perhaps publish a sample have you seen - they also figur

Re: [rules-users] Drools as OSGI bundle

2008-05-14 Thread Marcus Ilgner
Hi, On Wed, May 14, 2008 at 1:12 PM, ekke <[EMAIL PROTECTED]> wrote: > > just seen that SpringSource published Drools as OSGI bundles > http://www.springsource.com/repository/app/search?query=drools > http://www.springsource.com/repository/app/search?query=drools > - I'll create a request to g

[rules-users] Drools as OSGI bundle

2008-05-14 Thread ekke
just seen that SpringSource published Drools as OSGI bundles http://www.springsource.com/repository/app/search?query=drools http://www.springsource.com/repository/app/search?query=drools - I'll create a request to get 4.0.7 - they published 4.0.4 next two weeks I'll try the bundles ekke -- View