The device name is the same as the name passed to the CreateDC function.
by Aryo riepen
It would be better for both of us. Wast thou in prayer.
If this tag specifies that a cookie is to be saved beyond the current browser session, ColdFusion writes or updates the cookie to the cookies. Supported Telnet option codes.
This might cause some problems, such as flickering, with some video cards but in most cases checking this option ensures smoother graphics in the program. She took firm hold of herself to stop from clawing the bracelet off her wrist.
So long as defeat meant the loss of independence, or some other result generally held to be undesirable, the precautions against defeat had to be serious.
You are still logically on the client, so all instructions for file transfers and directory movement must be with respect to your local machine, not the remote one.
W3C liability, trademark, document use and software licensing rules apply.
17 years, 7 months
activation-group
by Bynum, Joe
All,
I'm trying to setup three rules to process orders as a test case. The
first two rules look for specific conditions and the third one is the
default rule. I only want a single rule to fire for each order that I
pass into the engine. I gave all three rules the same activation-group.
The first two rules have a salience of 10 and the third rule has the
default salience value. The problem that I'm experiencing is that only
one order is processed and the rest are skipped.
Here's a snippet from the rules file:
rule "837621 - Stage 5"
activation-group "Harris"
salience 10
when
flowid is 1798
workflow in stage "5"
then
assign prov plan "Harris Gtwy-ChXchange-New Loop"
complete task "FAC VER"
end
rule "828257 - New Order"
activation-group "Harris"
salience 10
when
flowid is 1798
workflow in stage "1"
then
assign prov plan "Harris Gtwy-ChXchange-New Loop"
end
rule "1798 Default"
activation-group "Harris"
salience 0
when
flowid is 1798
then
assign prov plan "Harris Gtwy-ChXchange-New Loop"=
end
Any Ideas?
17 years, 7 months
janino-2.4.3.jar has changed from 3.0.5 to 3.0.6?
by Ru
Hello rules-users and team!
I moved from 3.0.5 to 3.0.6 and got this error:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchFieldError:
NO_DESTINATION_DIRECTORY
at ru.oogis.util.StringCompiler.janinoCompileString
(StringCompiler.java:56)
at ru.oogis.util.OntoJava.process(OntoJava.java:165)
at ru.oogis.util.OntoJava.createClasses(OntoJava.java:149)
at ru.oogis.util.OntoJava.createClasses(OntoJava.java:139)
at ru.oogis.jbrs.JBRSTab.compileOntology(JBRSTab.java:286)
. . . .
in my working perfect in 3.0.5 code where I call JANINO Compiler.
I looked at the janino-2.4.3.jar and noticed that it has changed in
date and size.
It is strange having in mind that version number is not changed.
All the same, what I have to do to avoid problem?
Thanks in advance.
Sincerely,
Ru
17 years, 7 months
error
by fakhfakh ismail
hello,
when I exucute my code of rules an error is affiched
" Exception in thread "main" java.lang.NoClassDefFoundError: org/drools/jsr94/rules/RuleServiceProviderImpl "
however the package of RuleServiceProviderImpl exist
---------------------------------
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
17 years, 7 months
NPE on retract
by Chris West
Hi,
Using version 3.0.6 of jboss rules, while retracting an object, I get the
following:
java.lang.NullPointerException
at org.drools.reteoo.beta.InstanceEqualConstrRightMemory.remove(Unknown
Source)
at org.drools.reteoo.BetaMemory.remove (Unknown Source)
at org.drools.reteoo.NotNode.retractObject(Unknown Source)
at org.drools.reteoo.ObjectSource.propagateRetractObject(Unknown Source)
at org.drools.reteoo.RightInputAdapterNode.retractTuple (Unknown Source)
at org.drools.reteoo.TupleSource.propagateRetractTuple(Unknown Source)
at org.drools.reteoo.NotNode.retractTuple(Unknown Source)
at org.drools.reteoo.TupleSource.propagateRetractTuple (Unknown Source)
at org.drools.reteoo.JoinNode.retractObject(Unknown Source)
at org.drools.reteoo.ObjectSource.propagateRetractObject(Unknown Source)
at org.drools.reteoo.ObjectTypeNode.retractObject(Unknown Source)
at org.drools.reteoo.Rete.retractObject(Unknown Source)
at org.drools.reteoo.ReteooRuleBase.retractObject(Unknown Source)
at org.drools.reteoo.ReteooWorkingMemory.doRetract(Unknown Source)
at org.drools.common.AbstractWorkingMemory.retractObject(Unknown Source)
at org.drools.common.AbstractWorkingMemory.retractObject(Unknown Source)
at ascc.rules.AbstractRulesCoordinator.statusChanged(
AbstractRulesCoordinator.java :354)
at ascc.rules.AbstractRulesCoordinator$1.statusChanged(
AbstractRulesCoordinator.java:111)
at ascc.status.BaseStatusBoard.notifyChange(BaseStatusBoard.java:211)
at ascc.status.BaseStatusBoard.notifyChange (BaseStatusBoard.java:191)
at ascc.status.DefaultParkingStatusBoard.empty(
DefaultParkingStatusBoard.java:318)
at ascc.spotting.DefaultSpottingCoordinator.computeInitialSpot(
DefaultSpottingCoordinator.java:578)
at ascc.spotting.DefaultSpottingCoordinator.statusCreated(
DefaultSpottingCoordinator.java:827)
at ascc.status.BaseStatusBoard.notifyCreate(BaseStatusBoard.java:100)
at ascc.status.BaseStatusBoard.notifyCreate (BaseStatusBoard.java:80)
at ascc.status.DefaultAirPlanStatusBoard.missionAssignmentComplete(
DefaultAirPlanStatusBoard.java:479)
at
ascc.missionassignment.Rule_6___Complete_mission_assignment_for_event_0.consequence(Rule_6___Complete_mission_assignment_for_event_0.java:36)
at
ascc.missionassignment.Rule_6___Complete_mission_assignment_for_event_0ConsequenceInvoker.evaluate(Rule_6___Complete_mission_assignment_for_event_0ConsequenceInvoker.java:24)
... 7 more
Is there something I could be doing wrong? Is this a known bug?
Thanks,
-Chris
17 years, 7 months
[rule-users]:Nested Condition
by Sikkandar Nawabjan
Hi,
Does Droos(3.0.6) support nested 'and' and 'or' condition.
For example
i want like
ConditionA
'and'
(conditionB 'and' Condition C(ConditionD 'or' ConditionE))
Thanks and Regs.
Basha
17 years, 7 months
[rule-users]:Rule grouping
by Sikkandar Nawabjan
Hi,
I have five rules A,B,C,D,E,
Rule C is common for all(i.e) if A or B or D or E is executed then rule C need to be execute followed by the respective rule. i dont want to duplicate the C code in all other 4 rule and want C as a common seperate rule.
how can i achieve this,
Thanks and Regs,
Basha
17 years, 7 months
Problem with \" while compiling DRL
by Cédric D'Inca
Hi everyone,
I am currently experimentating troubles compiling a DRL file with a \"
character in it.
I am using Drools libraries 3.0.4.
I used a XLS decision table that, once compiled, gave me a DRL. The
following lines are extracted from it.
#From row number: 14
rule "Exemple 1 2006 10 10_14"
salience 65522
when
Ctx:MyObject()
eval(Ctx.GetPrp("TEST").getValue().equals("GER"))
then
Ctx.SetPrp("TRUC").setValue("test char \" test");
end
#From row number: 15
The problem is that when compiled, an error is generated
Unknown:0-1 mismatched token: [@0,0,0='<no text>',<-1>,0:-1]; expecting type
'end'
If I modify the decision table to put
Ctx.SetPrp("TRUC").setValue("test char " test");
The result is the same
Unknown:0-1 mismatched token: [@0,0,0='<no text>',<-1>,0:-1]; expecting type
'end'
So it means that \" is not understood, however, if I put \z, I get the
following error:
Rule compilation error Invalid escape sequence (valid ones are \b \t \n \f
\r \" \' \\)
Where it is written that \" should be understood.
Any idea?
Greetings,
Cédric D'INCA
17 years, 7 months