PROCÉDURE
Parfois, les utilisateurs souhaitent personnaliser un message d’erreur renvoyé par ArcGIS Web Adaptor. Par exemple, supposons que l’utilisateur souhaite modifier le message d’erreur suivant qu’il reçoit lorsque le service Portal for ArcGIS est arrêté :
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
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support