[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

hwa do-not-reply at jboss.com
Wed Aug 19 18:31:45 EDT 2009

"hwa" wrote : "kukeltje" wrote : uhhhhhmmmmmm..... you use the class that is your 'test app' also as the actionhandler.... and you do a lot of work in the constructor. Now that is an obvious explanation why you see the loop. since each time your actionhandler is called it is constructed and starts a new process etc... so it is not a loop, but a recursive thing.
  |   | 
  |   | Separate your java actionhandler from the test class or make the actionhandler an inner class.
  | Oh shoot. That's a good point. I think I was so busy trying out all the jBPM stuff that I forgot that I had the action handler my test class constructor--I should've seen that already--of course it's looping b/c the constructor was restarting the schema over and over again...dangit...okay, that seemed to solve my problem. Thanks so much!

On a side note, I didn't realize that the action handler would be called until I reached that point in the process. Why would it get called over and over again before the process even starts?

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

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

More information about the jboss-user mailing list