When I redeploy my EJB, I get class cast exceptions when looking up the
remote home objects.

Even though the home has not changed or been recompiled. 

I deploy with all my classes in a SAR (proxeno01.sar), and then deploy a
descriptor only EAR (proxeno02.ear).

I am re-deploying by first deleting the EAR, waiting 5 sec, then
deleting the SAR, wait 5 sec, and re-copy the sar/ear files.

I can see that all the undeploys finish with no problems before the
re-deploy happens.

And I can see the code changed because the services reflect new changes
on the re-deploy.  So it's not like the classes are left around.

It's almost like the proxy gets cached and the cached instance depends on 
the deployment directory (where we unpack all the ear/sar files) not to 
change or something like that.

I don't know enough about how the new deployment stuff works, so I don't
know where to look to find out whats wrong.


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to