Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
7.0.1, 7.0.2
-
None
Description
The TomcatWebAppBuilder overwrites the last added event listener.
Line 1764 (on branch/tag 7.0.1):
System.arraycopy(appEventListeners, 0, newEventListeners, 1,
appEventListeners.length);
newEventListeners[newEventListeners.length - 1] = endWebBeansListener;
It should be:
System.arraycopy(appEventListeners, 0, newEventListeners, 0,
appEventListeners.length);
newEventListeners[newEventListeners.length - 1] = endWebBeansListener;