]
Darran Lofthouse updated WFLY-4373:
-----------------------------------
Summary: WildFly CLI API ModelControllerClient deadlock? (was: WildFly CLI API
ModelControllerClient memory leak?)
WildFly CLI API ModelControllerClient deadlock?
-----------------------------------------------
Key: WFLY-4373
URL:
https://issues.jboss.org/browse/WFLY-4373
Project: WildFly
Issue Type: Bug
Components: Domain Management, 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: Tomaz Cerar
Labels: cli, dmr
Attachments: threaddump.zip
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.