Announcement Announcement Module
Collapse
No announcement yet.
Spirng activiti Integration Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spirng activiti Integration

    Hi folks,
    I'm integrating spring with activiti where I configured activiti process engine as spring
    Setup, deploy and running is working.
    But activiti class(bpmn20) called springJdbc, I'm using one more application context for storing values in database.
    [CODE}ApplicationContext context = new FileSystemXmlApplicationContext("d:/data-access-config.xml");
    springJdbc bf=(springJdbc) context.getBean("springJdbc");[/CODE]
    Summary context with in context.
    can it work in spring?
    I'm getting $Proxy10 cannot be cast to be.jorambarrez.springJdbc
    StackTrace:
    java.lang.ClassCastException: $Proxy10 cannot be cast to be.jorambarrez.springJdbc
    java.lang.ClassCastException: $Proxy10 cannot be cast to be.jorambarrez.springJdbc
    at be.jorambarrez.springJdbc.execute(springJdbc.java: 152)
    at org.activiti.engine.impl.bpmn.behavior.ServiceTask JavaDelegateActivityBehavior.execute(ServiceTaskJa vaDelegateActivityBehavior.java:47)
    at org.activiti.engine.impl.bpmn.behavior.ServiceTask JavaDelegateActivityBehavior.execute(ServiceTaskJa vaDelegateActivityBehavior.java:38)
    at org.activiti.engine.impl.bpmn.helper.ClassDelegate .execute(ClassDelegate.java:99)
    at org.activiti.engine.impl.pvm.runtime.AtomicOperati onActivityExecute.execute(AtomicOperationActivityE xecute.java:40)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AtomicOperati onTransitionNotifyListenerStart.eventNotifications Completed(AtomicOperationTransitionNotifyListenerS tart.java:48)
    at org.activiti.engine.impl.pvm.runtime.AbstractEvent AtomicOperation.execute(AbstractEventAtomicOperati on.java:52)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AbstractEvent AtomicOperation.execute(AbstractEventAtomicOperati on.java:45)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AtomicOperati onTransitionCreateScope.execute(AtomicOperationTra nsitionCreateScope.java:44)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AtomicOperati onTransitionNotifyListenerTake.execute(AtomicOpera tionTransitionNotifyListenerTake.java:61)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AtomicOperati onTransitionDestroyScope.execute(AtomicOperationTr ansitionDestroyScope.java:111)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AtomicOperati onTransitionNotifyListenerEnd.eventNotificationsCo mpleted(AtomicOperationTransitionNotifyListenerEnd .java:36)
    at org.activiti.engine.impl.pvm.runtime.AbstractEvent AtomicOperation.execute(AbstractEventAtomicOperati on.java:52)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AbstractEvent AtomicOperation.execute(AbstractEventAtomicOperati on.java:45)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.runtime.ExecutionEntity.t ake(ExecutionEntity.java:341)
    at org.activiti.engine.impl.bpmn.behavior.BpmnActivit yBehavior.performOutgoingBehavior(BpmnActivityBeha vior.java:92)
    at org.activiti.engine.impl.bpmn.behavior.BpmnActivit yBehavior.performDefaultOutgoingBehavior(BpmnActiv ityBehavior.java:49)
    at org.activiti.engine.impl.bpmn.behavior.FlowNodeAct ivityBehavior.leave(FlowNodeActivityBehavior.java: 44)
    at org.activiti.engine.impl.bpmn.behavior.AbstractBpm nActivityBehavior.leave(AbstractBpmnActivityBehavi or.java:37)
    at org.activiti.engine.impl.bpmn.behavior.ServiceTask JavaDelegateActivityBehavior.execute(ServiceTaskJa vaDelegateActivityBehavior.java:39)
    at org.activiti.engine.impl.bpmn.helper.ClassDelegate .execute(ClassDelegate.java:99)
    at org.activiti.engine.impl.pvm.runtime.AtomicOperati onActivityExecute.execute(AtomicOperationActivityE xecute.java:40)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AtomicOperati onTransitionNotifyListenerStart.eventNotifications Completed(AtomicOperationTransitionNotifyListenerS tart.java:48)
    at org.activiti.engine.impl.pvm.runtime.AbstractEvent AtomicOperation.execute(AbstractEventAtomicOperati on.java:52)
    at org.activiti.engine.impl.interceptor.CommandContex t.performOperation(CommandContext.java:63)
    at org.activiti.engine.impl.runtime.ExecutionEntity.p erformOperation(ExecutionEntity.java:496)
    at org.activiti.engine.impl.pvm.runtime.AbstractEvent AtomicOperation.execute(AbstractEventAtomicOperati on.java:45)
    at org.activiti.engine.im
Working...
X