this doc: https://docs.jboss.org/weld/reference/latest/en-US/html/ri-spi.html however talks about two listeners
"If you are integrating Weld into a Servlet environment you must register org.jboss.weld.servlet.WeldInitialListener and org.jboss.weld.servlet.WeldTerminalListener as Servlet listeners, either automatically, or through user configuration, for each CDI application which uses Servlet."
org.jboss.weld.servlet.WeldInitialListener is actually used by org.jboss.weld.environment.servlet.Listener, but org.jboss.weld.servlet.WeldTerminalListener doesnt seem to be active for me
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: http://www.atlassian.com/software/jira
it happens on the end of the request which contained a call to session.invalidate().
Perhaps also noteworthy is that i am only adding the servlet listener org.jboss.weld.environment.servlet.Listener as described here:
http://docs.jboss.org/weld/reference/latest/en-US/html/environments.html
this doc: https://docs.jboss.org/weld/reference/latest/en-US/html/ri-spi.html however talks about two listeners
"If you are integrating Weld into a Servlet environment you must register org.jboss.weld.servlet.WeldInitialListener and org.jboss.weld.servlet.WeldTerminalListener as Servlet listeners, either automatically, or through user configuration, for each CDI application which uses Servlet."
org.jboss.weld.servlet.WeldInitialListener is actually used by org.jboss.weld.environment.servlet.Listener, but org.jboss.weld.servlet.WeldTerminalListener doesnt seem to be active for me