[jboss-user] [JBoss jBPM] - Re: 3.2.1 jbpm.jpdl.postgresql.sql

2007-07-24 Thread luukey
Yes, there are no semicolons at the end of the line, but no big deal:postgres> cat jbpm.jpdl.postgresql.sql | while read line; do echo "$line;" | psql jbpm; done. While the creation, the database complains about nonexistent tables, but the script goes on, and eventually creates the required stru

[jboss-user] [JBoss jBPM] - Re: Timers and JBPM 3.2.1

2007-07-21 Thread luukey
Ok. This code works for me:public class Test2 | { | public static void main(String[] args) | { | try | { | JbpmConfiguration conf = JbpmConfiguration.getInstance("src/main/config/jbpm.cfg.xml"); | JbpmContext ctx = conf.createJbpmContext(); | Pr

[jboss-user] [JBoss jBPM] - Re: Timers and JBPM 3.2.1

2007-07-21 Thread luukey
You mean to clean the orphans ? OK. But how to correctly create a new entries ? I found, that the transaction must be commited after the ProcessInstance has been signaled, e.g. in the example above: // ...init code | ProcessInstance pInst = ctx.newProcessInstance("test1"); | pInst.signal();

[jboss-user] [JBoss jBPM] - Timers and JBPM 3.2.1

2007-07-19 Thread luukey
Hello. I'm trying to ceate a simple console application with jbpm and timers. What I did is quite simple: public static void main(String[] args) | { | try | { | JbpmConfiguration conf = JbpmConfiguration.getInstance("src/main/config/jbpm.cfg.xml"); | JbpmCo