[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3070) Tomcat not cleaning up HttpSessions after a single FeedServlet request
Christian Bauer (JIRA)
jira-events at lists.jboss.org
Wed Jun 4 11:30:20 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-3070?page=comments#action_12415595 ]
Christian Bauer commented on JBSEAM-3070:
-----------------------------------------
The problem disappears (or it seems to disappear) after I removed <web:context-filter/> from components.xml and wrap the request as follows in the servlets:
protected void doGet(final HttpServletRequest request, final HttpServletResponse response)
throws ServletException, IOException {
new ContextualHttpServletRequest(request) {
@Override
public void process() throws Exception {
doWork(request, response);
}
}.run();
}
> Tomcat not cleaning up HttpSessions after a single FeedServlet request
> ----------------------------------------------------------------------
>
> Key: JBSEAM-3070
> URL: http://jira.jboss.com/jira/browse/JBSEAM-3070
> Project: Seam
> Issue Type: Bug
> Components: Wiki
> Reporter: Christian Bauer
> Assigned To: Christian Bauer
> Priority: Critical
>
> Only reproducible in production: The number of HttpSessions is growing over several days. I wrote a listener and it shows the following pattern:
> <User> <Action> <Creation timestamp> <Last access timestamp> <Idle> <Expired since>
> Guest Feed: 1 04. Jun 2008, 16:01:46 04. Jun 2008, 16:01:46 00:13:49 00:03:49 (EXPIRED!) 5 KiB
> Guest Feed: 1 04. Jun 2008, 15:59:56 04. Jun 2008, 15:59:56 00:15:39 00:05:39 (EXPIRED!) 5 KiB
> Guest Feed: 1450 04. Jun 2008, 16:03:31 04. Jun 2008, 16:03:31 00:12:04 00:02:04 (EXPIRED!) 5 KiB
> The EXPIRED! sessions are alive past their maxInactiveInterval (see the time next to it). Tomcat does not clean them up and I don't know why. The only recognizable pattern is that they are all from the FeedServlet, and a single request to that servlet. At this point I suspect that something in Seams ContextualRequest filter is wrong and influencing Tomcat negatively. Will keep this assigned to the wiki until the cause is clearer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list