0 Replies Latest reply on Nov 12, 2013 4:05 AM by lauradp

    InvocationTargetException on creating StatefulKnowledgeSession

    lauradp

      Hello everybody,

      I'm facing a strange problem and I'm wondering if someone has encountered the same issue.

      I'm trying to start a jbpm workflow from a jms consumer (i.e. after receiving a jms message), but on creating a StatefulKnowledgeSession

       

      StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, config, env);

       

      I get a java.lang.reflect.InvocationTargetException. If I use the same code, but drive the workflow using a webService, all works fine.

      Can anyone help me?

       

      Laura