I have a RA accessing an EJB remotely. On first deployment everything works fine, but when i redeploy the EJB, the RA always throws a ClassCastException when calling the Home factory.
Seems to be some weird classloading issue.
Also it's the same class bound to jndi, for some reason the ClassLoader rejects it.
Can someone help me out on this?
I already searched google for days, read the mailing list, the wiki, tried everything...
I am on JBoss 3.2.5
For the records:
Put everything into an ear, then both the RA and the EJB's will be redeployed at the same time.
This seems to solve my problems. Thanks to http://www.coredevelopers.net for their support and documentation.