Re: Re[rules-users] ading incoming connection in Action - Rule flow

2008-06-12 Thread Thalupula Ravi
Hi Kris, Thanks a lot for providing valuable information. All the best for Drools team for their new releases. Regards, Ravi Thalupula -- View this message in context: http://www.nabble.com/Reading-incoming-connection-in-Action---Rule-flow-tp17800998p17815445.html Sent from the drools - user

[rules-users] MSB Example

2008-06-12 Thread Steven Núñez
Greetings Drools Users, Does anyone have, or know of, an example of using drools, fronted by a MDB? A stateful example would be fantastic, but any example welcome. I'm under a very tight deadline, and would like to leverage anything that's already been done to speed things up. Production quality n

[rules-users] trouble adding newline to DSL

2008-06-12 Thread Matt Geis
Hi, I'm having a really strange scenario. I have a DSL entry that I need to expand onto two lines. When I write it as plain DRL, on a single line, the rule fails. When I separate it into two lines, it passes. The problem is that I'm having issues getting my DSL to insert a newline char into t

Re: Re[rules-users] ading incoming connection in Action - Rule flow

2008-06-12 Thread Kris Verlaenen
is action will support below kind of stuff ? An action is like a rule consequence, it should be valid java or mvel code. Something like System.out.println("This is an action"); or insert(new Person()); The code you are using is actually a rule (you are matching variable p to an object in

Re: Re[rules-users] ading incoming connection in Action - Rule flow

2008-06-12 Thread Kris Verlaenen
Actually i have an action, which is common to a couple of splits, so in my action i need to log(log4j - file appender) that from which split request is coming from. I would guess you would need to create two actions, one for each path, before the join. Those actions would have similar actions,

[rules-users] Re: Re: How to write the validation timestamplessthancurrent date using drools

2008-06-12 Thread Alexander Claus
I need clarification one more questions in my employee table ->employee_code can not be updated. this is the condition writing validation rule using dsl,dslr file. I must say, I don't know how to write the rule even without DSL... ;o) Not with this information. For me it looks like a kind o

Re: [rules-users] The Eclipse JDT Core jar is not in the classpath

2008-06-12 Thread Christopher . Mathrusse
Hi Mark, After a bit of debugging I managed to resolve my issue. It appears the correct way to resolve this issue is to instantiate an instance of PackageBuilderConfiguration and pass into the constructor a Properties object where you specify your options. Spring configuration:

Re: Re[rules-users] ading incoming connection in Action - Rule flow

2008-06-12 Thread Thalupula Ravi
Hi, is action will support below kind of stuff ? p : Person( ) modify( p ) { age =20} i'm getting error like java.lang.ClassCastException: java.lang.Class if it is possible please let me know right way of doing. Thanks Ravi Thalupula -- View this message in context: http://www.nabble.com/Re

Re: [rules-users] Re: How to write the validation timestamp lessthancurrent date using drools

2008-06-12 Thread manyasri m
Thanks Alexander ... I need clarification one more questions in my employee table ->employee_code can not be updated. this is the condition writing validation rule using dsl,dslr file. Thanks and Regards, Manya.. On Thu, Jun 12, 2008 at 1:35 PM, Alexander Claus <[EMAIL PROTECTED]> wrote: >

[rules-users] java.lang.StackOverflowError when serializing a RuleBase.

2008-06-12 Thread Pedro Costa
Hi All, When we try to serialize a RuleBase in a Remote EJB Call We are getting a java.lang.StackOverflowError. This problem only happens in HPUX, in local dev in windows works fine! I have no idea why or what is the problems... Any Ideas? Thanks in advance for any help. regards, Pedro Costa

Re: [rules-users] The Eclipse JDT Core jar is not in the classpath

2008-06-12 Thread Christopher . Mathrusse
Hi Mark, Thanks for the reply. I created a packagebuilder.conf file that simply had name/value pairs in it as follows: drools.dialect.java.compiler=JANINO and I placed into one of each of the following locations: WEB-INF WEB-INF/classes META-INF I tried each one, one after the other but I sti

Re: Re[rules-users] ading incoming connection in Action - Rule flow

2008-06-12 Thread Thalupula Ravi
Hi Kris, Thanks for your information. Actually i have an action, which is common to a couple of splits, so in my action i need to log(log4j - file appender) that from which split request is coming from. I mean to say, on based on incoming split request, different message need to be log. http:

Re: Re[rules-users] ading incoming connection in Action - Rule flow

2008-06-12 Thread Kris Verlaenen
it seems that current released version of drools, supporting only MVEL code The action node allows you to simply execute a piece of code. While Drools 4.0.7 only allows you to use mvel fragments, the upcoming Drools 5.x release also allows you to use the Java dialect. It will also allow you to

Re: [rules-users] Split Constraint - Rule flow

2008-06-12 Thread Mark Proctor
Thalupula Ravi wrote: Hi, I've a split constraint as same as LHS of my rule. Whenever i change condition of rule, i need to change the constraint as well. It is little bit painful for business users, right? Is there any way i can keep condition in common place. where constraint suppose to pick

Re[rules-users] ading incoming connection in Action - Rule flow

2008-06-12 Thread Thalupula Ravi
Hi, How can i read the incoming connection of my action ? using MVEL code. for example: Start-->RuleGroup --> Split --> Action --> End in above example i need to read the name of "Split" in Action using MVEL code. it seems that current released version of drools, supporting only MVEL code in

[rules-users] Split Constraint - Rule flow

2008-06-12 Thread Thalupula Ravi
Hi, I've a split constraint as same as LHS of my rule. Whenever i change condition of rule, i need to change the constraint as well. It is little bit painful for business users, right? Is there any way i can keep condition in common place. where constraint suppose to pick the same condition? A

Re: [rules-users] Re: Re: beginner needs help

2008-06-12 Thread Senlin Liang
Thanks a lot. It is a really good suggestion. Probably because I checked out one copy from CVS, and it is not stable. Senlin On Thu, Jun 12, 2008 at 4:13 AM, Alexander Claus <[EMAIL PROTECTED]> wrote: > I tried to install a fresh copy of Drools, and what I have done is: >> 1. checked out everyth

Re: [rules-users] The Eclipse JDT Core jar is not in the classpath

2008-06-12 Thread Mark Proctor
[EMAIL PROTECTED] wrote: I'm using JBoss Rules 4.01 with Spring 2.5 and I'm utilizing the JSR-94 interfaces provided by Spring Modules. When deploying my application I receive the error: */The Eclipse JDT Core jar is not in the classpath/* I've searched through the postings and found that s

Re: [rules-users] Model Jars in BRMS

2008-06-12 Thread Mark Proctor
Vikas Phonsa wrote: Hi Everybody, In BRMS, the Model jars are uploaded for each package. If I have a large number of packages, that use the objects from the same jars, is there a way to place the common jars somewhere and have the packages share those jars. I found an option in BRMS to copy

[rules-users] Re: Rules compiler is not able to extract (Promod)

2008-06-12 Thread pramod george
Hi. I too had the same problem but I do not remember in which version. However, what I did was to check the classfile directly and give the same casing. The exact casing of the entities you have defined in the javaBean jar is waht you need to specify. This *was* a 'bug' in the earlier versions ie

[rules-users] Re: Re: beginner needs help

2008-06-12 Thread Alexander Claus
I tried to install a fresh copy of Drools, and what I have done is: 1. checked out everything from http://anonsvn.labs.jboss.com/labs/jbossrules/trunk using Subversion. 2. cd $DROOLS_HOME 3. mvn clean 4.mvn -Declipse -Ddocumentation clean install -DlocalEclipseDrop=/folder/jboss-rules/local-ecl

[rules-users] Re: How to write the validation timestamp lessthancurrent date using drools

2008-06-12 Thread Alexander Claus
Manya, please do not open two threads for almost the same question! 1.end_timestamp must be > start_timestamp this is the condition. 1.start_timestamp can not be =< Current Date this is the condition. First, I think, "can not be <=" is the same as "must be >". Drools is able to compare times

[rules-users] Re: Re: Rules compiler is not able to extract the fieldwithxXXX format

2008-06-12 Thread Alexander Claus
rule "entity.testrule" when $rulesSerivceTest:RulesServiceTest(tText:tText) then logger.info("Received an Test"); end Now I was able to reproduce the error. Sorry, my last test was done using the context-sensitive help of the Eclipse-Drools plugin, so I did not regognize it i

[rules-users] RuleML-2008: Submission Deadline June 16

2008-06-12 Thread Adrian Paschke
[ our apologies should you receive this message more than one time ] 2008 International RuleML Symposium on Rule Interchange and Applications (RuleML-2008) October 30-31, 2008, Orlando, Florida http://2008.ruleml.org Latest news: ---