[ 
https://issues.apache.org/jira/browse/TOMEE-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525146#comment-14525146
 ] 

Mark Struberg commented on TOMEE-1571:
--------------------------------------

After the rework in OWB we do not have any information about Servlet backed 
Sessions in the CDI container anymore. We just have the thread local 'dummy 
sessions' for non-servlet requests which we clean up.
The 'real ' sessions have to get properly cleaned up by the servlet container - 
which openejb-httpd does _not_ atm. 

> cdi-embedded TCK integration does not properly shut down Sessions
> -----------------------------------------------------------------
>
>                 Key: TOMEE-1571
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1571
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Mark Struberg
>
> This issues happens when running our cdi-embedded TCK. 
> In this mode the arquillian adaptor doesn't use tomcat but fires up 
> OpenEJBHttpServer. But during undeploy this server doesn't get used but 
> instead just the OpenWebBeans lifecycle in the WebBeansContext gets shut 
> down. 
> Due to this the Sessions don't get cleaned up properly. That makes us not 
> only leak memory but also miss a few CDI events which are tested in our TCK.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to