I think, redeploying everything that references the redeployed beans is only way.

Rod Macpherson wrote:

We use loose EJB jars during development rather than an EAR file so we can hot-deploy specific pieces. Unfortunately a session bean hot-deploy causes a class-cast exception the next time that bean is used.
This fails if and only if you hot-deploy the session bean that is being looked up. A proxy comes back in both cases but the cast fails after a redeploy. This prevents us from hot deploying session beans. Not good.
MyHome home = (MyHome)context.lookup("acme.widget.foo.bar.bean");
Suggestions?
TIA,
Rod




-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to