0 Replies Latest reply on Sep 24, 2003 8:31 AM by hergaty

    Different Classloaders after redeploy

    hergaty

      Hi,

      my problem is that after a redeploy there are different classloaders for the same class which causes a ClassCastException.

      The Classloaders are named like this:
      org.jboss.mx.loading.UnifiedClassLoader3@2479a4{ url=file:/home/louis/develop/sportbet-jboss/server/default/tmp/deploy/sportbet/dist/ebet-server.jar/19.ebet-server.jar ,addedOrder=18}

      The problem only occurs if one JBoss communicates to another JBoss and not if a client communicates to a JBoss.

      Is it possible to destroy those "old" classloaders? Can I perhaps remove references to these Classloaders or set the reference to the new Classloader?

      How could it be, that it is impossible for me to do calls from one JBoss to another after redeploy?

      Thanks for any advice,
      Thomas