jason, sacha or dain

i need a test case, and in fact it should be in test cvs

have 20 classes (from Class1 to Class20) with impossible links to each other
like

class1->2, 4, 5 ,8
class8-> loops back to one, 4, 9 etc


and then 20 threads that each loads a class, if you can package in different
packages for several tests

our class loaders are the most advanced in the industry and I want to make
sure we take care of all cases,

marcf

PS: be careful last time I chased a CCE error, it would show up under SUN as
cce and when I switched to IBM it was something else which made sense and I
then fixed (back this summer). A test case would really be great.


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Sacha
|Labourey
|Sent: Wednesday, May 15, 2002 12:12 AM
|To: Jason Dillon; Sacha Labourey; [EMAIL PROTECTED]; [EMAIL PROTECTED]
|Cc: [EMAIL PROTECTED]
|Subject: RE: [JBoss-dev] HEAD & ClassCircularityError
|
|
|well, well, well... (what was the JVM BTW?)
|
|Houston, we have a problem.
|
|As I told Marc, maybe we have a problem with our classloader in
|multithreaded situations when two threads are trying to load the same class
|at the same time and it is not yet cached. If both of these
|classes have the
|same mother class (or some equivalent scenario), then the JVM may complain
|about it. I have not yet found time to do test code for this.
|
|Jason, do you know if this occurs with the Blackdown JVM? If it does, we
|could then take a look at the code of the JVM (or ask the
|Blackdown guys for
|some hints)
|
|Cheers,
|
|
|                       Sacha
|
|
|> -----Message d'origine-----
|> De : Jason Dillon [mailto:[EMAIL PROTECTED]]
|> Envoyé : mercredi, 15 mai 2002 02:24
|> À : Sacha Labourey; [EMAIL PROTECTED]; [EMAIL PROTECTED]
|> Cc : [EMAIL PROTECTED]
|> Objet : Re: [JBoss-dev] HEAD & ClassCircularityError
|>
|>
|> And now these, after I recompiled everything from scratch:
|>
|> <snip>
|> 2002-05-14 17:22:52,321 ERROR [org.jboss.ejb.plugins.LogInterceptor]
|> TransactionRolledbackException, causedBy:
|> java.lang.ClassCircularityError: sun/reflect/MethodAccessorImpl
|>      at sun.misc.Unsafe.defineClass(Native Method)
|>      at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
|>      at
|> sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.
|> java:381)
|>      at java.security.AccessController.doPrivileged(Native Method)
|>      at
|> sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerat
|> or.java:377)
|>      at
|> sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorG
|> enerator.java:59)
|>      at
|> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
|> pl.java:28)
|>      at
|> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
|> cessorImpl.java:25)
|>      at java.lang.reflect.Method.invoke(Method.java:324)
|>      at
|> org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(M
|> essageDrivenContainer.java:394)
|>      at
|> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.i
|> nvoke(CachedConnectionInterceptor.java:147)
|>      at
|> org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Mess
|> ageDrivenInstanceInterceptor.java:88)
|>      at
|> org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxI
|> nterceptor.java:87)
|>      at
|> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInter
|> ceptorCMT.java:165)
|>      at
|
|
|_______________________________________________________________
|
|Have big pipes? SourceForge.net is looking for download mirrors. We supply
|the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to