0 Replies Latest reply on Nov 17, 2002 12:57 AM by Oliver George

    junit ClassCastException after redeploying

    Oliver George Newbie

      JUnit seems to struggle against JBoss, it will only work when jboss is freshly started (ie. will fail if you redeploy).

      JBossCMP/cmp-example is a good example

      1. ant deploy
      2. restart jboss
      3. ant setup test teardown (works fine)
      4. ant undeploy deploy
      5. ant setup test teardown (FAILS WITH ClassCastException)

      can anyone help me with this, it's becoming a real pest.

      cheers, Oliver.