DescriptionGer-Jan te Dorsthorst
2015-08-11 19:34:19 UTC
Description of problem:
A CDI extension has a BeforeShutdown event handler that looks up the UserTransaction and performs a clean-up operation. If the application is undeployed, all works as expected, but EAP is shut down (gracefully), the lookup fails.
It looks like EAP is stopping the subsystems before firing the CDI event.
Version-Release number of selected component (if applicable):
6.2.4
How reproducible:
The issue is reproducible with the reproducer attached to Red Hat support case 01487736.
Steps to Reproduce:
Comment #16 in the associated support case.
Actual results:
Lookup fails in BeforeShutdown handler because NamingStore is null.
Expected results:
NamingStory should not be null.
Additional info:
Comment 1Ger-Jan te Dorsthorst
2015-08-11 19:35:12 UTC