]
Jason Greene updated WFLY-1745:
-------------------------------
Fix Version/s: 8.0.0.CR1
(was: 8.0.0.Beta1)
WeldServices may get into inconsistent state
--------------------------------------------
Key: WFLY-1745
URL:
https://issues.jboss.org/browse/WFLY-1745
Project: WildFly
Issue Type: Bug
Components: CDI / Weld
Affects Versions: 8.0.0.Alpha3
Reporter: Jozef Hartinger
Assignee: Jozef Hartinger
Fix For: 8.0.0.CR1
WeldBootstrapService performs an initial bootstrap of the Weld container and also
performs Weld shutdown when the service is stopping.
WeldStartService finishes initialization of Weld container and performs nothing on stop()
(WeldBootstrapService is expected to shut down Weld).
WeldStartService has a dependency on WeldBootstrapService.
This works fine 99% of the time. However, if a dependency of WeldStartService is
restarted (e.g. due to management operation), WeldStartService as its parent is also
restarted but WeldBootstrapService is not.
As a result, WeldStartService expects to find Weld container in an early initialization
phase and wants to finish initialization. However, since WeldBootstrapService was not
restarted, the Weld container is still in the initialized state and deployment fails when
WSS tries to finish initialization again.
To reproduce modify EjbRemoveUnitTestCase for test-session-remove.jar to contain empty
beans.xml file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: