Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4346 Upgrade jboss remoting to 2.2.0.SP2
  3. JBAS-4359

Fix the org.jboss.test.classloader.leak.test.ClassloaderLeakUnitTestCase

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Blocker Blocker
    • JBossAS-4.2.0.GA
    • None
    • Test Suite
    • None

      Brian, did the initial analysis for the failure:

      "The classloader leak test timing out is basically due to a failure; different tests in the class are all encountering the same leak and taking time trying to force a release, so it times out.

      The failure is on a remote ejb2 sfsb invocation. Not sure, but think it's related to the Remoting upgrade.

      I've attached a JBoss Profiler report showing refs to the leaked classloader. This one's long and complicated, but I think the relevant stuff is right at the start. The MarshalledInvocation seems to be leaking to the input stream and from there into a thread pool.

      I switched my build back to Remoting 2.0.0 and the test passed."

        1. JavaSerializationManager.java
          5 kB
          Clebert Suconic
        2. ObjectInputStreamWithClassLoader.java
          9 kB
          Clebert Suconic
        3. RawTestCase.output
          8 kB
          Ronald Sigal

              rsigal@redhat.com Ronald Sigal
              dandread1@redhat.com Dimitrios Andreadis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: