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

WildFly CLI API ModelControllerClient deadlock?

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8.2.0.Final
    • Fix Version/s: None
    • Component/s: IO, Management
    • Labels:

      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");
      cl.execute(operation);
      cl.close();

      • works fine, but .close() freezes forever.
        This issue depends to not only redeploy, but also for any other operations.

        Gliffy Diagrams

          Attachments

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

            Activity

              People

              • Assignee:
                ropalka Richard Opalka
                Reporter:
                wilddev Georgy Go
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: