Hello,
The problem that i had was fixed that:
Each time that you need a transaction, you must use a block that:

//Out of method
private static JbpmConfiguration jbpmConfiguration = JbpmConfiguration
            .parseResource("jbpm.cfg.xml");

public void makeSomething(String strProcessName){
    JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
    try{
           processDefinition = JbpmContext.getCurrentJbpmContext()
                    .getGraphSession().findLatestProcessDefinition(
                            strProcessName);
           ...
           ...
    }catch(..){ 
    }finally {
          jbpmContext.close();
    }
}

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949142#3949142

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949142


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to