1
0
-1
1 answer
- 10-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>
Add your comment...
I want to redirect to maintenance webpage during Joget shutdown and maintenance, how could I set in tomcat ?