Instrução
Às vezes, os usuários gostariam de personalizar uma mensagem de erro retornada do ArcGIS Web Adaptor. Por exemplo, digamos que o usuário deseja modificar a seguinte mensagem de erro que ele recebe quando o serviço Portal for ArcGIS é interrompido:
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
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri