[jboss-jira] [JBoss JIRA] (WFLY-4373) WildFly CLI API ModelControllerClient deadlock?
Richard Opalka (JIRA)
issues at jboss.org
Thu May 14 17:05:19 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068185#comment-13068185 ]
Richard Opalka commented on WFLY-4373:
--------------------------------------
I tested it on this configuration:
[blackhole][/home/ropalka]>uname -a
Linux blackhole 3.19.5-100.fc20.x86_64 #1 SMP Mon Apr 20 19:51:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[blackhole][/home/ropalka]>mvn -version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: /home/ropalka/java/maven/3.3.3
Java version: 1.8.0_45, vendor: Oracle Corporation
Java home: /home/ropalka/java/jdk/orcl/jdk1.8.0_45/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.19.5-100.fc20.x86_64", arch: "amd64", family: "unix"
> 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: client.war, sample.war, 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list