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

OpenShift Image contains /manager webapp and jmxproxy health checks [remove the manager webapp]

XMLWordPrintable

      The health check performed in jbosswebserver_controller.go#L350 uses a curl call to the manager's JMXProxyServlet:

      $ curl --noproxy '*' -s -u ${JWS_ADMIN_USERNAME}:${JWS_ADMIN_PASSWORD} 'http://localhost:8080/manager/jmxproxy/?get=Catalina%3Atype%3DServer&att=stateName' |grep -iq 'stateName *= *STARTED'"
      

      There are no users defined in tomcat-users.xml, so only 401 will be returned by this call. We should instead remove the manager webapp and use the HealthCheckValve instead.

              szappis@redhat.com Sokratis Zappis
              rhn-engineering-jclere Jean-Frederic Clere
              Adam Krajcik Adam Krajcik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: