[jboss-dev-forums] [Design of EJB 3.0] - Re: Classloading problem in proxy factories

bstansberry@jboss.com do-not-reply at jboss.com
Mon Sep 8 14:57:36 EDT 2008


"ALRubinger" wrote : 
  | I also tried running the test on my Win32 partition using JBossProfiler, which can force a GC via its JMVTIInterface.  However, this resulted in lots of:
  | 
  | [JVMTIInterface] 4069000 references received
  | 
  | ...followed by OutOfMemoryErrors.
  | 

I guess there's a reason my writing those tests turned into my debugging all the leaks they found. Until you didn't run away from the tarbaby fast enough.  Not very easy; requires a fair bit of black art, like w/ AS 5 you have to increase the heap. :(


Anyway, re: the transient failures, one thing that's odd here is it's the same test that fails, but others don't in the same test class don't.  The other tests are basically doing the same things, it's just that the EJB they invoke upon is packaged differently (in an ear, in an ear with a scoped classloader, etc.)  But the way the remoting layer handles the calls should be identical between the tests. So why is testSimpleEjb the only one that fails?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175148#4175148

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175148



More information about the jboss-dev-forums mailing list