]
Georgy Go edited comment on WFLY-4373 at 3/6/15 10:44 AM:
----------------------------------------------------------
No, because .close() in 80% of cases won't allow the program to run further.
And there's no exceptions
was (Author: wilddev):
No, because .close() in 80% of cases won't allow program to run further.
And there's not exceptions
WildFly CLI API ModelControllerClient memory leak?
--------------------------------------------------
Key: WFLY-4373
URL:
https://issues.jboss.org/browse/WFLY-4373
Project: WildFly
Issue Type: Bug
Components: CLI, IO
Affects Versions: 8.2.0.Final
Environment: Ubuntu 14.04 LTS, Java 1.8, xnio-api and xnio-nio are 3.3.0.Final
Reporter: Georgy Go
Assignee: Alexey Loubyansky
Labels: cli, dmr
The following snippet of code to redeploy an application:
ModelControllerClient cl = ModelControllerClient.Factory.create("localhost",
9999);
ModelNode operation = new ModelNode();
operation.get("operation").set("redeploy");
operation.get("address").add("deployment", "server.war");
cl.execute(operation);
cl.close();
- works fine, but .close() freezes forever.
This issue depends to not only redeploy, but also for any other operations.