Hi guys, I just browsed through this thread. Is the actual problem that the static variables foundContexts and singletonServerContext are not being cleaned up? If so we might want to reflect that in the JIRA title?
Mike Wilson added a comment - 07/Apr/11 2:14 AM Hi guys, I just browsed through this thread. Is the actual problem that the static variables foundContexts and singletonServerContext are not being cleaned up? If so we might want to reflect that in the JIRA title?
Yes, that is the actual problem. I cleaned up the issue. It may be as simple as resetting these in DefaultContainer but I haven't had time to look at it.
David Marginian added a comment - 07/Apr/11 4:28 AM Yes, that is the actual problem. I cleaned up the issue. It may be as simple as resetting these in DefaultContainer but I haven't had time to look at it.
David Marginian added a comment - 07/Apr/11 4:41 AM Maybe decrementing foundContexts (don't think we need to touch singlestonServerContext), it is private so we can't do it directly.
See:
http://dwr.2114559.n2.nabble.com/Is-there-a-way-to-manually-destroy-DwrServlet-tt6035391.html#a6153449
March 8 posts from me and Micky.