CC-831: Dashboard build detail page is creating many JMX server threads

Dan Rollo <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Regarding CC-831:

http://jira.public.thoughtworks.org/browse/CC-831

I recently added a patch. It attempts to hold a reference the 
JMXConnector and to close it when finished with the 
MBeanServerConnection call. However, I had trouble updating the jmock 
unit tests (see @todo comments) and I haven't fully tested if this 
change fixes the jmx connection leak. So...

1. Could someone apply this patch on their system and test to see if it 
fixes the Dashboard/jmx leak?

2. Could someone also help me figure out how to restore the two unit 
tests/fix the jmock issues?

If this patch helps, I hope it will solve a number of other 
Dashboard/Out Of Memory issues.


Thanks,
Dan


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.