[jboss-jira] [JBoss JIRA] (WFLY-6691) Cache container enable statistics can lead to classloader leak

Paul Ferraro (JIRA) issues at jboss.org
Thu Jun 9 09:14:00 EDT 2016


Paul Ferraro created WFLY-6691:
----------------------------------

             Summary: Cache container enable statistics can lead to classloader leak
                 Key: WFLY-6691
                 URL: https://issues.jboss.org/browse/WFLY-6691
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 10.0.0.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
             Fix For: 10.1.0.Final


In standalone.xml, if we enable statistics such as:
{code}
            <cache-container name="web" default-cache="repl" module="org.wildfly.clustering.web.infinispan" statistics-enabled="true">
                <transport lock-timeout="60000"/>
                <replicated-cache name="repl" statistics-enabled="true" mode="ASYNC">
                    <locking isolation="READ_COMMITTED"/>
                    <transaction locking="OPTIMISTIC" mode="BATCH"/>
                    <state-transfer chunk-size="512" timeout="240000"/>
                </replicated-cache>
            </cache-container>
{code}

The following MBean:
{code}
jboss.infinispan:cluster=web,type=channel
{code}
is getting eventually registered when deploying any application.

When undeploying that application, the MBean is not getting unregistered and thus can leak pretty much anything.

Also, if you try to deploy the very same application right after another MBean will get registered:
{code}
jboss.infinispan2:cluster=web,type=channel
{code}

Note: cache enable-statistics=true doesn't seems to leak anything.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list