Bug 1072460 - Business-central cluster throws CNFE TaskDeadlinesService$DeadlineType during fail-over of process containing task with deadlines configured
Summary: Business-central cluster throws CNFE TaskDeadlinesService$DeadlineType during...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER2
: 6.0.1
Assignee: Roger Martínez
QA Contact: Radovan Synek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-04 15:49 UTC by Radovan Synek
Modified: 2014-08-06 20:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:03:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
complete stacktrace from node 2 (12.13 KB, text/plain)
2014-03-04 15:49 UTC, Radovan Synek
no flags Details

Description Radovan Synek 2014-03-04 15:49:15 UTC
Created attachment 870482 [details]
complete stacktrace from node 2

Description of problem:
Having a business-central cluster with 2 EAP nodes and a process definition containing a single user task with deadlines, following scenario fails:
1. start the process on node 1
2. shut the node 1 down
3. node 2 should handle the deadline with a reassignment and notification

=> on node 2 exception raises:
Error retrieving job, setting trigger state to ERROR.: org.quartz.JobPersistenceException: Couldn't retrieve job because a required class was not found: org.kie.internal.task.api.TaskDeadlinesService$DeadlineType from [Module "com.opensymphony.quartz:main"

The issue is very likely caused by missing dependency on org.kie module in the com.opensymphony.quartz module.

Steps to Reproduce:
1. configure a business-central cluster with 2 EAP nodes
2. create some repo,project and process definition with deadlines. Or clone
git://git.app.eng.bos.redhat.com/bpms-assets.git, use project "clustering", process definition "HumanTaskEscalation.bpmn2" (and define corresponding users)
3. log in to business-central on node 1, start the process
4. stop the node 1
5. log in to business-central on node 2 as the user who the task should be reassigned to, refresh tasks list => nothing to claim
6. observe the server log on node 2

Comment 1 Radovan Synek 2014-03-04 17:26:09 UTC
Confirmed that the issue can be fixed by adding dependency on the org.kie module.

Comment 2 Roger Martínez 2014-03-04 18:41:14 UTC
Thanks Radovan for the solution! :)

Commit into 6.0.x -> https://github.com/droolsjbpm/kie-wb-distributions/commit/09e4145708cb2a8aeb2ab3d7e059143e1be817d2

Comment 3 Edson Tirelli 2014-03-04 18:58:22 UTC
This was cherry-picked into the 6.0.1.ER2 tag:

https://github.com/jboss-integration/kie-wb-distributions/commit/9e4fa1e60294c908b0dff8c0c012ab01501502ed

Comment 5 Radovan Synek 2014-03-06 08:56:33 UTC
Verified with BPMS-6.0.1.ER2


Note You need to log in before you can comment on or make changes to this bug.