After deploying a bundle to a resource, we should run a discovery on that resource to see if the bundle deployment created new servers or services. We need to be careful about the timings - immediately after a bundle deployment, the new resource may not be available yet (for example, if you deploy a war, you need to wait for the JBossAS server's URL scanner to wake up and find the war and deploy it. This could take several seconds to several minutes.
*** This bug has been marked as a duplicate of bug 970784 ***