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

Investigate threading semantics in ApplicationClientDeploymentService

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Application Client
    • None
    • ---
    • ---

      ApplicationClientDeploymentService creates a one-off thread in start(). Think about whether we should improve this:

      1) WFLY-17945 injects the server management executor into the service, so it could be used instead of the custom thread.

      2) Should it use StartContext.asynchronous()? (No – that would cause the server to hang as the service is added by mgmt op #1 and the task executes mgmt op #2. Op #2 will block until #1 completes, and #1 won't complete if MSC is waiting for the task to complete.)

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: