Re: [rules-users] Guvnor Into Weblogic

2011-11-03 Thread Jervis Liu
On 2011/11/4 9:48, Demian Calcaprina wrote: Jervis, just tried Guvnor 5.3 and worked fine! Do you know what was changed? All I know is that there was an authentication related bug and it was fixed in Guvnor 5.3. But I dont have any further details as there is no associated jira number. This

Re: [rules-users] Guvnor Into Weblogic

2011-11-03 Thread Demian Calcaprina
Jervis, just tried Guvnor 5.3 and worked fine! Do you know what was changed? And one last question, does anyone know if there can be any conflict between jbpm 5.1 and guvnor 5.3? Thanks again, Demian On Thu, Nov 3, 2011 at 6:50 AM, Jervis Liu wrote: > I saw some reports on similar webDav e

Re: [rules-users] Bugs in rule templates?

2011-11-03 Thread Bruno Freudensprung
Alright! Concerning the package declaration, it is mentioned as "optional" (see Example 5.3. Rule template file: templates) in the documentation. Thanks for your answer! Regards, Bruno. Le 03/11/2011 16:27, Wolfgang Laun a écrit : It seems that some template/CSV parser expects the parameters

Re: [rules-users] Rules called with null references?

2011-11-03 Thread Robert Crawford
The code being executed is in the DRL file -- and this code USUALLY works. USUALLY I get the expected object and everything's OK. I'm trying to move all the long-running code into separate threads, and deal with occasionally having the same condition detected twice. -- View this message in co

[rules-users] guvnor and drl rules file uploading

2011-11-03 Thread gcautiero
Hello, i'm working with different drools template (.drt) on excel raw data files. I have an application to generate rules files (.drl) to use it in my applications. My question is: there is a way in Guvnor to upload a new drl file? maybe with a restful service? i want upload the file with generati

Re: [rules-users] Bugs in rule templates?

2011-11-03 Thread Wolfgang Laun
It seems that some template/CSV parser expects the parameters in the same order as the column headers of the CSV. Also, there is no explicit termination of the parameter list, and therefore the parser appears to rely on "package" being the first statement of the header text to precede all expansion

Re: [rules-users] Rules called with null references?

2011-11-03 Thread Wolfgang Laun
The activation contains fact handles, and one must use workingMemory.getObjct( handle ) to obtain the object - at least a consequence exception handler would do this. It is debatable whether long delays are in order when an application is using real-time event processing. Time-stamped inserts s

[rules-users] Getting Exceptions for ChangeSet.xml resource...

2011-11-03 Thread Manohar Kokkula
Hi to All, I am getting following exceptions while executing simple application with ChangeSet.xml resource. [2011:11:308 01:11:101:exception] java.lang.RuntimeException: KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage at org.drools.agent.impl.Knowled

[rules-users] Rules called with null references?

2011-11-03 Thread Robert Crawford
I have this rule: rule "Defrost: Turned On" when $reading : SwitchReading( switchOn == true ) from entry-point "ReadingsStream" not SwitchReading (this.circuit == $reading.circuit, this after $reading ) from entry-point "ReadingsStream" not DefrostSwitchOn(this.circuit == $reading.circ

Re: [rules-users] Bugs in rule templates?

2011-11-03 Thread Wolfgang Laun
Before you work on a JIRA could you please provide an (abbreviated) example of a template that causes both errors? -W 2011/11/3 Bruno Freudensprung > ** > Hi all, > > I am writing rules using Drools Templates and I noticed strange problems > (ocurring when I slightly modify a DRT that works well

[rules-users] Bugs in rule templates?

2011-11-03 Thread Bruno Freudensprung
Hi all, I am writing rules using Drools Templates and I noticed strange problems (ocurring when I slightly modify a DRT that works well): 1. the template instanciation depends on the declarations order of the parameters in the template header 2. if the rule template does not contain a

Re: [rules-users] Drools Planner - planning variable as list

2011-11-03 Thread sirius
Thanks for the reply. In my examples analysis, I was focused patient admission scheduling, but nurse rostering it realy more analogical (especially with requiredEmployeeSize case). Thanks for this suggestion ! Key assumption is : ge0ffrey wrote: > > Just create a WorkOrderAssignment per workord

Re: [rules-users] Guvnor Into Weblogic

2011-11-03 Thread Jervis Liu
I saw some reports on similar webDav errors with Guvnor 5.2, not sure if it is identical to yours though. The problem was fixed in Guvnor 5.3. You may want to try 5.3 to see how it goes. Cheers, Jervis On 2011/11/2 21:29, calcacuervo wrote: > Hi Everyone. I have deployed Guvnor 5.2 in Weblogic

Re: [rules-users] Drools Planner - planning variable as list

2011-11-03 Thread Geoffrey De Smet
Op 03-11-11 08:35, sirius schreef: > I'm new Drools Planner user, so sorry if my question proved to be trivial. > > Simplified problem definition: > > Facts: > Workorder > Technician > > Planning entity: > WorkorderAssignement { > private List technicianList; > private Workorder workorde

[rules-users] Drools Planner - planning variable as list

2011-11-03 Thread sirius
I'm new Drools Planner user, so sorry if my question proved to be trivial. Simplified problem definition: Facts: Workorder Technician Planning entity: WorkorderAssignement { private List technicianList; private Workorder workorder; } Workorder depends of his definiiton maybe assigned to