Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-528

ServerService and ServerShutdownHandler are not embedded-friendly

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 1.0.0.Beta1
    • None
    • None
    • None

    Description

      ServerService and ServerShutdownHandler are both unfriendly to embedding as they call System.exit (in the case of ServerService only in the case of critical boot failures.)

      Simplest fix is to use SystemExiter and have the embedded server code swap in an approproite Exiter. Only thing I don't like about that is SystemExiter is base on static fields and seems to have been written for testing.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: