Miloud Haimoune [https://community.jboss.org/people/milhaim] created the discussion
"Timer triggered more than it should after an exception (infinite loop some times)." To view the discussion, visit: https://community.jboss.org/message/736786#736786 -------------------------------------------------------------- Hi All, I'm having an infinite loop in my business process in my project, so I reduced my process to a sample one and reproduced the bug. I'm using jbpm5.2 seam and jboss 5.1. the process: https://community.jboss.org/servlet/JiveServlet/showImage/2-736786-18600/Screen+Shot+2012-05-21+at+12.10.14.png https://community.jboss.org/servlet/JiveServlet/downloadImage/2-736786-18600/450-90/Screen+Shot+2012-05-21+at+12.10.14.png In an ad-hoc model, I start the process and a timer is triggered each 60s to check some rules. I have a variable "iteration" which is incremented in the a script action (each time the triggered), after the third iteration a throw an exception with I catch in my processManager. The rule where the exception is thrown https://community.jboss.org/servlet/JiveServlet/showImage/2-736786-18601/Screen+Shot+2012-05-21+at+12.10.50.png https://community.jboss.org/servlet/JiveServlet/downloadImage/2-736786-18601/450-106/Screen+Shot+2012-05-21+at+12.10.50.png To reproduce the bug I start tow process instance, let the exception occurred and start a new process instance than the timer is triggered 3, 4 5 times in a second and it should happen just ones each 60s. Some times this exception produces an infinite loop (triggering the timer). I joined the process definition, the rule file and processmanager.ava (inspired from the jbpm console code). My question : Is it a problem in my code or a bug in jbpm, and if there is a way to workaround. If you need any further information, please let me know. thanks. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/736786#736786] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user