Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-1799

Create JBM sessions from a daemon thread

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.1 CP3
    • Fix Version/s: 4.2.1 CP3
    • Component/s: Rosetta
    • Labels:
      None

      Description

      JBM can create non-daemon background threads for handling sessions if the caller is not a daemon thread. These threads prevent the VM from exiting as our pooling code will not execute the session.close method until the shutdown hook is fired.

      We must workaround this by creating all JBM sessions on a daemon background thread.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kconner Kevin Conner
                  Reporter:
                  kconner Kevin Conner
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: