Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-540

Suspending server has no effect for application defined as welcome content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.DR9
    • 7.0.0.DR7, 7.0.0.DR8
    • Undertow
    • None
    • Hide

      start EAP server
      via CLI operation suspend the server :suspend(0)
      try accessing the root web app curl -I http://localhost:8080

      it returns 200 status code instead of being rejected and returning 503

      Show
      start EAP server via CLI operation suspend the server :suspend(0) try accessing the root web app curl -I http://localhost:8080 it returns 200 status code instead of being rejected and returning 503

      Suspending the server works only on deployed deployments but it doesn't work for application set for welcome content (=> welcome-content application defined via welcome-content file handler /subsystem=undertow/configuration=handler/file=welcome-content)

      => after executing :suspend operation, requests to deployment are rejected as expected, still requests to http://localhost:8080 are permitted and processed.

            sdouglas1@redhat.com Stuart Douglas
            rhatlapa@redhat.com Radim Hatlapatka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: