HOW TO
Sometimes, users would like to customize an error message returned from the ArcGIS Web Adaptor. For example, let's say that the user wants to modify the following error message that they get when the Portal for ArcGIS service is stopped:
Could not access any ArcGIS Enterprise portal machines. Please contact your system administrator.
Note:
This article only applies to versions older than 11.x.
Note: If using a language other than English, make a backup of the appropriate file. For example, if using French, use the file "webAdaptor.fr.resx", and then open it in Notepad.
<value>Could not access any ArcGIS Enterprise portal machines. Please contact your system administrator.</value>
<value>ArcGIS Enterprise portal is currently under maintenance. We apologize for the inconvenience.</value>
cd /data/tomcat/webapps/<webadaptorname>/WEB_INF/classes/res
nano messages.properties
Note: If using a language other than English, make a backup of the appropriate file. For example, if using French, use the "messages_fr.properties" file.
portal_cannot_proxy=Could not access any ArcGIS Enterprise portal machines. Please contact your system administrator.
portal_cannot_proxy=ArcGIS Enterprise portal is currently under maintenance. We apologize for the inconvenience.
systemctl restart tomcat
Get help from ArcGIS experts
Download the Esri Support App