Can you file a JIRA please?
On 4/11/11 9:02 AM, André Dietisheim wrote:
Hi
I actually try to get the result of a deployment and unfortunately fail
so far.
I proceed in the following manner:
I add an deployment, get the action that was created for it, and then
try to retrieve the result of this action:
...
ServerDeploymentManager manager =
ServerDeploymentManager.Factory.create(client);
InitialDeploymentPlanBuilder builder = manager.newDeploymentPlan();
builder = builder.add(file.getName(), file).addDeploy();
DeploymentAction action = builder.getLastAction();
DeploymentPlan plan = builder.build();
Future<ServerDeploymentPlanResult> planResult = manager.execute(plan);
ServerDeploymentPlanResult result = resultFuture.get(timeout,
TimeUnit.MILLISECONDS);
ServerDeploymentActionResult actionResult =
result.getDeploymentActionResult(action.getId());
....
Unfortunately actionResult is always null.
Stepping through the code did not help a lot so far: The result of the
server deployment plan seems always to hold an empty map of
actionResults (DeploymentPlanResultImpl#actionResults).
What do I miss? I'd appreciate a lot some pointers here.
Thanks
André
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat