|
From: vickyk <do-...@jb...> - 2006-07-06 14:11:46
|
anonymous wrote : | Consider two deployment units: A and B, where B depends on A. B holds references to classes from A. Now A gets redeployed -> A2. You'll notice, that B is invalid, cause it still references instances of old A's classloader. You're getting ClassCastExceptions. B has to be redeployed -> B2. B2 will create new instances of A2's new classes. | This looks an interesting case, you have the classes in B holding the reference from A . I am not sure if this needs to be considered for fix, as you have a workaround for this. Regards Vicky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955858#3955858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955858 |