Mark,
 
Are the latest examples updated to http://labs.jboss.com/jbossrules/downloads under the MR3 Examples downloadable.
 
Thanks
Natraj

 
On 7/19/07, Mark Proctor <mproctor@codehaus.org> wrote:
I have just updated conways game of life example to use ruleflow, the agenda group one still exists. So execute ConwayAgendaGroupRun and ConwayRuleFlowGroupRun to run the two examples. AgendaGroupDelegate and RueFlowDelegate show the two different implementations.

Mark
Natraj Gudla wrote:
Hi,
 
Has any one used Rule FLow with 4.0.0. I am looking for some help on how to use rule flow, where to mention the drl file name. How to use it in the java invoker classes.
 
I have tried something, created a TestRuleFlow.rf, then added a rule group, gave it a group name as drl file name. When i use the PackageBuilder to add the rule flow, it throws the following exception
 

com.thoughtworks.xstream.alias.CannotResolveClassException

: org.drools.ruleflow.core.impl.RuleFlowProcess : org.drools.ruleflow.core.impl.RuleFlowProcess

at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(

DefaultMapper.java:35)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(

XmlFriendlyMapper.java:44)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(

ClassAliasingMapper.java:49)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(

DynamicProxyMapper.java:46)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(

ArrayMapper.java:70)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.CachingMapper.realClass(

CachingMapper.java:27)

at com.thoughtworks.xstream.core.TreeUnmarshaller.start(

TreeUnmarshaller.java:95)

at com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy.unmarshal(

ReferenceByIdMarshallingStrategy.java:12)

at com.thoughtworks.xstream.XStream.unmarshal(

XStream.java:552)

at com.thoughtworks.xstream.XStream.unmarshal(

XStream.java:540)

at com.thoughtworks.xstream.XStream.fromXML(

XStream.java:490)

at org.drools.compiler.ProcessBuilder.addProcessFromFile(

ProcessBuilder.java:76)

at org.drools.compiler.PackageBuilder.addRuleFlow(

PackageBuilder.java:199)

at com.drools.sample.ParseDRL.readRuleFromDrl(

ParseDRL.java:72)

at com.drools.sample.ParseDRL.main(

ParseDRL.java:23)

com.thoughtworks.xstream.alias.CannotResolveClassException

: org.drools.ruleflow.core.impl.RuleFlowProcess : org.drools.ruleflow.core.impl.RuleFlowProcess

at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(

DefaultMapper.java:35)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(

XmlFriendlyMapper.java:44)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(

ClassAliasingMapper.java:49)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(

DynamicProxyMapper.java:46)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(

ArrayMapper.java:70)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(

MapperWrapper.java:18)

at com.thoughtworks.xstream.mapper.CachingMapper.realClass(

CachingMapper.java:27)

at com.thoughtworks.xstream.core.TreeUnmarshaller.start(

TreeUnmarshaller.java:95)

at com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy.unmarshal(

ReferenceByIdMarshallingStrategy.java:12)

at com.thoughtworks.xstream.XStream.unmarshal(

XStream.java:552)

at com.thoughtworks.xstream.XStream.unmarshal(

XStream.java:540)

at com.thoughtworks.xstream.XStream.fromXML(

XStream.java:490)

at org.drools.compiler.ProcessBuilder.addProcessFromFile(

ProcessBuilder.java:76)

at org.drools.compiler.PackageBuilder.addRuleFlow(

PackageBuilder.java:199)

at com.drools.sample.ParseDRL.readRuleFromDrl(

ParseDRL.java:72)

at com.drools.sample.ParseDRL.main(

ParseDRL.java:23)

Exception in thread "main"


_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

 

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users