部署 Jar 檔案

若要部署 Jar 檔案,請執行下列動作:

  1. 從 Oracle Utilities Work and Asset Management V2.4.0.1.1 套件下載 Oracle Utilities Work and Asset Management V2.4.0.1.1 ESRI 整合元件。
  2. 將檔案複製到安裝 ArcGIS 的伺服器,然後將其解壓縮。
  3. 導覽至 /GPService/lib/spl-w1–2.4.0.1.1–gis.jar 檔案。

部署此 Jar 需要 ArcGIS Desktop (用來執行 Jar 並產生結果) 和 ArcGIS Server (用來將結果發布為地理處理服務)。請從下方的 ArcGIS Server 安裝位置擷取其他 Jar 檔案 jackson-annotations-x.x.x.jar、jackson-core- x.x.x.jar 及 jackson- databind- x.x.x.jar。

<ArcGIS Server 安裝路徑>\Server\framework\lib\shared

(範例:C:\Program Files\ArcGIS\Server\framework\lib\shared)

它可協助擷取器程式存取受保護的地圖/功能服務。

備註:如果使用 ArcGIS Server 10.9.1 和 ArcGIS Desktop 10.8.2,請下載包含在為「錯誤 35212608」提供之修正程式中的 GIS JAR 檔案,然後使用該 JAR 檔案而非 WAM 2.4.0.1.1.1 套件隨附的檔案。此外,請勿放置上述的 "jackson-annotations-x.x.jar"、"jackson-core- x.x.x.jar" 及 "jackson- databind- x.x.x.jar" 其他 Jar 檔案。
這些 Jar 檔案應放在下列 ArcGIS Desktop 和 ArcGIS Server 執行位置:
  • ArcGIS Desktop 安裝資料夾路徑
    • 範例:C:\Program Files (x86)\ArcGIS\Desktop10.8\java\lib\ext

  • ArcGIS Server 安裝資料夾路徑
    • 範例:C:\Program Files\ArcGIS\Server\usr\lib\ext