Here is the exception:
Exception in thread "mythread" java.lang.NoClassDefFoundError: com/daxtechnologies/optima/fault/eventprocessor/NewEvent at ASMAccessorImpl_716163221204646531490.getValue(Unknown Source) at org.mvel.ASTNode.getReducedValueAccelerated(ASTNode.java:174) at org.mvel.MVELRuntime.execute(MVELRuntime.java:88) at org.mvel.CompiledExpression.getValue(CompiledExpression.java:111) at org.mvel.MVEL.executeExpression(MVEL.java:235) at org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:47) at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:550) at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:514) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:471) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:433) . Caused by: java.lang.ClassNotFoundException: com.daxtechnologies.optima.fault.eventprocessor.NewEvent Here is my package code: function void newEvent(ExtendedEventVO sample, String message) { System.out.println("Creating event:" + message); } rule "TestRule" dialect "mvel" when $e: ExtendedEventVO(); eval($e.getMsg().indexOf("TEHU1")>=0); then newEvent($e,"FIREEEE!!!!!"); end I am using the web based jbrms and the RuleAgent to load the rules . I am getting the "Creating Event message on stdourerr ", Any ideas of what is wrong ? Thanks --zoly
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users