[rules-users] MultiThreaded Drools implemetation

2013-09-11 Thread ashwindrool
Hi, I need to implement multithread drools execution. Following i want to do 1. Load more than one drools rule set say drl1 and drl2. 2. Use core data model (facts) such that when independent thread executing rules it doesnot modify facts simultaneously otherwise other drl wont get executed. 3

[rules-users] How to create drools web application and deploy in tomcat

2013-09-02 Thread ashwindrool
Hi, I want to create drools web application and deploy it in tomcat. Also need to expose its method for web service REST call to initiate drools rule execution Can u hep me... Thnks -- View this message in context: http://drools.46999.n3.nabble.com/How-to-create-drools-web-application-an

[rules-users] Drool server tomcat handling multiple sessions

2013-08-30 Thread ashwindrool
Hi, I want to configure drools server and call simple rule rule using rest service. Handling sessions dynamically Can anyone help me with examples and steps Thnks -- View this message in context: http://drools.46999.n3.nabble.com/Drool-server-tomcat-handling-multiple-sessions-tp4025730.htm

Re: [rules-users] Drools server multiple knowledge sessions

2013-08-29 Thread ashwindrool
HI, Can you guide me step by step how to configure drools server and how to manage multiple rule set used by multiple session that is dynamically created. Thnks I need ur help .. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-server-multiple-knowledge-sessions-tp

[rules-users] What are Recursion Rules. Any example

2013-08-20 Thread ashwindrool
Hi All, Can anyone help me in understanding "Recursion Rules". If any example , will be of great help to me. Thanks -- View this message in context: http://drools.46999.n3.nabble.com/What-are-Recursion-Rules-Any-example-tp4025617.html Sent from the Drools: User forum mailing list archive a

[rules-users] How to convert java file into .drl file containing java logic as rules

2013-01-22 Thread ashwindrool
HI , I want to convert *java class *containg simple to complex logic into *.drl *file containg rules corresponding to every java logic. -- View this message in context: http://drools.46999.n3.nabble.com/How-to-convert-java-file-into-drl-file-containing-java-logic-as-rules-tp4021711.html Sent fr

[rules-users] How to create and use Function inside .drl file

2012-07-31 Thread ashwindrool
HI, I need to create certain functonality inside one *function in .drl file*.Can u help me with *creation and usage of function inside .drl file*. Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/How-to-create-and-use-Function-inside-drl-file-tp4018968.html Sent

Re: [rules-users] How handle exception thrown while looping in DRL file

2012-07-17 Thread ashwindrool
HI Laune , I did required changes in code by adding if condition before for loop *System.out.println("Before"); if($a.getAgentList() != null ){ System.out.println("--samee="); } for(Integer agentList: $a.getAgentList()) { System.out.println("-

Re: [rules-users] How handle exception thrown while looping in DRL file

2012-07-17 Thread ashwindrool
Hi Laune, I do wht u asked me, I added print statement before and after for loop * System.out.println("Before"); for(Integer agentList: $a.getAgentList()) { System.out.println("-==-"); if($a.getAgentList() != null ){ System.out.printl

Re: [rules-users] How handle exception thrown while looping in DRL file

2012-07-17 Thread ashwindrool
Thnks Laune for ur reply but i tried that condition part even than also its coming up with same error -- View this message in context: http://drools.46999.n3.nabble.com/How-handle-exception-thrown-while-looping-in-DRL-file-tp4018727p4018736.html Sent from the Drools: User forum mailing list archi

Re: [rules-users] How handle exception thrown while looping in DRL file

2012-07-17 Thread ashwindrool
Yes Mike, I am getting expected output but after completion of loop it throws error -- View this message in context: http://drools.46999.n3.nabble.com/How-handle-exception-thrown-while-looping-in-DRL-file-tp4018727p4018733.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] How handle exception thrown while looping in DRL file

2012-07-17 Thread ashwindrool
Sorry Mike,Laune I am handling 100thousand records for that i am using CSV file and converting those records into objects which i am using for further calculation. According to my requirement i have loop array inside DRL file So i wrote following code in .java * agCsv.setPolCounterList(polCou

Re: [rules-users] How handle exception thrown while looping in DRL file

2012-07-17 Thread ashwindrool
Thnks for Replying , Plz give some idea in above issue. -- View this message in context: http://drools.46999.n3.nabble.com/How-handle-exception-thrown-while-looping-in-DRL-file-tp4018727p4018730.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

[rules-users] How handle exception thrown while looping in DRL file

2012-07-17 Thread ashwindrool
Hi, I ran enhanced for loop in .DRL file .Its looping perfectly but after completion of loop its throwing error mentioned as follows: *org.drools.runtime.rule.ConsequenceException: rule: Test Maadi at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handle

Re: [rules-users] How to write Hibernate query lang(HQL) in .DRL file

2012-07-11 Thread ashwindrool
Hi Laune, We are tried to created similar scenario in which we get error when we tried to execute HQL from DRL file but unfortunately , i m sorry we r unable to give you exact what error we are getting. But it will be great if you can share your approach or process in calling hibernate query dire

Re: [rules-users] can't put formula on Guvnor screen

2012-05-15 Thread ashwindrool
HI Mike, I am working with zeeshan on same project since last week and face problem in formula generation in *Then* section of a rule. We are targeting guvnor as user friendly tool with minimum coding and quick development of complex rules. But with missing formula section in *Then* we are getting