Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4373

WildFly CLI API ModelControllerClient deadlock?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 8.2.0.Final
    • IO, Management

      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.

        1. client.war
          4 kB
        2. sample.war
          4 kB
        3. threaddump.zip
          6 kB

              ropalka Richard Opalka
              wilddev_jira Georgy Go (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: