Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-632

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.0.0.Final
    • 1.0.0.CR5
    • None
    • None

    Description

      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 fix this, I think we need to keep the JMXConnector returned from calling JMXConnectorFactory.connect() until we are done with the MBeanServerConnection and call JMXConnector.close() then.

      Attachments

        Activity

          People

            tommysdk Tommy Tynjä (Inactive)
            smarlow1@redhat.com Scott Marlow
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: