[
https://jira.jboss.org/jira/browse/JBPM-2042?page=com.atlassian.jira.plug...
]
Alejandro Guizar commented on JBPM-2042:
----------------------------------------
I got the same exception that occurs in Hudson, running under fedora 10 against mysql. I
made a few changes to the test, chiefly a jbpmContext.save(pi) call, and it is gone.
Add possibility to query failed Jobs
------------------------------------
Key: JBPM-2042
URL:
https://jira.jboss.org/jira/browse/JBPM-2042
Project: JBoss jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Core Engine
Reporter: Bernd Ruecker
Assignee: Bernd Ruecker
Priority: Minor
Fix For: jBPM 3.2.x
The JobExecutor decrements the number of retries every time an exception is thrown during
execution of jobs. The exception stacktrace is saved in the Jobs.
In the API (JobSession) I now add a method to query all failed jobs (where retries==0 and
excpetion!=null) which will not be executed again by the JobExecutor.
I added the method "findFailedJobs", the hibernate named query
"JobSession.findFailedJobs" and a test case for it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira