1
0
-1

I want to redirect to maintenance webpage during Joget shutdown and maintenance, how could I set in tomcat ?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Try https://stackoverflow.com/a/61111926 if you are using tomcat only and without RP/LB in front of tomcat.

      Your server.xml should include on your main host:

      <Host appBase="webapps" autoDeploy="false" name="localhost">
          <!-- ... your other configs ... -->
          <Valve className="org.apache.catalina.valves.ErrorReportValve" errorCode.404="<path to your html, may be relative to $CATALINA_HOME or absolute>"/>
      </Host>


        CommentAdd your comment...