Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1761

allow to take a thread dump if a resource takes more than X to be destroyed

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: None
    • Labels:
      None

      Description

      1. just give up after X time
        openejb.resources.destroy.timeout = 3 seconds
      2. do the dump
        openejb.resources.destroy.stack-on-timeout = true

      by default both are ignored.

      Side note: this is not a by resource config but more a global protection. We can add such properties to each resources later if needed.

        Attachments

          Activity

            People

            • Assignee:
              romain.manni-bucau Romain Manni-Bucau
              Reporter:
              romain.manni-bucau Romain Manni-Bucau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: