I am gettting ClassCastException on javax.rmi.PortableObject.narrow(..) after a component is redeployed. The other component which were using this component (all components are deployed as separate components and not as a .ear file) throw a ClassCastException once the component has been redeployed.
Is it because of some EJBHome reference caching done by JBoss to avoid the costly jndi lookup process?
If yes, then how can I refresh this cache.
Thanks,
Dikshit.