以爲你們都知道之ArcGIS點滴(III)—— ArcGIS Web Adaptor 配置信息存儲

在安裝ArcGIS Enterprise的時候,我們往往需要對ArcGIS for Server和Portal for ArcGIS配置Web Adaptor。那麼這些配置信息會存儲在哪裏呢?特殊場景下,如何手動刪除這些配置信息呢?本篇將針對這一問題展開說明。

Windows環境

Web Adaptor for IIS

對於 IIS版的Web Adaptor,其配置信息存放位置如下:
C:\inetpub\wwwroot\【web adaptor應用程序名字】\WebAdaptor.config
以我本機環境爲例:
C:\inetpub\wwwroot\arcgis\WebAdaptor.config中記錄的是Portal for ArcGIS上配置的Web Adaptor的配置信息;
C:\inetpub\wwwroot\server\WebAdaptor.config中記錄的是ArcGIS for Server上配置的Web Adaptor的配置信息;

Web Adaptor for Java

10.4.x及之前版本

在10.5版本之前,Windows上Java版的Web Adaptor的配置信息的存放位置相當隱蔽。具體位置如下:
C:\Windows\System32\config\systemprofile.webadaptor\【web adaptor應用程序名字】\webadaptor.config
以我的測試環境爲例:
C:\Windows\System32\config\systemprofile.webadaptor\arcgis\webadaptor.config

10.5.x及之後版本

從10.5版本開始,這一配置信息和Linux環境實現了統一,位於啓動tomcat的用戶的家目錄下。
以小編的測試環境爲例,我以Administrator用戶登錄、啓動tomcat並進行了Web Adaptor的配置,那麼這一文件就位於Administrator賬戶下:
C:\Users\Administrator.webadaptor\arcgis\webdaptor.config

Linux環境

Web Adaptor for Java

在Linux環境下,由於tomcat在80端口下運行時默認必須以root賬戶啓動,因此這一配置信息位於root的家目錄的隱藏文件夾.webadaptor中。
以小編的測試環境爲例,Web Adaptor的配置信息位於如下位置:
/root/.webadaptor/arcgis/webdaptor.config
/root/.webadaptor/server/webdaptor.config

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章