in src/main/java/org/apache/openejb/cts/deploy/DeployTestUtil.java [905:921]
public OperationStatus distributeModuleStreams(Target[] targets,
InputStream moduleArchive, InputStream deploymentPlan) throws Exception {
ProgressObject progress = null;
try {
progress = getDeploymentManager().distribute(targets, moduleArchive,
deploymentPlan);
} catch (Exception e) {
e.printStackTrace();
if (progress.isCancelSupported()) {
progress.cancel();
}
throw e;
}
OperationStatus result = commandStatus(targets, progress);
delay();
return result;
}