I think there will be a corner-case issue when AS boots up. At the end, it checks to see
what has not been fully deployed. If there are asynchronous deployments still being
processed when the main AS thread finishes the boot, they will probably be picked up as
not deployed.
The AbstractController internally marks which contexts are currently being processed
asynchronously, so we should probably expose a check in the spi
| boolean processingAsynchronousContexts()
|
and at the end of the bootstrap do something like:
| //Main bootstrap code...
|
| if (controller instanceof AsynchController){
| while (controller.processingAsynchronousContexts()){
| Thread.sleep(100);
| }
| }
|
| //Report uninstalled contexts
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241690#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...