[arquillian-issues] [JBoss JIRA] (ARQ-632) org.jboss.arquillian.container.spi.client.protocol.metadata.JMXContext should close the JMXConnector when use of MBeanServerConnection is complete

Scott Marlow (Created) (JIRA) jira-events at lists.jboss.org
Wed Oct 19 19:19:45 EDT 2011


org.jboss.arquillian.container.spi.client.protocol.metadata.JMXContext should close the JMXConnector when use of MBeanServerConnection is complete
--------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: ARQ-632
                 URL: https://issues.jboss.org/browse/ARQ-632
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 1.0.0.CR5
            Reporter: Scott Marlow
             Fix For: 1.0.0.Final


The AS7 testsuite started experiencing "JMX server connection timeout 552" threads accumulating during the AS7 testsuite run.  If the testsuite runs fast enough, this seems to cause "OutOfMemoryError: unable to create new native thread" errors near the end of the testsuite run.  

This doesn't recreate for everyone but it does for me.

To accomplish this, I think we need to keep the JMXConnector returned from calling JMXConnectorFactory.connect() until we are done with the MBeanServerConnection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list