This content has been marked as final. Show 1 reply
I have tried hot deploying just the archive I modify and JBoss prints out that it has successfully deployed the archive but when I run my unit tests I immediately get a java.lang.ClassCastException on all my constructors.
This is expected. The easiest solution for you is to build an EAR (single package) that contains your two WARs and two EJB jars, and redeploy the entire EAR package at once.