"adrian(a)jboss.org" wrote :
| I can see two possible fixes:
|
| 1) Have a seperate toRedeploy list you can snapshot where
"processUndeploy()"
| adds those to the "toUndeploy" snapshot and creates an entry in the real
"toDeploy" list.
|
| 2) Don't move a "toDeploy' request into the snapshot while it exists in
the
| real "toUndeploy" list.
However, I guess those also contain potential race conditions.
The main issue being that the snapshoting of toDeploy and toUndeploy are not
in an atomic block together.
So a more complete fix would be to have just one list of "deployment actions"
that you can snapshot and then sort those actions such that the undeploys come first
in the snapshot list.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211804#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...