[rules-users] Unable to Load Enum Data into Template

2012-04-16 Thread srinivasasanda
Hi All, I was able to create Enumeration 'MyEnum.age': ['30', '20']and that enumeration is successfuly retrieving in normal Rule.But,In Creating RuleTemplate,I'm unable to load that enum data.I specified template key as $age in the rule.After Loading TemplateData,enum list is not being

[rules-users] Can i see a Decision Table in Tempate (like:each row one Decision Table)

2012-04-16 Thread srinivasasanda
Hi I have a doubt Please let me know whether it is possible or not. There is a option in guvnor create new rule template (here we are creating new rule by using WHEN THEN options), So my doubt is when i click new rule template i want to get Decision Table format like Decision table |

Re: [rules-users] Planner 5.3.0 Final - Issue with Local Search / Move

2012-04-16 Thread Geoffrey De Smet
Op 16-04-12 06:36, duggal schreef: I am solving a resource allocation problem using the Planner and have run into a few issues with the use of Local Search. The objective is to assign tasks to a set of resources. Each task has a start and end time and NO task should overlap each other for

Re: [rules-users] Performace Issues drools

2012-04-16 Thread sanal
Hi , I am trying to use drools where the rules are defined in a tree format. eg:Iam explaining it with a hospital senario. A healtcarepackage has got set of criteria which is defined in a tree format.

Re: [rules-users] Drools Planner : multiple planning entities

2012-04-16 Thread TEddahabi
I use the 5.4.0.CR1 version and make ValueRange.excludeUninitializedPlanningEntity on true (as you advised me), but I'm getting this exception : *Exception in thread main java.lang.IllegalArgumentException: The planningEntityClass (class

Re: [rules-users] Drools Planner : multiple planning entities

2012-04-16 Thread Geoffrey De Smet
*Exception in thread main java.lang.IllegalArgumentException: The planningEntityClass (class org.drools.planner.examples.cloudbalancing.domain.CloudAssignment) has a PlanningVariable annotated property (cloudComputer) with excludeUninitializedPlanningEntity (true), but there is no planning

Re: [rules-users] Drools Planner : multiple planning entities

2012-04-16 Thread TEddahabi
It's not exactly the cloudbalancing example, I made some changes in the original example : - I made the /CloudComputer/ a planing entity class - I added a /state/ planning variable in /CloudComputer/ class ( which take values from a list in the same class, there is a list of states for each

[rules-users] java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init while unmarshalling statefulknowledgesession

2012-04-16 Thread sumatheja
Hi All, I ran across an issue while unmarshalling StatefulKnowledgeSession. First I'm marshalling the session using the following code which works fine Marshaller marshaller = MarshallerFactory .newMarshaller(workingMemory.getKnowledgeBase()); File file = new File(

Re: [rules-users] java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init while unmarshalling statefulknowledgesession

2012-04-16 Thread Wolfgang Laun
This kind of error indicates some confusion between compilation and execution of the code where this is thrown. Also, which versions of Drools do you used for marshalling and unmarshalling? There's no line 287 in the versions of org.drools.marshalling.impl.PersisterHelper.java available to me.

Re: [rules-users] Can i see a Decision Table in Tempate (like:each row one Decision Table)

2012-04-16 Thread Michael Anstis
With 5.4.CR1 you can define a decision table with BRL fragments as columns. This is probably what you are after. sent on the move On 16 Apr 2012 08:13, srinivasasanda srinivasasa...@gmail.com wrote: Hi I have a doubt Please let me know whether it is possible or not. There is a option in

Re: [rules-users] java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init while unmarshalling statefulknowledgesession

2012-04-16 Thread sumatheja
Hi, I'm using drools and guvnor 5.4 cr1. I've few drools ruleflows which were not executing so I imported the jars from jbpm 5.2 final. The marshalling and unmarshalling works fine if I have knowledge base without rule-flows. I hope this gives some hint.. On Mon, Apr 16, 2012 at 11:29

Re: [rules-users] KnowledgeAgent Changeset problems

2012-04-16 Thread albertorugnone
I am here again! Somebody, can help me in some way? -- View this message in context: http://drools.46999.n3.nabble.com/KnowledgeAgent-Changeset-problems-tp3787165p3914095.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

Re: [rules-users] java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init while unmarshalling statefulknowledgesession

2012-04-16 Thread sumatheja
I'm getting the same issue when I try to unmarshall a sample application which has the jbpm process (which moves out guvnor as possible cause). can someone guide if this is some bug? or should I change the jbpm jar version? On Mon, Apr 16, 2012 at 11:37 AM, sumatheja sumath...@gmail.com

Re: [rules-users] java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init while unmarshalling statefulknowledgesession

2012-04-16 Thread Michael Anstis
There was a dramatic change to the marshalling of binary packages for 5.4.CR1. AFAIK this would mean any existing binary package in Guvnor would need to be rebuilt. Downgrading JARs to older versions would effectively remove the marshalling change and hence restore compatibility of older binary

Re: [rules-users] java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init while unmarshalling statefulknowledgesession

2012-04-16 Thread sumatheja
Hi Michael... Thanks for the response I'm getting this exception even without a guvnor i.e. when I use a local project which has jbpm process and a drl file but without the jbpm process everything works fine. I'm using jbpm 5.2 final. 2012/4/16 Michael Anstis michael.ans...@gmail.com

[rules-users] Problem with simple Fusion test case

2012-04-16 Thread RobinMacharg
Hi, I'm new to Drools (this is my first post) and am running into problems understanding the temporal aspects of it. I am trying to create a simple test case, using the pseudo-clock to control time. I declare and add a number of events with different start times (@timestamp) and durations

Re: [rules-users] please provide a rule for events timeout cases

2012-04-16 Thread skatta1986
Hi, Thanks for the response.. This is working fine.. But I have a query on the rule: rule no_response timer( int: 10s ) when EventRecord( type=EventRequest, id=1 ) not EventRecord( type=EventResponse, id=1 ) In general timer means executing a thread for every specified time period

Re: [rules-users] java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init while unmarshalling statefulknowledgesession

2012-04-16 Thread Edson Tirelli
The error means a version incompatibility due to changes we made to the marshalling framework. Until both projects have their releases out, you will have to use snapshots. jBPM 5.3 requires Drools 5.4 and vice-versa. You can't use Drools 5.4 with jBPM 5.2. I think jBPM 5.3 has not released

Re: [rules-users] java.lang.AbstractMethodError: org.jbpm.marshalling.impl.ProcessMarshallerImpl.init while unmarshalling statefulknowledgesession

2012-04-16 Thread sumatheja
Thanks Edson... I expected this could be a ersion issue... can you send me the link for the latest snapshot for jBPM... The latest that I could find is 5.2 final. 2012/4/16 Edson Tirelli ed.tire...@gmail.com The error means a version incompatibility due to changes we made to the

Re: [rules-users] Problem with simple Fusion test case

2012-04-16 Thread Wolfgang Laun
There is a fundamental misunderstanding on your side. An event's timestamp and duration are used for reasoning, relating events by means of temporal operators, e.g., A before B, A meets B, and so on. Your condition Event() is just a test for a fact of type Event() being in WM, and it doesn't

[rules-users] Issue deploying 2.1 oryxdesigner on guvnor 5.4 CR1 and jboss 7.1.1 final

2012-04-16 Thread sumatheja
Hi I deployed the designer 2.1 war in standalone/deployments afetr changing the url in the jbpm.xml to the appropriate port. * externalloadurl protocol=http host=localhost:8380 subdomain=drools-guvnor/org.drools.guvnor.Guvnor/oryxeditor usr=admin pwd=admin/* When I create a new jbpm and save it

[rules-users] SOAP rule invocation in droolsjbpm-integration-distribution-5.4.0.CR1

2012-04-16 Thread Oldrich Kotas
Hello, I am trying to invoke rules in the sample integration deployment from drools-camel-server-5.4.0.CR1 release. No matter what I keep sending to the endpoint, only following returns: soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; soap:Body soap:Fault

Re: [rules-users] Issue deploying 2.1 oryxdesigner on guvnor 5.4 CR1 and jboss 7.1.1 final

2012-04-16 Thread Tihomir Surdilovic
I assume you have both Guvnor and Designer running on port 8380. Saving a business process needs 2-way communication between Guvnor and Designer, and by default Guvnor assumes Designer lives on localhost port 8080. Read this chapter of the jBPM docs :

Re: [rules-users] Unable to Load Enum Data into Template

2012-04-16 Thread srinivasasanda
Manstis,but it is working in 5.2.0M2.But in 5.3.0 Final,it is not working.I've tried both Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Unable-to-Load-Enum-Data-into-Template-tp3913672p3914993.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Unable to Load Enum Data into Template

2012-04-16 Thread Michael Anstis
Have you tried 5.4.CR1? Like I said, there was a bug that has been subsequently fixed. 5.2.0.Final saw the introduction of the new grid used for Template data. 5.3.0.Final saw some major improvements on enumerations in the Guided Rule Editor. Unfortunately it introduced the regression you

[rules-users] Planner: weighting moves adaptive foragers

2012-04-16 Thread Christopher Dolan
Three related questions about Drools Planner: My planning problem involves distributing N jobs into M job queues. The optimal queue ordering depends on a large number of factors, but most important are job priority and job age. Priority usually wins, but old jobs can trump to avoid starvation.

Re: [rules-users] Guvnor Rest API

2012-04-16 Thread Jervis Liu
On 2012/4/14 13:41, Amin Mohammed-Coleman wrote: Hi I am trying to use the Guvnor Rest API to upload rules and BPMN process definitions to a remote Guvnor installation. So far I am able to update the binary content of the asset using: