操作方法
有时,用户希望自定义从 ArcGIS Web Adaptor 返回的错误消息。 例如,假设用户想要修改他们在 Portal for ArcGIS 服务停止时收到的以下错误消息:
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
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序