Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6411

Deploying and undeploying default web application with welcome root results in 404 (instead of returning content defined by welcome-content handler)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Optional
    • 11.0.0.Alpha1
    • 10.0.0.Final
    • Web (Undertow)
    • None

    Description

      • When I install EAP and access http://localhost:8080/ welcome page is returned. - OK
      • When I deploy my custom web application with the app defined for root context => in jboss-web.xml there is defined <context-root>/</context-root>, after accessing http://localhost:8080/ the content of my application is returned. - OK
      • When I undeploy the previously custom application used as default welcome page and try to access http://localhost:8080/, the 404 is returned (I would expect 200 is returned with the original welcome page defined by the welcome-file handler.

      Note: Reloading the server configuration makes the original welcome page again accessible.

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: