With the management API creation of a MBeanServerConnection,
aconn = new AppserverConnectionSource(host, port, user, pass, null);
mconn = aconn.getMBeanServerConnection();
creates a new thread each time. If this in a loop it quickly results in an outofmemory error.
How can the MBeanServerConnection be closed, there doesn’t appear to be an appropriate method?
Regards,
Rupert
[Message sent by forum member 'ruperty']
http://forums.java.net/jive/thread.jspa?messageID=483243