Hi Svetlin, we set the first and last listeners so it looks right.
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-08-04 15:08 GMT+02:00 Svetlin Zarev <[email protected]>: > Hi, > > 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; > > Kind regards, > Svetlin >
