5 Replies Latest reply on Sep 8, 2008 8:24 AM by Andreas Heizenreder

    ClassCastException while concurrent accessing EJBs and class

    Andreas Heizenreder Newbie

      Hello all,

      i have following problem: the application i am working on have two components which use concurrently a third component by invoking its EJBs. It is possible, that this three components can use internal different class versions. And for this the class loader isolation was enabled by deploying components.

      For performance issues was the third component deployed later on an other JBoss instance on an other hardware server. By this constellation a ClassCastException is throwing.

      This Problem was tested on JBoss 4.0.5 and JBoss 4.2.2 and on both cames ClassCastException by destributed deployment of this three components.

      Does somebody knows this Problem? Is there a work around for this?
      I can provide a test case, which reproduce the problem by one click.