Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3163

Handling of cancellation of ModelController operations is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.0.Final
    • 7.1.0.CR1
    • Domain Management
    • None
    • Hide

      Deploy an artifact that takes longer than the timeout specified by any deployment scanner in standalone.xml then deploy any artifact to any deployment scanner.

      Show
      Deploy an artifact that takes longer than the timeout specified by any deployment scanner in standalone.xml then deploy any artifact to any deployment scanner.

    Description

      When deploying via the the FS deployment scanner a timeout causes all subsequent deployments to fail with further timeout failures.

      The problem appears to be that FileSystemDeploymentService submits the DeployTask for timed execution it acquires a lock it's copy of ContainerStateMonitor (via OperationContextImpl.acquireContainerMonitor()). When a timeout exception is throw by the first failure this lock is never cleaned up which results in all further deployment jobs to hang on ContainerStateMonitor.await (line 161).

      Restarting the server clears the monitor and allows the scanner to be reused as normal.

      Attachments

        1. mbeans.txt
          72 kB
        2. stacktrace.txt
          30 kB

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            brent.n.douglas@gmail.com Brent Douglas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: