Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-1828

o.a.c.valves.HealthCheckValve returns 404 incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.4.0.CR2
    • 5.4.0.CR1
    • cloud, tomcat
    • None

      The valve returns 404 and no status information when the URL doesn't correspond to something existing in tomcat.

      Here are a few examples:

      $ curl -is http://localhost:8080/health | head -n1
      HTTP/1.1 404 
      $ curl -is http://localhost:8080/manager/health | head -n1
      HTTP/1.1 200
      $ curl -is http://localhost:8080/manager/test/health | head -n1
      HTTP/1.1 404
      

      This has been fixed upstream in 9609da1.

              rhn-support-csutherl Coty Sutherland
              rhn-engineering-jclere Jean-Frederic Clere
              Adam Krajcik Adam Krajcik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: