H i 

our ruleflow is coupled with a struts2 application. we use guvnor generated pkg files and create knowledgebase out of it and use a caching mechanism to store kbases for reuse.
when i create a ksession out of the kbase and start a process , it works for the first time . whenever i try to start the same process second time using the cached kbase, i get the following exception :
ERROR - ExceptionInterceptor.publishException(107) | ExceptionInterceptor received exception java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585) etc ...
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: java.lang.NoSuchMethodError: com.qwest.rx.ruleflow.Process_com_qwest_rx_ruleflow_0.action104(Lorg/drools/spi/
KnowledgeHelper;Lcom/qwest/rx/brain/drools/action/RceHolderUtil;Lorg/drools/spi/ProcessContext;)V
        at com.qwest.rx.ruleflow.Process_com_qwest_rx_ruleflow_0Action104Invoker.execute(Process_com_qwest_rx_ruleflow_0Action104Invoker.java:21)
        at org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.executeAction(ExtendedNodeInstanceImpl.java:66)
        at org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerEvent(ExtendedNodeInstanceImpl.java:45)
        at org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.internalTrigger(ExtendedNodeInstanceImpl.java:28)
        at org.drools.workflow.instance.node.StateBasedNodeInstance.internalTrigger(StateBasedNodeInstance.java:31)
        at org.drools.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:80)
        at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
        at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:148)
        at org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:135)
        at org.drools.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
        at org.drools.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
        at org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
        at org.drools.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:16)
        at org.drools.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:185)
        at org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:284)
        at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1763)
        at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1741)
        at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:284)
        at com.qwest.rx.brain.drools.action.GetNextPageletAction.execute(GetNextPageletAction.java:557)
        ... 98 more
 
when i try to create the kbase by parsing rf files directly , they are all working fine. the same caching mechanism works well with rf files parsed kbases.
any thoughts / suggestions?
 
Regards,
Dipasoke Chattopadhyay | ( Office:  +91 80 6618 4813  | Email: dipasoke.chattopadhyay@qwest.com
 


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.