[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml
do-not-reply at jboss.com
Wed Aug 19 18:30:19 EDT 2009
"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!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250504#4250504
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250504
More information about the jboss-user