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

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: