[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 (Updated) (JIRA) jira-events at lists.jboss.org
Thu Oct 20 20:25:45 EDT 2011


     [ https://issues.jboss.org/browse/ARQ-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow updated ARQ-632:
-----------------------------

    Workaround Description: Brian came up with a workaround for AS7 (https://github.com/bstansberry/jboss-as/commit/a3dc2b2730c6c0aedf36257470d0ea8281802088) that seems to help.
                Workaround: Workaround Exists
           Forum Reference: http://community.jboss.org/thread/173853  (was: http://community.jboss.org/thread/173853)

    
> 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
>            Priority: Critical
>             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 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.

--
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