Hi, I'm the guy trying to use Jython w/ Jbpm. So, it's been a tough week trying to figure out why you Java guys make life so complex.
Tonight, finally, I can get a JbpmSessionFactory!
Anyway I am leaning towards running in embedded mode, with my own REST based "web service" engine. I might have multiple 'engines' running, so want to ask about 'pessimistic locking' mentioned in this forum when operating in this mode. I assume that pessimistic locking applies either to the jdbc connection (using hsqldb) or to hibernate. But I can't find mentioning of locking in either of those projects docs.
Where and how should I set this locking?
----
One of my big struggles was figuring out how to tell JbpmConfiguration.java where my jbpm.cfg.xml file is. In looking at the code, I had thought that I could do this:
java -Djbpm.cfg.xml=/path/to/file -cp $CLASSPATH
private static Properties getProperties() { if (properties==null) { return initProperties(); } return properties; } private static synchronized Properties initProperties() {