[jboss-user] [jBPM Users] - BusinessCalendarImpl throws null pointer exception

2009-11-18 Thread joshsiaw
=== Environment == - jBPM Version : 4.2 - Database : MySql 5.0.67 - JDK : 1.6.0_16 - Container : 1.6.0_16 - Configuration : default jbpm.cfg.xml copied from Examples project - Libraries : default jBPM 4.2 libraries === Process == |

[jboss-user] [JBoss jBPM] - Re: jBPM 4 CR1 AsyncActivity Unit Test fails due to FK const

2009-06-18 Thread joshsiaw
That did it! Thanks so much! Now it makes sense. If I remember correctly InnoDb storage type allows you to carry out executions in 'safe' transactions and enforces foreign key constraints, etc to maintain db integrity. Quite possibly the other dialect I was using did not enforce such rules so

[jboss-user] [JBoss jBPM] - Re: jBPM 4 CR1 AsyncActivity Unit Test fails due to FK const

2009-06-17 Thread joshsiaw
Here you go: jbpm.cfg.xml file: | ?xml version=1.0 encoding=UTF-8? | | jbpm-configuration | | import resource=jbpm.default.cfg.xml / | import resource=jbpm.tx.hibernate.cfg.xml / | import resource=jbpm.jpdl.cfg.xml / | import resource=jbpm.identity.cfg.xml / | |

[jboss-user] [JBoss jBPM] - jBPM 4 CR1 AsyncActivity Unit Test fails due to FK constrain

2009-06-16 Thread joshsiaw
Hi, I just installed jBPM4 CR1 yesterday and have been trying out the examples and testing the api. I tried to run testAsyncActivity on JUnit and it failed with this error. Btw, I'm using MySQL 5 for the JBPM db. | 19:11:49,159 FIN | [ProcessDefinitionImpl] creating new execution for

[jboss-user] [JBoss jBPM] - Re: jBPM 4 CR1 AsyncActivity Unit Test fails due to FK const

2009-06-16 Thread joshsiaw
Thanks for your quick reply. I did search the forums and jira (sorry I didn't mention that) but wasn't sure if it was due to the same problem so I thought I'd post this specify the unit test which failed. As far as I can tell since trying other tests(EndProcessInstanceTest, EndStateTest,

[jboss-user] [JBoss jBPM] - Re: Writing to custom tables not defined by JBPM

2009-03-05 Thread joshsiaw
Hi Brad, thanks for your reply. I'm looking into EJB 3 now as well as Seam. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4215557#4215557 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4215557

[jboss-user] [JBoss jBPM] - Writing to custom tables not defined by JBPM

2009-03-01 Thread joshsiaw
Hi, I'm a new user and am wondering whether it's possible to have JBPM save records to user-defined tables. (For example, saving fields in a form to separate tables) I'm guessing this can be done using handlers but am not sure how to go about it. Is anyone able to shed some light on this topic?