Instead of the guvnor jboss-as-7.0 war, use the guvnor tomcat-6.0 war,
that one includes the weld jars.
Op 18-07-12 06:17, Ravikiran schreef:
> Hi,
> I am deploying drools-guvnor.war (version 5.3.0) into Websphere AS 7. The
> war file was working perfectly fine in JBoss AS 7. But i am getting bel
Op 17-07-12 20:54, Garf schreef:
> last month, Ralph wrote: /All the examples in the drools-planner-examples
> seem to have a fixed list of problem facts (rooms, teachers, timeslots)
> which only should be combined optimally./
>
> Just to address this one unanswered point.
> The Cloud Balancing ex
Hi,
I am deploying drools-guvnor.war (version 5.3.0) into Websphere AS 7. The
war file was working perfectly fine in JBoss AS 7. But i am getting below
exception when launching the guvnor from browser...
[18/07/12 12:09:02:101 SGT] 0032 SystemOut O ERROR 18-07
12:09:02,101 (LoggingHelper.
IIRC I invented the ! modifiers for the DSLR substitution while Drools was
moving towards 5.2.0.
I'm not sure whether these classes could be used in an earlier context, but
the changes were quite local to the DSL/R context.
-W
On 17 July 2012 20:58, drdaveg wrote:
> I have solved this problem
I have solved this problem before, and think it is a JAR issue, but can't
seem to remember which JAR solves my problem. The DSL sentence
[consequence][]Set {field} of {object} to
{value}={object}.set{field!ucfirst}({value});
is not working since !ucfirst is being ignored. I am using 5.1.1 bec
last month, Ralph wrote: /All the examples in the drools-planner-examples
seem to have a fixed list of problem facts (rooms, teachers, timeslots)
which only should be combined optimally./
Just to address this one unanswered point.
The Cloud Balancing example does support changing the problem facts
Is this exactly (!) what you have in your rule, between 'when' and 'then'?
when
$a:AgentCSVBean()
then
-W
On 17/07/2012, ashwindrool wrote:
> HI Laune ,
>
> I did required changes in code by adding if condition before for loop
>
> *System.out.println("Before");
> if($
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("-
On 17/07/2012, ashwindrool wrote:
> Hi Laune,
>
>
> I do wht u asked me, I added print statement before and after for loop
>
>
>
>"Before" is getting printed twice and "After" only once.
Like this
Before
Before
After
---Error message---
Please be more specific.
Add another if statement
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
Add println() before and after the for(){...} statement. What is the output?
How many AgentCSVBean() are inserted?
Could one of these have a field agentLsit that is null?
-W
On 17/07/2012, ashwindrool wrote:
> Thnks Laune for ur reply but i tried that condition part even than also its
> coming
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
Add an if statement testing for a List element being null, e.g.,
for( Integer agentList: $a.getAgentList()) {
if( agentList != null ){
System.out.println("--sam="+agentList);
} else {
System.out.println( "null element in list" );
}
}
-W
On 17
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.
When you say the loop works fine, do the System.out's print what you expect?
On 17 July 2012 10:34, ashwindrool wrote:
> 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.
>
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
You haven't asked any questions, merely stated you have an error message.
Try posting some supporting code (DRL, related Java etc) it might help
people.
On 17 July 2012 10:03, ashwindrool wrote:
> Thnks for Replying ,
>
> Plz give some idea in above issue.
>
> --
> View this message in context:
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.
_
Dear contributors,
this simple rule should trigger only when a critical amount of particular
events was detected,
though it seems to accept any event of this type, disregarding the fact
condition (e.g. there
is no single event that matches "target == Long.MAX_VALUE"). The current
behavio
Thanks for telling us.
-W
On 17/07/2012, ashwindrool wrote:
> 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
>
>
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
21 matches
Mail list logo