Once you've redeployed, you have a new class loader, so while the classes may
look the same (com.example.MyObject) they are actually distinct as far as the
JVM is concerned.
I don't have an easy fix ... clearing the cache explicitly when your app starts might
work in some cases.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990293#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...