Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3033

Fuse Returns HTTP Return Code of 200 (OK) For Bogus Context Paths

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.1
    • None
    • None
    • % %

      When sending the Fuse container a HTTP request with a bogus context-path, the container's embedded web server returns a 200 (OK) return code; it should instead return a 404 (Not Found).

      In those cases where, for whatever reason, a WAR file fails to deploy (e.g., stuck in the deploying state), getting back a 200, when trying to access the web application, leads to a false-postiive, of sorts, and complicates the troubleshooting process.

      The culprit is the redirect servlet, which when you turn off, results in the expected behavior. However, doing so also breaks the Fuse Management Console.

      JBossFuse:karaf@root> la | grep -i redirect
      [ 103] [Active ] [ ] [ ] [ 60] Fabric8 :: Redirect (1.0.0.redhat-379)
      JBossFuse:karaf@root>

              ggrzybek Grzegorz Grzybek
              Argo_Integration Travis North (Inactive)
              Viliam Kasala Viliam Kasala
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: