I just downloaded last version of jbpm31 module and migrated our web-application from approach got from jbpm (initialization of configuration with jbpm's org.jbpm.web.JbpmContextFilter) to use jbpmConfiguration via spring beanFactory.
I'm using default settings I've got from spring-jbpm31 test for dataSource (only difference i'm using Postgres), transactionManager and jbpmConfiguration...
Everything works fine.... but only for reading...
Then I try to save something - it seems done well - but not really saved.
It seems for me that we problem in transaction management... but I'm not very familiar with transactions in Spring... before migration to the Spring jbpm works fine without any transactions...
So, how it is possible to make working correctly? For example this code I'm using for deploying new process definition:
What I should add or change to see my process definition on the next web-page? (I cannot find it by id I had in deploy)
ZipInputStream zis = new ZipInputStream(fileItem.getInputStream());
JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
processDefinition = ProcessDefinition.parseParZipInputStream(zis);
Thank you for your advice