Bug 1280390

Summary: [GSS](6.4.z) JBoss WorkManager does not call WorkListener.workRejected at shutdown
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Aaron Ogburn <aogburn>
Component: JCAAssignee: Aaron Ogburn <aogburn>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.5CC: bmaxwell, istudens, jpederse
Target Milestone: CR1   
Target Release: EAP 6.4.6   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/ironjacamar/ironjacamar/pull/435
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 11:49:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1235746, 1275283, 1282619, 1284647    

Description Aaron Ogburn 2015-11-11 16:00:49 UTC
Description of problem:

Upon shutdown, WorkManager refuses work once it enters its shutdown state, but it does not properly call WorkListener.workRejected for the refused work in this shutdown state.


Version-Release number of selected component (if applicable):

IronJacamar 1.0.34.Final

How reproducible:

Very


Steps to Reproduce:
1. Assign work to WorkManager after its shutdown is initiated

Actual results:

WorkListener.workRejected is not called

Expected results:

WorkListener.workRejected is called

Additional info:

Upstream refactors appear to have already corrected this, for example:

https://github.com/ironjacamar/ironjacamar/commit/ce51b356c4e5faa0722aa3c4f79a44f40769a4c8

so we need backports to the 1.0 branch for EAP 6.

Comment 1 Aaron Ogburn 2015-11-16 21:34:43 UTC
PR: https://github.com/ironjacamar/ironjacamar/pull/435

Comment 2 Martin Simka 2016-01-20 11:59:00 UTC
verified with EAP 6.4.6.CP.CR2

Comment 3 Petr Penicka 2017-01-17 11:49:57 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.