[jboss-jira] [JBoss JIRA] (WFLY-4373) WildFly CLI API ModelControllerClient memory leak?

Georgy Go (JIRA) issues at jboss.org
Thu Feb 19 16:30:49 EST 2015


     [ https://issues.jboss.org/browse/WFLY-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Georgy Go updated WFLY-4373:
----------------------------
    Description: 
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");
client.execute(operation);
client.close();
- works fine, but .close() freezes forever.
This issue depends to not only redeploy, but also for any other operations.

  was:
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");
client.execute(operation);
client.close();
- works fine, but .close() freezes forever.
This issue depends to not only redeploy, but also for any other operations.



> 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");
> client.execute(operation);
> client.close();
> - works fine, but .close() freezes forever.
> This issue depends to not only redeploy, but also for any other operations.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list